joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446df0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.Start64HelperProcess_Enter
push 0x515488
call fcn.0048d710
add esp, 8
test esi, esi
jne 0x446e42
push str.Start64HelperProcess::lpstrDir__NULL
push 0x515488
call fcn.0048d710
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x218]
push str.QMProxyHelper64.exe
push esi
push 0x4ed424
push 0x104
push eax
call fcn.004448b0
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446eb4
lea eax, [ebp - 0x218]
push eax
push str.Start64HelperProcess::tszExeName___s
push 0x515488
call fcn.0048d710
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
push 0x38
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 0x3c
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x250], 0x440
lea eax, [ebp - 0x218]
mov dword [ebp - 0x240], str._Uninstall
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x248], str.runas
push eax
mov dword [ebp - 0x238], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x446f3b
push str.Start64HelperProcess::ShellExecuteExW_Failed
push 0x515488
call fcn.0048d710
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x446f55
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8

Function at 0x44aa30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6666
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004a5d55
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004a4b49
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44eba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6138
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x515428], ebx
setne bl
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44ec3c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 1
test ebx, ebx
je 0x44ec22
test eax, eax
je 0x44ec4a
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.ConvertInstall
jmp 0x44ec35
test eax, eax
je 0x44ec4a
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.NewInstall
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44ec4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ec60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x44ec71
mov eax, dword [esi]
jmp 0x44ec73
mov eax, esi
push 0
push eax
call fcn.004af917
add esp, 8
cmp eax, 0xffffffff
je 0x44ecd2
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x44ec91
mov ecx, dword [edi]
jmp 0x44ec93
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x44ec9d
mov eax, dword [esi]
jmp 0x44ec9f
mov eax, esi
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44ecc7
cmp dword [edi + 0x14], 8
jb 0x44ecb5
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x44ecbd
mov esi, dword [esi]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x453e30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
jne 0x453e46
xor edx, edx
jmp 0x453e5f
mov edx, ecx
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x453e50
sub edx, edi
sar edx, 1
push edx
push ecx
lea ecx, [esi + 4]
call fcn.0041ccd0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x453e74
xor ecx, ecx
jmp 0x453e8f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453e80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 8]
call fcn.0041ccd0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x453ea4
xor ecx, ecx
jmp 0x453ebf
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453eb0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xc]
call fcn.0041ccd0
push ecx
mov dword [esi + 0x48], 1
call fcn.00454ae0
neg eax
push str.GetNativeSystemInfo
sbb eax, eax
neg eax
push str.kernel32
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453f02
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x453f0c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x24]
mov ecx, 9
cmp cx, ax
je 0x453f36
mov ecx, 6
cmp cx, ax
je 0x453f36
pop edi
mov dword [esi + 0x14], 0x20
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov dword [esi + 0x14], 0x40
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4545a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3eb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
lea ebx, [edi + 4]
sub ecx, 0x10
call fcn.0041c670
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x17
push str.TSClinicWebListener.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0041c490
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454607
mov ecx, esi
call fcn.00437970
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041c6d0
cmp dword [edi + 0x14], 0x40
lea ecx, [ebp - 0x10]
jne 0x454622
push 0x18
push str.QMContextUninstall64.dll
jmp 0x454629
push 0x16
push str.QMContextUninstall.dll
call fcn.0041c490
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454643
mov ecx, esi
call fcn.00437970
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x454662
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454680
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4546e5
cmp dword [ebp - 0x118], 2
jae 0x4546e5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret

Function at 0x454700
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x454766
jne 0x454756
cmp dword [ebp - 0x118], 2
jae 0x454766
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x454840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7291
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x2c4], eax
xor eax, eax
push 0x10
push str.QQPCFileOpen.exe
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x288], 7
mov dword [ebp - 0x28c], 0
mov word [ebp - 0x29c], ax
call fcn.00439160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x29c]
mov edi, dword [ebp - 0x288]
lea ebx, [ebp - 0x29c]
mov esi, dword [ebp - 0x29c]
cmp edi, 8
mov eax, dword [ebp - 0x28c]
cmovae ecx, esi
mov dword [ebp - 0x2bc], fcn.004b60e3
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x29c]
cmovae ecx, esi
push ebx
call fcn.00456200
push 0x26c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004a8960
add esp, 0x14
mov dword [ebp - 0x2c8], 0x136
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push dword [ebp - 0x2c4]
mov dword [ebp - 0x2b8], 0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454a82
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x454980
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x2bc]
push ecx
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00438600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b4]
mov edi, dword [ebp - 0x2a0]
lea ebx, [ebp - 0x2b4]
mov esi, dword [ebp - 0x2b4]
cmp edi, 8
mov eax, dword [ebp - 0x2a4]
cmovae ecx, esi
mov dword [ebp - 0x2bc], fcn.004b60e3
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2b4]
cmovae ecx, esi
push ebx
call fcn.00456200
add esp, 8
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x288], 8
lea ecx, [ebp - 0x2b4]
cmovae eax, dword [ebp - 0x29c]
push dword [ebp - 0x28c]
push 0
push eax
call fcn.0044e0e0
cmp eax, 0xffffffff
je 0x454a1c
mov dword [ebp - 0x2c0], 1
jmp 0x454a49
cmp dword [ebp - 0x288], 8
lea eax, [ebp - 0x29c]
cmovae eax, dword [ebp - 0x29c]
push eax
push dword [ebp - 0x2c4]
push str.CheckRegValue__s_not_find__s
push 0x515488
call fcn.0048d710
add esp, 0x10
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x454a5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b8], 0
cmp eax, 8
jb 0x454a93
inc eax
lea ecx, [ebp - 0x2b4]
push eax
push dword [ebp - 0x2b4]
call fcn.00433600
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x454a93
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x2b8], 0
cmp ecx, 8
jb 0x454abb
inc ecx
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x29c]
call fcn.00433600
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 4
Function at 0x455290
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7350
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0041c970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push eax
call fcn.0041c490
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push dword [ebp + 8]
push SysReAllocString
call esi
neg eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
sbb esi, esi
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45531b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x45533a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x455b60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jb 0x455b80
mov eax, dword [esi]
jmp 0x455b82
mov eax, esi
push ebx
mov ebx, dword [ebp + 8]
push ecx
push eax
push ebx
lea ecx, [ebp - 0xc]
call fcn.004563d0
test eax, eax
je 0x455bae
cmp dword [esi + 0x14], 8
jb 0x455b9d
mov esi, dword [esi]
sub esp, 0x14
lea ecx, [ebp - 0xc]
push esi
push ebx
call fcn.004562e0
test eax, eax
jne 0x455c03
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x14], 8
jb 0x455bb9
mov edx, dword [edx]
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x14], 8
jb 0x455bc4
mov esi, dword [esi]
test edx, edx
je 0x455c03
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455bd0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
jmp 0x455c06
mov esi, dword [ebp - 0xc]
pop ebx
test esi, esi
je 0x455c12
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x456460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7548
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4f4b08
lea ecx, [ebp - 0x28]
call fcn.00438600
push 0x26
push str.7C260B4B_F7A0_40B5_B403_BEFCDC6A4C3B
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004402a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
cmovae eax, dword [ebp - 0x28]
sub esp, 0x14
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
push SysReAllocString
call fcn.004562e0
mov esi, dword [ebp - 0x38]
test eax, eax
jne 0x456509
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
push 4
push 0
push str.Flags
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x45650b
xor bl, bl
test esi, esi
je 0x456516
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x45652b
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433600
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x457e90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d77e0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x457f81
cmp edi, 5
je 0x457f81
push ecx
lea ecx, [ebp - 0x34]
call fcn.00457bc0
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push esi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [0x51545c]
mov esi, eax
test ecx, ecx
je 0x457f17
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.GlobalQQPCMgrUninst
push 0
push 0x1f0003
mov dword [0x51545c], esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x457f5c
cmp edi, 5
je 0x457f5c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x515438], 0
jne 0x457f79
push 0
push 0x4f2d2c
push 0x4f4e6c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x83
jmp 0x457fa4
cmp dword [0x515438], 0
jne 0x457f9e
push 0
push 0x4f2d2c
push 0x4f4e00
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x82
mov ecx, dword [0x51544c]
mov eax, dword [ecx]
call dword [eax + 0x20]
test esi, esi
je 0x457fba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4593d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7948
mov eax, dword fs:[0]
push eax
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x459427
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 4
test al, 8
mov eax, 8
cmovne ecx, eax
push ecx
mov ecx, dword [0x51544c]
call fcn.00463a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4594db
lea eax, [ebp + 0xc]
push eax
push str.ExtendQQNavigation
lea ecx, [ebp + 8]
call fcn.004338c0
mov eax, dword [ebp + 8]
test eax, eax
je 0x459487
push str.ExtendQQNavigation
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp + 0xc]
cmp eax, 0xb
jne 0x4594aa
mov ecx, dword [0x51544c]
push 8
call fcn.00463a20
mov eax, dword [0x51544c]
mov dword [eax + 0x2c], 0
jmp 0x4594db
cmp eax, 0xc
jne 0x4594ca
mov ecx, dword [0x51544c]
push 8
call fcn.00463a20
mov eax, dword [0x51544c]
mov dword [eax + 0x2c], 1
jmp 0x4594db
cmp eax, 0xd
jne 0x4594db
mov eax, dword [0x51544c]
mov dword [eax + 0x30], 1
mov eax, dword [ebp + 8]
test eax, eax
je 0x4594e9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x459a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x20a
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x220]
push 0xffffffffffffffff
push dword [esi]
push 0x105
push eax
call fcn.004b6dbc
push 0x208
lea eax, [ebp - 0x220]
mov edx, 0x26
push eax
push 0x208
push eax
mov ecx, str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.00477a50
add esp, 0x20
test eax, eax
jne 0x459bb2
lea ecx, [ebp - 0x228]
call fcn.0048b4b0
push str.QMPacket.dat
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.0041c010
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x228]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459b4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x459b97
push 0
lea eax, [ebp - 0x22c]
push eax
push 0x208
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x459bb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 4
Function at 0x459bd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7a60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x459c13
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
push 0x2e
push dword [edi]
call fcn.004a8591
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x459cf0
mov eax, dword [edi]
sub ebx, eax
sar ebx, 1
cmp ebx, 0xffffffff
je 0x459cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x459cf0
push ebx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.00421e80
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041c6d0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x48]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459c93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 8], 0
je 0x459cb7
push 4
push str..dat
lea ecx, [ebp - 0x44]
call fcn.0041c490
mov esi, dword [ebp - 0x44]
mov edx, esi
push ecx
mov ecx, dword [edi]
call fcn.004776f0
jmp 0x459ce7
lea eax, [ebp - 0x40]
push eax
push dword [edi]
call fcn.004b6c98
add esp, 8
lea ecx, [ebp - 0x44]
push 4
push str..xml
call fcn.0041c490
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov edx, esi
mov ecx, dword [edi]
lea eax, [eax + eax*4]
push eax
call fcn.004777e0
add esp, 4
test eax, eax
jne 0x459d0c
jmp 0x459cf3
or ebx, 0xffffffff
push dword [edi]
push 0
push dword [ebp + 8]
push str.encrypttype_d_err_d_path_s.
push 0x515488
call fcn.0048d710
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x459d28
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8