wxhelper/src/export.asm
2023-06-26 18:23:47 +08:00

61 lines
1.6 KiB
NASM
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;#################################################################
.code
;#################################################################
;#################################################################
;检测wechat登录状态
;param: get_account_service_addr 函数地址
;#################################################################
_GetAccountService PROC,
get_account_service_addr:QWORD ; 函数地址
sub rsp,28h
call rcx
add rsp,28h
ret
_GetAccountService ENDP
;#################################################################
;获取wechat数据保存路径
;param: addr 函数地址
;return路径地址
;#################################################################
_GetDataSavePath PROC,
get_data_path_addr:QWORD, ; 函数地址
out_path:QWORD ; 输出
sub rsp,40h
mov rax,rcx
mov rcx,rdx
call rax
add rsp,40h
ret
_GetDataSavePath ENDP
;#################################################################
;获取wechat当前数据保存路径
;param: addr 函数地址
;return路径地址
;#################################################################
_GetCurrentDataPath PROC,
get_current_path_addr: QWORD, ; 函数地址
out_path: QWORD ; 输出
sub rsp,28h
mov rax,rcx
mov rcx,rdx
call rax
add rsp,28h
ret
_GetCurrentDataPath ENDP
END