joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460a00
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4a1d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x650]
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
call fcn.0040fcf0
cmp ebp, edi
mov dword [esp + 0x648], edi
mov word [esp + 0x22c], di
je 0x460b7a
lea eax, [esp + 0x22c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x460b7a
mov ecx, dword [0x4b8bf8]
mov dx, word [0x4b8bfc]
mov dword [esp + 0x1c], ecx
mov word [esp + 0x20], dx
lea ebx, [esp + 0x22c]
jmp 0x460ab0
mov ax, word [ebx]
push 0x104
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x28], ax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x460b57
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0x4b8618
push eax
call fcn.0045a370
lea eax, [esp + 0x30]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460af0
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 0x104
jae 0x460b57
push esi
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.0048485d
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
inc edi
je 0x460b57
lea edx, [ebp + esi*2]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4b84a4
lea ecx, [esp + 0x440]
push 0x104
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea edx, [esp + 0x434]
push edx
lea ecx, [esp + 0x18]
call fcn.0040ffd0
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x460b57
test edi, edi
jne 0x460b6f
cmp word [ebx], di
jne 0x460ab0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
jmp 0x460b7f
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0040fee0
lea ecx, [esp + 0x14]
call fcn.0040fde0
mov eax, esi
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.0047f404
add esp, 0x638
ret
Function at 0x460bc0
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2dd6
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x460c3f
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x460c46
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x460d83
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x24]
jne 0x460c6e
mov eax, dword [esp + 0x34]
push eax
push 0
push 0x410
call ebx
mov esi, eax
test esi, esi
jne 0x460c82
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x460c50
jmp 0x460d77
lea ecx, [esp + 0x10]
call fcn.0040fcf0
xor ebx, ebx
mov dword [esp + 0x468], ebx
call fcn.0045b360
test eax, eax
je 0x460d23
push 0x206
lea edx, [esp + 0x252]
push ebx
push edx
mov word [esp + 0x258], bx
call fcn.004806d0
add esp, 0xc
push 0x104
lea eax, [esp + 0x250]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x460d6e
lea ecx, [esp + 0x24c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00460a00
mov byte [esp + 0x46c], 1
mov edx, dword [esp + 0x18]
push edx
push 0x4b8c00
mov esi, 0x4ca290
call fcn.0045f140
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0040ffa0
lea ecx, [esp + 0x14]
call fcn.0040fde0
jmp 0x460d6e
push 0x104
push 0x105
lea ecx, [esp + 0x18]
call fcn.00410180
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004101e0
mov ecx, dword [esp + 0x10]
push ecx
push 0x4b8c00
mov esi, 0x4ca290
call fcn.0045f140
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x10]
push edx
call fcn.0040ffa0
lea ecx, [esp + 0x10]
call fcn.0040fde0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0047f404
mov esp, ebp
pop ebp
ret 4
Function at 0x461080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x461168
push 0x400
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004806d0
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x4b87d8
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46115e
lea edx, [esp + 8]
push edx
push 0x104
push esi
call fcn.00482d72
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461110
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x46113a
push 0x4b8618
push 0x104
push esi
call fcn.00484331
add esp, 0xc
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0047f404
add esp, 0x410
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.0047f404
add esp, 0x410
ret

Function at 0x461eb0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
mov ebp, dword [esp + 0x150]
push 0x11c
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004806d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x11c
call ebx
test eax, eax
jne 0x461f0d
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x114
call ebx
test eax, eax
je 0x461f1b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov dword [edi], ecx
jmp 0x461f27
mov dword [esi], 0
mov dword [edi], 0
xor eax, eax
push str.GetNativeSystemInfo
push 0x4b8c38
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x461f71
lea edx, [esp + 8]
push edx
call eax
jmp 0x461f7c
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 8]
cmp ax, 6
je 0x461fb0
cmp ax, 0xa
je 0x461fb0
cmp ax, 9
je 0x461fb0
mov dword [ebp], 0x20
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0047f404
add esp, 0x144
ret
mov ecx, dword [esp + 0x148]
mov dword [ebp], 0x40
pop ebp
pop ebx
xor ecx, esp
call fcn.0047f404
add esp, 0x144
ret
Function at 0x4622c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.masterconn11.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x138a
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.00410510
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00421340
mov byte [esp + 0x30], 1
cmp dword [0x4ca1c4], 0
movzx eax, word [esi + 8]
je 0x46234f
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004105d0
push eax
call dword [0x4ca1c4]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00410570
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047f404
add esp, 0x30
ret
Function at 0x462590
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4706
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push esi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x680]
mov dword fs:[0], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462764
xor ebx, ebx
push 6
push ebx
mov dword [esp + 0x34], vtable.QMTShortCut.0
mov dword [esp + 0x38], vtable.CQMTInitializeCOMThread.0
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
lea esi, [ebx + 1]
jne 0x462608
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
push edi
mov dword [esp + 0x68c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4626c6
lea eax, [esp + 0x2c]
call fcn.004606c0
test eax, eax
jl 0x4626c6
mov eax, dword [esp + 0x3c]
push ebx
mov dword [esp + 0x44], esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push edi
push eax
call edx
push edi
mov esi, eax
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.00482d72
add esp, 0xc
cmp esi, ebx
jl 0x4626c6
push 0x208
lea ecx, [esp + 0x25a]
push ebx
push ecx
mov word [esp + 0x260], bx
call fcn.004806d0
lea edx, [esp + 0x260]
add esp, 0xc
test edx, edx
je 0x4626bd
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push ebx
push ebx
push 0x104
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x4626bd
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46275b
lea esi, [esp + 0x2c]
call fcn.00460940
call fcn.00478f20
cmp eax, 6
jne 0x462705
push str.WIN7
mov esi, 0x4ca290
call fcn.0045f140
add esp, 4
push ebx
push ebx
push ebx
push edi
push str.startunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x2c]
call fcn.00460650
mov eax, 1
jmp 0x46279c
push 0x208
lea edx, [esp + 0x46a]
push ebx
push edx
mov word [esp + 0x470], bx
call fcn.004806d0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.0047d160
lea ecx, [esp + 0x464]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x690], 1
call fcn.0047d720
test eax, eax
lea ecx, [esp + 0x10]
jge 0x462768
mov byte [esp + 0x688], bl
call fcn.0047d220
lea ecx, [esp + 0x2c]
call fcn.00460650
xor eax, eax
jmp 0x46279c
lea eax, [esp + 0x464]
push eax
push ecx
mov ecx, edi
call fcn.0047d2a0
xor edx, edx
test eax, eax
setge dl
lea ecx, [esp + 0x10]
mov byte [esp + 0x688], bl
mov esi, edx
call fcn.0047d220
lea ecx, [esp + 0x2c]
call fcn.00460650
mov eax, esi
mov ecx, dword [esp + 0x680]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x66c]
xor ecx, esp
call fcn.0047f404
mov esp, ebp
pop ebp
ret
Function at 0x462ad0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a4651
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x284]
test ebp, ebp
je 0x462c9e
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462c9e
push str.CreatePCMgrInstallDirShortCut
mov esi, 0x4ca290
call fcn.0045f140
add esp, 4
push ebp
lea ecx, [esp + 0x18]
call fcn.00419660
lea edi, [esp + 0x14]
mov dword [esp + 0x27c], 0
call fcn.0045e640
push 0x4b8cc8
mov ebx, edi
call fcn.0045e870
push ebp
lea ecx, [esp + 0x34]
call fcn.00419660
lea edi, [esp + 0x30]
mov byte [esp + 0x27c], 1
call fcn.0045e640
push str.QQPCTray.exe
mov ebx, edi
call fcn.0045e870
mov ecx, edi
call fcn.00421e20
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x462c8c
lea ecx, [esp + 0x14]
call fcn.00421e20
push eax
call esi
test eax, eax
je 0x462bce
mov ecx, edi
call fcn.00419810
lea ecx, [esp + 0x14]
call fcn.00419810
mov eax, 1
jmp 0x462ca0
lea esi, [esp + 0x4c]
call fcn.004605f0
mov ebx, 2
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call fcn.00421e20
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.004606c0
test eax, eax
jl 0x462c83
push esi
lea eax, [esp + 0x68]
push 0x104
push eax
mov dword [esp + 0x6c], ebx
call fcn.00482d72
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00421e20
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00460890
test eax, eax
jl 0x462c83
mov edx, 0x4b8d64
lea ecx, [esp + 0x4c]
call fcn.004607e0
test eax, eax
jl 0x462c83
mov edx, str._showui
lea ecx, [esp + 0x4c]
call fcn.00460730
test eax, eax
jl 0x462c83
lea esi, [esp + 0x4c]
call fcn.00460940
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 0x4c]
call fcn.00460650
lea ecx, [esp + 0x30]
call fcn.00419810
lea ecx, [esp + 0x14]
call fcn.00419810
mov eax, esi
jmp 0x462ca0
lea ecx, [esp + 0x4c]
call fcn.00460650
lea ecx, [esp + 0x30]
call fcn.00419810
lea ecx, [esp + 0x14]
call fcn.00419810
xor eax, eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0047f404
add esp, 0x26c
ret
Function at 0x462cd0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a4651
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x284]
test ebp, ebp
je 0x462e9e
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462e9e
push str.CreateSoftMgrInstallDirShortCut
mov esi, 0x4ca290
call fcn.0045f140
add esp, 4
push ebp
lea ecx, [esp + 0x18]
call fcn.00419660
lea edi, [esp + 0x14]
mov dword [esp + 0x27c], 0
call fcn.0045e640
push 0x4b8c88
mov ebx, edi
call fcn.0045e870
push ebp
lea ecx, [esp + 0x34]
call fcn.00419660
lea edi, [esp + 0x30]
mov byte [esp + 0x27c], 1
call fcn.0045e640
push str.QQPCSoftMgr.exe
mov ebx, edi
call fcn.0045e870
mov ecx, edi
call fcn.00421e20
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x462e8c
lea ecx, [esp + 0x14]
call fcn.00421e20
push eax
call esi
test eax, eax
je 0x462dce
mov ecx, edi
call fcn.00419810
lea ecx, [esp + 0x14]
call fcn.00419810
mov eax, 1
jmp 0x462ea0
lea esi, [esp + 0x4c]
call fcn.004605f0
mov ebx, 2
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call fcn.00421e20
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.004606c0
test eax, eax
jl 0x462e83
push esi
lea eax, [esp + 0x68]
push 0x104
push eax
mov dword [esp + 0x6c], ebx
call fcn.00482d72
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00421e20
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00460890
test eax, eax
jl 0x462e83
mov edx, 0x4b8de8
lea ecx, [esp + 0x4c]
call fcn.004607e0
test eax, eax
jl 0x462e83
mov edx, str._parentstartmenu__pageuninst
lea ecx, [esp + 0x4c]
call fcn.00460730
test eax, eax
jl 0x462e83
lea esi, [esp + 0x4c]
call fcn.00460940
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 0x4c]
call fcn.00460650
lea ecx, [esp + 0x30]
call fcn.00419810
lea ecx, [esp + 0x14]
call fcn.00419810
mov eax, esi
jmp 0x462ea0
lea ecx, [esp + 0x4c]
call fcn.00460650
lea ecx, [esp + 0x30]
call fcn.00419810
lea ecx, [esp + 0x14]
call fcn.00419810
xor eax, eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0047f404
add esp, 0x26c
ret

Function at 0x462ed0
Capabilities:
Check if file exists

Disassembly:
test esi, esi
je 0x462ef5
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462ef5
push esi
call fcn.00462ad0
push esi
call fcn.00462cd0
push esi
call fcn.00462f00
add esp, 0xc
ret
xor eax, eax
ret
Function at 0x462f00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a5a98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x462fb1
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462fb1
xor esi, esi
push ebp
lea ecx, [esp + 0x18]
call fcn.00419660
lea edi, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.0045e640
mov eax, dword [esi + 0x4c7ab0]
push eax
mov ebx, edi
call fcn.0045e870
mov ecx, edi
call fcn.00421e20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x462f91
mov ecx, edi
call fcn.00421e20
mov edi, eax
call fcn.00462590
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419810
add esi, 4
cmp esi, 0xc
jb 0x462f47
mov eax, 1
jmp 0x462fb3
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0047f404
add esp, 0x2c
ret
Function at 0x464830
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esi]
add eax, eax
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esi], 0
mov edx, dword [ecx]
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
shr ecx, 1
test eax, eax
mov dword [esi], ecx
jne 0x464881
mov eax, dword [esp + 8]
cmp eax, 1
je 0x46487f
cmp eax, 2
je 0x46487f
mov eax, 0xd
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x464db0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x464ed0
push edi
push 0x118
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.004806d0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x11c
call edi
cmp eax, ebx
jne 0x464e10
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x114
call edi
cmp eax, ebx
je 0x464e45
movzx ecx, word [esp + 0x30]
mov eax, dword [esi + 0x14]
mov word [eax + 0x38], cx
mov edx, dword [esi + 0x14]
mov ax, word [esp + 0x34]
mov word [edx + 0x3a], ax
mov ecx, dword [esi + 0x14]
mov dx, word [esp + 0x140]
mov word [ecx + 0x3e], dx
movzx ecx, word [esp + 0x38]
mov eax, dword [esi + 0x14]
mov word [eax + 0x3c], cx
jmp 0x464e61
mov edx, dword [esi + 0x14]
mov word [edx + 0x38], bx
mov eax, dword [esi + 0x14]
mov word [eax + 0x3a], bx
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x3e], bx
mov edx, dword [esi + 0x14]
mov word [edx + 0x3c], bx
xor eax, eax
push str.GetNativeSystemInfo
push 0x4b8c38
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
pop edi
je 0x464eac
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x464eb7
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x14]
mov cx, word [esp + 4]
mov word [eax + 0x40], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esi + 0x14]
mov word [edx + 0x42], ax
mov ecx, dword [esp + 0x144]
pop ebx
xor ecx, esp
call fcn.0047f404
add esp, 0x144
ret
Function at 0x465090
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a35cd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x230], eax
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x208
mov dword [esp + 0x248], edi
lea eax, [esp + 0x32]
push edi
mov dword [esp + 0x10], edi
push eax
mov dword [esp + 0x18], esi
mov word [esp + 0x38], di
call fcn.004806d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x30]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x2c]
push 0x5c
push edx
call fcn.004579b0
mov word [eax + 2], di
add esp, 8
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00421ce0
push 0x4b8e58
mov dword [esp + 0x248], edi
lea ecx, [esp + 0x14]
push esi
mov edi, 1
push ecx
mov dword [esp + 0x14], edi
call fcn.004337f0
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x248], edi
call fcn.00421dc0
lea ecx, [esp + 0x10]
call fcn.00421d90
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0047f404
add esp, 0x240
ret

Function at 0x4657b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
xor esi, esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
call fcn.00421c90
lea eax, [esp + 0x10]
push eax
push 1
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x46583d
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x46580d
push ecx
call ebx
cmp eax, esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x46583d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push edx
push esi
push str.SupplyID
push ecx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x1c]
cmp eax, esi
mov edi, dword [esp + 0x14]
je 0x465850
push eax
call ebx
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x24]
call fcn.00421d90
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047f404
mov esp, ebp
pop ebp
ret
Function at 0x465ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.masterconn11.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x1388
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.00410510
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00421340
mov byte [esp + 0x30], 1
cmp dword [0x4ca1c4], 0
movzx eax, word [esi + 8]
je 0x465f4f
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004105d0
push eax
call dword [0x4ca1c4]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00410570
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047f404
add esp, 0x30
ret