joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441620
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d55ac
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
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, ecx
push str.QMSuperScan.exe
lea ecx, [ebp - 0x430]
call fcn.0041c970
push str.0s
lea edx, [esi + 4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.0041c010
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x42c]
call fcn.00421dd0
add esp, 8
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x434]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4416b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x40
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x488], 0x44
xor eax, eax
mov dword [ebp - 0x45c], 1
xorps xmm0, xmm0
mov word [ebp - 0x458], ax
movups xmmword [ebp - 0x444], xmm0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x441707
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x428]
push dword [ebp - 0x42c]
push 0x4f02e4
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x428]
lea eax, [ebp - 0x424]
push esi
push 0x208
push eax
call fcn.004af454
add esp, 0x18
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x488]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x441790
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x4417a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4417bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4417dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4417ff
mov ecx, dword [edx]
push edx
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x441ba0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5640
mov eax, dword fs:[0]
push eax
sub esp, 8
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.QMIEProtect.sys
lea ecx, [ebp - 0x10]
call fcn.0041c970
mov dword [ebp - 4], 0
cmp dword [0x515c70], 0
jne 0x441c13
mov dword [0x515c70], 1
call fcn.0048fb70
cmp eax, 8
jne 0x441c13
call fcn.00488a30
cmp eax, 0x3839
jl 0x441c13
mov dword [0x515c6c], 1
jmp 0x441c1c
cmp dword [0x515c6c], 0
je 0x441c2b
push 0x12
push str.QMIEProtect_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0041ccd0
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.0041c670
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.0041c490
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [ebp - 0x14]
mov ebx, eax
test ebx, ebx
je 0x441cbe
push SysReAllocString
push str.QMIEProtect
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x441cb0
push eax
push eax
push eax
push eax
push eax
push esi
push eax
push 1
push 1
push 0xf01ff
push str.tencent_QMIEProtect
push str.QMIEProtect
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x441d0f
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441cdc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x441cfb
mov ecx, dword [edx]
push edx
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
mov dword [ebp - 4], 1
jmp 0x441cb7
Function at 0x441d20
Capabilities:
Create service
Modify service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5678
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 ecx, dword [ecx + 4]
sub ecx, 0x10
call fcn.0041c670
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov eax, dword [0x511ea4]
cmp eax, 0xffffffff
jne 0x441da0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x441dc7
push 0x511ea4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x441dc7
mov eax, dword [0x511ea4]
test eax, eax
je 0x441dd1
push str.QMUdisk64.sys
lea ecx, [ebp - 0x30]
call fcn.0041c970
mov byte [ebp - 4], 1
call fcn.00489c30
test eax, eax
je 0x441dfa
push 0x10
push str.QMUdisk64_ev.sys
jmp 0x441df2
mov dword [0x511ea4], 0
push str.QMUdisk.sys
lea ecx, [ebp - 0x30]
call fcn.0041c970
mov byte [ebp - 4], 2
call fcn.00489c30
test eax, eax
je 0x441dfa
push 0xe
push str.QMUdisk_ev.sys
lea ecx, [ebp - 0x30]
call fcn.0041ccd0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push dword [eax - 0xc]
push eax
call fcn.0041c490
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441e28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x441ee8
push 0xf01ff
push str.QMUdisk
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x441e98
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
xorps xmm0, xmm0
push 1
push edi
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
push 1
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x441ec3
push 0
push 0
push 0
push 0
push 0
push esi
push 0
push 1
push 1
push 0xf01ff
push str.tencent_QMUdisk
push str.QMUdisk
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x441ed4
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test edi, edi
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x441ee3
push edi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x30]
call eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441f07
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x4420b0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x442148
push edi
push 0xf01ff
push str.TsFltMgr
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x44210e
push eax
push eax
push eax
push eax
push str.Boot_Bus_Extender
push dword [ebp + 8]
push 1
push eax
push 1
push 0xf01ff
push str.tencent_TsFltMgr
push str.TsFltMgr
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x442140
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x442139
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_Fail__error_:_d__filePath_:__s
push 0x515488
call fcn.0048d1f0
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
ret 4
Function at 0x442520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d56a8
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
lea ebx, [ecx + 4]
push str.QQPCRTP.exe
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.0041c010
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 0x442584
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x442621
push str.QQPCRTP.exe
mov edx, ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
call fcn.0041c010
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
mov edx, 0x4f0828
push 0
push 0xffffffffffffffff
call fcn.0048fc00
mov dword [ebp - 4], 0xffffffff
add esp, 0x10
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4425df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push 0x4f0828
push str.QQPCRTP.exe__ws__return:_d
push 0x515488
call fcn.0048cf90
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x442608
cmp ecx, 0x431
jne 0x442621
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 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 4
Function at 0x443100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3828
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.TSKsp
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00441f30
test eax, eax
je 0x443234
cmp dword [ebp - 0x14], 0
je 0x443234
push str.Install_TSKsp_Server
push 0x515488
call fcn.0048cf90
add esp, 8
lea ecx, [ebp - 0x10]
push str.TSKsp.sys
call fcn.0041c970
mov dword [ebp - 4], 0
call fcn.00489c30
test eax, eax
je 0x44318d
push str.TSKsp_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0041cd80
lea eax, [ebp - 0x10]
lea ebx, [esi + 4]
push eax
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.00421dd0
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 0x4431c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x443203
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00421dd0
add esp, 4
push str.TSKsp
push dword [eax]
call fcn.004421f0
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443203
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Install_TSKsp_Server_end
push 0x515488
call fcn.0048cf90
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 0x443234
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 0x443250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3828
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.00441f30
test eax, eax
je 0x44339f
cmp dword [ebp - 0x14], 0
je 0x44339f
push str.Install_TSSysKit_Server
push 0x515488
call fcn.0048cf90
add esp, 8
lea ecx, [ebp - 0x10]
push 0x4f0a60
call fcn.0041c970
mov dword [ebp - 4], 0
call fcn.00489c30
test eax, eax
je 0x4432dd
push str.TSSysKit_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0041cd80
lea eax, [ebp - 0x10]
lea ebx, [esi + 4]
push eax
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.00421dd0
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 0x443318
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x44336e
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00421dd0
add esp, 4
push str.TSSysKit
push dword [eax]
call fcn.004421f0
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 0x443358
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x44336e
push 0x4f0a9c
push 0x515488
call fcn.0048cf90
add esp, 8
push str.Install_TSSysKit_Server_end
push 0x515488
call fcn.0048cf90
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 0x44339f
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 0x4433c0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d57a8
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 0x515488
call fcn.0048cf90
add esp, 8
lea ecx, [edi + 0xc]
call fcn.004404e0
test eax, eax
je 0x443475
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 0x44345c
mov dword [ebp - 0x14], 0
test eax, eax
je 0x44345c
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 0x44346e
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.0041c670
add eax, 0x10
mov dword [esi], eax
call fcn.0043f290
push str.Install_TFsFlt_Server_end
push 0x515488
call fcn.0048cf90
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 0x443be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d588f
mov eax, dword fs:[0]
push eax
sub esp, 0x220
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 edi, edx
movzx eax, cl
lea ecx, [ebp - 0x22c]
push eax
mov dword [ebp - 4], 0
call fcn.00440150
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004a83c0
add esp, 0xc
lea ecx, [ebp - 0x21c]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
lea ecx, [esi - 5]
cmp ecx, 0xff
ja 0x443d5c
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443c77
sub ecx, edx
lea eax, [esi - 1]
sar ecx, 1
cmp ecx, eax
jne 0x443d5c
xor esi, esi
lea edx, [ecx - 1]
xor eax, eax
test ecx, ecx
je 0x443cb4
nop dword [eax]
cmp word [ebp + eax*2 - 0x21c], 0x22
jne 0x443cb2
inc eax
cmp eax, ecx
jb 0x443ca0
jmp 0x443cb4
mov esi, eax
cmp edx, esi
jb 0x443ce4
lea eax, [edx + edx]
nop dword [eax + eax]
cmp word [ebp + eax - 0x21c], 0x22
jne 0x443ce4
cmp eax, 0x20a
jae 0x443cf8
xor ecx, ecx
dec edx
mov word [ebp + eax - 0x21c], cx
sub eax, 2
cmp edx, esi
jae 0x443cc0
lea edx, [ebp - 0x21c]
cmp word [edx + esi*2], 0
lea edx, [edx + esi*2]
jne 0x443cfd
xor ecx, ecx
jmp 0x443d11
call fcn.004a5933
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443d02
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00439160
mov byte [ebp - 4], 3
cmp dword [ebp - 0x220], 0
je 0x443d43
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x443d43
push dword [ebp - 0x22c]
call eax
mov dword [ebp - 0x220], 0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x443d58
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00433600
mov al, 1
jmp 0x443d9c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 0
je 0x443d85
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x443d85
push dword [ebp - 0x22c]
call eax
mov dword [ebp - 0x220], 0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x443d9a
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00433600
xor al, al
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.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x444970
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, 0x4ed230
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.004a83c0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
xor esi, esi
nop
push dword [esi + 0x4f1944]
lea eax, [ebp - 0x804]
push ebx
push 0x4f0cf4
push 0x400
push eax
call fcn.004448b0
add esp, 0x14
lea eax, [ebp - 0x804]
push eax
call edi
cmp eax, 0xffffffff
je 0x444b49
add esi, 4
cmp esi, 0xc
jb 0x4449e0
push 0x40
lea eax, [ebp - 0x874]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x834], xmm0
call fcn.004a83c0
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.004448b0
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 0x444b2f
test esi, esi
je 0x444b1f
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 0x444b36
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a578d
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.004a578d
mov esp, ebp
pop ebp
ret
Function at 0x444b60
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 [0x515818], 0
push esi
push edi
mov esi, ecx
je 0x444bb6
cmp word [0x515610], 0
je 0x444bb6
push ecx
push 0x515610
push ecx
call fcn.00444920
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
push 0x208
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004a83c0
add esp, 0xc
xor eax, eax
test esi, esi
je 0x444c7b
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.00489ee0
test eax, eax
jne 0x444c4b
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.00489ee0
test eax, eax
jne 0x444c4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMGetQMMasterStorePath_failed__last_err___d
push 0x515488
call fcn.0048d1f0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a578d
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00444920
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, 0x515610
call fcn.00444920
mov edi, 1
mov dword [0x515818], 1
mov eax, edi
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.004a578d
mov esp, ebp
pop ebp
ret