joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100187da
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x100189a5
lea eax, [ebp - 0x21c]
push eax
push 0x100f1858
push 1
push esi
push 0x100f1838
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x10018966
mov eax, dword [ebp - 0x21c]
mov esi, str.qminstall_task
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
push 0x100f1868
push 0x100f1848
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x10018966
lea edx, [ebx + 4]
cmp dword [edx + 0x14], 8
jb 0x10018881
mov edx, dword [edx]
mov eax, dword [ebp - 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
xor ebx, ebx
test edi, edi
je 0x100188bd
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001889c
sub ecx, edx
sar ecx, 1
je 0x100188bd
mov eax, dword [ebp - 0x218]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x218]
push 0x2002
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x20c]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x220]
push edx
push 0x100c6740
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x10018966
mov eax, dword [ebp - 0x220]
push 1
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x10018966
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10018976
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x10018986
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x10018996
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
not esi
shr esi, 0x1f
mov eax, esi
jmp 0x100189a7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
Function at 0x10019131
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x1010c070]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [esp + 0x10], edi
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.10003d84
mov esi, eax
test esi, esi
jne 0x100191f1
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100191c9
lea eax, [esp + 0x28]
push eax
call fcn.10019131
mov esi, eax
test esi, esi
jne 0x100191f1
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x100191a4
call fcn.10003d6a
push dword [esp + 0xc]
mov ecx, ebx
call fcn.100190b8
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.10003d6a
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4

Function at 0x10019213
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x10]
xor eax, eax
stosd dword es:[edi], eax
push ecx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [ebp - 0x10], edi
push eax
push ecx
push ecx
push str.LocalServer32
push dword [ecx]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.1001931f
mov esi, eax
test esi, esi
jne 0x10019293
test ebx, ebx
jne 0x10019267
push 0xd
pop esi
jmp 0x10019293
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1001926c
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.10003d6a
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001949c
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
xor esi, esi
mov dword [ebp - 8], edx
push esi
push esi
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x100194cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10019528
push esi
push esi
push esi
push esi
push str.COM_Infrastructure
push edi
push 1
push 3
push 0x110
push 0xf01ff
push str.Installer_Service
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x10019504
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001951f
lea eax, [ebp - 8]
mov dword [ebp - 8], str.Installer_Service
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100195a0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20a
xor esi, esi
mov edi, str.InstallerSvcEx2014
push esi
push edi
mov ebx, ecx
call fcn.1008e420
push 0x104
push ebx
push edi
call fcn.10095fa0
add esp, 0x18
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x100195fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10019685
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x10019617
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001967e
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1001962e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10019677
mov dword [ebp - 0x28], 7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1001966c
cmp dword [ebp - 0x1c], 4
je 0x10019674
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
test eax, eax
jg 0x10019635
jmp 0x10019674
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edi, dword [ebp - 0x24]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x1001a2f5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
test edx, edx
je 0x1001a3ea
mov esi, dword [ebp + 8]
test esi, esi
jle 0x1001a3ea
or ecx, 0xffffffff
cmp esi, 8
jl 0x1001a3c8
push edi
mov edi, esi
shr edi, 3
imul eax, edi, 0xfffffff8
add esi, eax
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
sub edi, 1
jne 0x1001a324
pop edi
test esi, esi
je 0x1001a3e4
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d3820]
inc edx
sub esi, 1
jne 0x1001a3cc
not ecx
mov eax, ecx
jmp 0x1001a3ec
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001a3f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
push edi
push dword [esi]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
xor esi, esi
push dword [esi + str.37k_IF__y_d]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi - 0x18], eax
add esi, 4
cmp esi, 0x10
jl 0x1001a419
mov edi, dword [ebp - 8]
xor edx, edx
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x18]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub dword [ebp - 4], 1
jne 0x1001a436
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a48f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push dword [esi]
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 8], 0x10
push dword [esi + str.37k_IF__y_d]
call edi
mov dword [ebp + esi - 0x1c], eax
add esi, 4
cmp esi, 0x10
jl 0x1001a4b8
mov ebx, dword [ebp - 0xc]
mov esi, 0xe3779b90
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [esi + ebx]
xor ecx, eax
sub edx, ecx
mov ecx, edx
mov eax, edx
shl ecx, 4
add ecx, dword [ebp - 0x1c]
shr eax, 5
add eax, dword [ebp - 0x18]
xor ecx, eax
lea eax, [esi + edx]
xor ecx, eax
lea esi, [esi + 0x61c88647]
sub ebx, ecx
sub dword [ebp - 8], 1
jne 0x1001a4d7
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
mov dword [ebp - 4], edx
call edi
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
push eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a95b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x1001a9b6
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1001a9cd
cmp dword [ebp - 0x11c], 6
jne 0x1001a9cd
cmp dword [ebp - 0x118], 0
jne 0x1001a9cd
xor eax, eax
inc eax
jmp 0x1001a9cf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x1001a9de
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x1001aa39
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1001aa4d
cmp dword [ebp - 0x11c], 6
jne 0x1001aa4d
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jae 0x1001aa4f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x1001aa5e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
test edi, edi
jne 0x1001aa83
xor eax, eax
jmp 0x1001ab1a
push esi
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ab17
cmp dword [ebp - 0x218], esi
je 0x1001ab17
push 0x20c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x214], 0x20b
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001ab07
push 0x103
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.10095fa0
add esp, 0xc
inc esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001ab19
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x1001ab2a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x100be227
call fcn.1008bbf4
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x24]
xor eax, eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.1001a95b
test eax, eax
jne 0x1001ab5a
call fcn.1001a9de
lea eax, [ebp - 0x28]
push eax
push 0x20019
push ebx
push str.QMConfigTencentQQPCMgrDownloader
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001abab
push 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push str.defProtocolVer
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x28]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test esi, esi
sete bl
lea ecx, [ebp - 0x24]
call fcn.10003d6a
mov eax, ebx
call fcn.1008bb9e
ret

Function at 0x1001ac5b
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101115ac]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], ebx
test al, 1
jne 0x1001acb2
or eax, 1
mov dword [0x101115a8], ebx
mov dword [0x101115ac], eax
call fcn.100017c6
push eax
mov ecx, 0x101115a8
call fcn.10001562
push 0x100c5279
call fcn.1008b247
pop ecx
mov eax, dword [0x101115a8]
cmp dword [eax - 0xc], ebx
jne 0x1001ad33
push edi
push 0x20c
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1008e420
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x208
push eax
push str._appdata_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x210]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1001acf2
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, 0x101115a8
push edx
push eax
call fcn.10005c27
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x1001ad33
push ebx
push dword [0x101115a8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [0x101115a8]
add ecx, 0xfffffff0
call fcn.1000158b
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop esi
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x1001ad58
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x22c
lea eax, [ebp - 0x230]
push ebx
xor esi, esi
push esi
push eax
call fcn.1008e420
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001adfe
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1001adf7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x1001ade0
test ecx, ecx
je 0x1001ade0
cmp ecx, 4
je 0x1001ade0
lea eax, [ebp - 0x20c]
push 0x100f2c68
push eax
call fcn.10096350
pop ecx
pop ecx
test eax, eax
je 0x1001adf4
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001adb6
jmp 0x1001adf7
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x1001ae11
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0x21c
mov eax, 0x100be29b
call fcn.1008bbf4
mov esi, ecx
mov dword [ebp - 0x224], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x228], esi
mov dword [esi], ebx
call fcn.100017c6
push eax
mov ecx, esi
call fcn.10001562
mov dword [ebp - 4], ebx
mov ecx, esi
mov dword [ebp - 0x220], 1
call fcn.100056be
push 0x20c
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1008e420
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x23
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001ae8c
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10005c27
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x1001aef4
sub eax, 1
js 0x1001aefc
push eax
mov ecx, esi
call fcn.10005720
push 0x5c
pop ecx
cmp ax, cx
je 0x1001aed0
push ecx
mov ecx, esi
call fcn.100056f3
push 0x10
push str.TencentQQPCMgr_
mov ecx, esi
call fcn.10003981
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001aef4
push ebx
push dword [esi]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
call fcn.1008bb9e
ret
push 0x80070057
call fcn.10001e48
int3
Function at 0x1001aff3
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x100be308
call fcn.1008bbf4
mov esi, edx
mov edi, ecx
test edi, edi
je 0x1001b0f2
test esi, esi
je 0x1001b0f2
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1008e420
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x74], 0x44
neg eax
mov dword [ebp - 0x48], 0x81
xorps xmm0, xmm0
mov ebx, 0x100d2f38
sbb eax, eax
and eax, 5
push ebx
movups xmmword [ebp - 0x84], xmm0
mov word [ebp - 0x44], ax
call fcn.100028b0
and dword [ebp - 4], 0
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000574b
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000574b
mov edi, 0x100d2cac
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000574b
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000574b
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x1001b0e3
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x80]
call esi
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001f43
mov eax, edi
jmp 0x1001b0f4
xor eax, eax
call fcn.1008bb9e
ret

Function at 0x1001b151
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x210]
push 0x20a
mov esi, ecx
mov dword [ebp - 0x218], edi
push edi
push eax
mov dword [ebp - 0x214], esi
call fcn.1008e420
lea eax, [ebp - 0x210]
mov edx, str.InstallDir
push eax
mov ecx, str.SOFTWARETencentQQPCMgr
call fcn.1001aa5e
add esp, 0x10
test eax, eax
je 0x1001b1d9
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1001b1ae
sub ecx, edx
sar ecx, 1
je 0x1001b1d9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b1d9
lea eax, [ebp - 0x210]
push eax
jmp 0x1001b1de
push 0x100d1a34
mov ecx, esi
call fcn.100028b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret