joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2658
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 esi, ecx
push str.TSSysKit
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00440d00
test eax, eax
je 0x44216f
cmp dword [ebp - 0x14], 0
je 0x44216f
push str.Install_TSSysKit_Server
push 0x515408
call fcn.0048be90
add esp, 8
lea ecx, [ebp - 0x10]
push 0x4efa10
call fcn.0041c9e0
mov dword [ebp - 4], 0
call fcn.00488650
test eax, eax
je 0x4420ad
push str.TSSysKit_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0041cdf0
lea eax, [ebp - 0x10]
lea ebx, [esi + 4]
push eax
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.00422020
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4420e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x44213e
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00422020
add esp, 4
push str.TSSysKit
push dword [eax]
call fcn.00440fc0
mov edx, dword [ebp - 0x18]
test eax, eax
mov eax, esi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442128
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x44213e
push 0x4efa4c
push 0x515408
call fcn.0048be90
add esp, 8
push str.Install_TSSysKit_Server_end
push 0x515408
call fcn.0048be90
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44216f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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 0x442190
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4518
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 str.Install_TFsFlt_Server
push 0x515408
call fcn.0048be90
add esp, 8
lea ecx, [edi + 0xc]
call fcn.0043f7c0
test eax, eax
je 0x442245
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.SYSTEMCurrentControlSetServicesTFsFlt
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x44222c
mov dword [ebp - 0x14], 0
test eax, eax
je 0x44222c
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.EnableDROnMiniQQPCMgr
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x44223e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
push ecx
mov ecx, dword [edi + 4]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x18], esi
call fcn.0041c6e0
add eax, 0x10
mov dword [esi], eax
call fcn.0043e670
push str.Install_TFsFlt_Server_end
push 0x515408
call fcn.0048be90
add esp, 8
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 0x442650
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push ebx
mov dword [ebp - 0x808], ecx
mov ebx, edx
mov ecx, 0x4ec230
push esi
mov esi, dword [ebp + 0xc]
mov edx, ecx
cmovne edx, eax
mov eax, ecx
push edi
mov edi, dword [ebp + 0x14]
test esi, esi
push 0x800
cmovne eax, esi
mov dword [ebp - 0x818], edx
mov dword [ebp - 0x814], eax
test edi, edi
lea eax, [ebp - 0x804]
cmovne ecx, edi
push 0
push eax
mov dword [ebp - 0x810], ecx
call fcn.004a73c0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
xor esi, esi
nop
push dword [esi + 0x4f0804]
lea eax, [ebp - 0x804]
push ebx
push 0x4efbfc
push 0x400
push eax
call fcn.00442590
add esp, 0x14
lea eax, [ebp - 0x804]
push eax
call edi
cmp eax, 0xffffffff
je 0x442829
add esi, 4
cmp esi, 0xc
jb 0x4426c0
push 0x40
lea eax, [ebp - 0x874]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x834], xmm0
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x878], 0x44
xor eax, eax
mov dword [ebp - 0x84c], 0x81
mov word [ebp - 0x848], ax
mov dword [ebp - 0x820], eax
push eax
push eax
push 1
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0xc
push eax
mov dword [ebp - 0x81c], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [ebp - 0x810]
mov esi, eax
push dword [ebp + 0x10]
push dword [ebp - 0x814]
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push ebx
push str.__sInstallUninstallCube.exe____verb_s___sync_08lx__pid_u___temp_s____version_s___silence_u___s
push 0x400
push eax
call fcn.00442590
add esp, 0x2c
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x878]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x44280f
test esi, esi
je 0x4427ff
mov ecx, dword [ebp - 0x834]
lea eax, [ebp - 0x80c]
push 0x2710
push 0
push eax
push 2
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x830]
call edi
push dword [ebp - 0x834]
call edi
test esi, esi
je 0x442816
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x442840
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x515798], 0
push esi
push edi
mov esi, ecx
je 0x442896
cmp word [0x515590], 0
je 0x442896
push ecx
push 0x515590
push ecx
call fcn.00442600
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
push 0x208
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004a73c0
add esp, 0xc
xor eax, eax
test esi, esi
je 0x44295b
mov word [esi], ax
lea eax, [esp + 8]
push 0x103
push eax
push str._ALLUSERSPROFILE_Application_DataTencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
call fcn.00488900
test eax, eax
jne 0x44292b
push 0x103
lea eax, [esp + 0xc]
push eax
push str._ALLUSERSPROFILE_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
call fcn.00488900
test eax, eax
jne 0x44292b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMGetQMMasterStorePath_failed__last_err___d
push 0x515408
call fcn.0048c0f0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00442600
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, 0x515590
call fcn.00442600
mov edi, 1
mov dword [0x515798], 1
mov eax, edi
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x442cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004a73c0
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp word [ebp - 0x210], 0
jne 0x442d1e
xor ecx, ecx
jmp 0x442d36
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442d27
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004393e0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x442d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d45f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00442cc0
test eax, eax
je 0x442dd9
push 0x11
push 0x4efec4
lea ecx, [ebp - 0x28]
call fcn.0043f580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442dd9
mov esi, 1
jmp 0x442ddb
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x442df0
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433850
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x442e10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4628
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.004ae35d
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
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 0x442e90
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442e9e
push 8
lea ecx, [ebp - 0x18]
push ecx
push 0xb
push 0
push str.QQPCMgrInstallTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442e9e
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
Function at 0x4433f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
mov esi, ecx
push 0
push eax
call fcn.004a73c0
add esp, 0xc
or dword [ebp - 0x28], 0x80
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3de0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 4]
push str.TAOFrame.exe
lea ecx, [ebp - 0x2c]
call fcn.0041c030
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x443cb2
xor ecx, ecx
jmp 0x443cc6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443cb7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004393e0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443cef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x28]
je 0x443d63
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00443db0
mov esi, eax
test esi, esi
je 0x443d4f
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x443d34
push str.InstallTAOFrameService::reg_service_suc
jmp 0x443d39
push str.InstallTAOFrameService::wait_reg_process_failed
push 0x515408
call fcn.0048c0f0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x443d7e
push str.InstallTAOFrameService::reg_service_failed
push 0x515408
call fcn.0048c0f0
add esp, 8
jmp 0x443d7e
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.InstallTAOFrameService::can_not_find_taoframe.exe:_s
push 0x515408
call fcn.0048c0f0
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x443d93
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x443db0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0x3c
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x124]
push 0x118
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jae 0x443e28
push ecx
push esi
call fcn.00443ea0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], 0x3c
push eax
mov dword [ebp - 0x160], 0xc440
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], str.RunAs
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x150], str._Service
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 0x12c]
call fcn.004a474b
mov esp, ebp
pop ebp
ret 8

Function at 0x443ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x70], 0x44
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc], 0xc
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push str._Service
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x443f26
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4440a0
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d47a0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.qmswitches.dat
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x40]
call fcn.00449060
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4441ac
push str.qmswitches.dat
lea edx, [esi + 4]
lea ecx, [ebp - 0x44]
call fcn.0041c030
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.00438880
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44413f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x444183
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x444198
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4441c1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x4442a0
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 0x515408
call fcn.0048c0f0
add esp, 8
test esi, esi
jne 0x4442f2
push str.Start64HelperProcess::lpstrDir__NULL
push 0x515408
call fcn.0048c0f0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 8
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.QMProxyHelper64.exe
push esi
push 0x4ec424
push 0x104
push eax
call fcn.00442590
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x444364
lea eax, [ebp - 0x218]
push eax
push str.Start64HelperProcess::tszExeName___s
push 0x515408
call fcn.0048c0f0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 8
push 0x38
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 0x3c
push 0
push eax
call fcn.004a73c0
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 0x4443eb
push str.Start64HelperProcess::ShellExecuteExW_Failed
push 0x515408
call fcn.0048c0f0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x444405
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.004a474b
mov esp, ebp
pop ebp
ret 8

Function at 0x447e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4a16
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.004a477f
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004a3581
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 0x44bf80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4628
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 [0x5153a8], 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 0x44c01c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 1
test ebx, ebx
je 0x44c002
test eax, eax
je 0x44c02a
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.ConvertInstall
jmp 0x44c015
test eax, eax
je 0x44c02a
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 0x44c02a
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 0x44c040
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x44c051
mov eax, dword [esi]
jmp 0x44c053
mov eax, esi
push 0
push eax
call fcn.004ae3cc
add esp, 8
cmp eax, 0xffffffff
je 0x44c0b2
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x44c071
mov ecx, dword [edi]
jmp 0x44c073
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x44c07d
mov eax, dword [esi]
jmp 0x44c07f
mov eax, esi
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44c0a7
cmp dword [edi + 0x14], 8
jb 0x44c095
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x44c09d
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 0x44e090
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push 0
push 0
push str._QQPCTray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44e0db
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [str.SOFTWARETencentQQPCMgr]
mov ax, word [0x4ed3a4]
mov word [ebp - 0x1c], ax
mov eax, dword [0x4ef3a8]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x50]
movups xmm0, xmmword [0x4ed384]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x3c], xmm0
push eax
movups xmm0, xmmword [0x4ed394]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x5c], 0x104
movups xmm0, xmmword [str.autostart]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44e171
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x54], 1
je 0x44e0c8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret