joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c3f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5866
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1cc], ebx
push 0
push dword [ebx + 0xc]
call fcn.004af917
add esp, 8
cmp eax, 0xffffffff
jne 0x43c43f
xor eax, eax
jmp 0x43c5bc
push 0x4ef0d0
push dword [ebx + 0xc]
lea eax, [ebp - 0x1bc]
xor esi, esi
push eax
mov dword [ebp - 0x1bc], esi
call fcn.004b1655
mov eax, dword [ebp - 0x1bc]
add esp, 0xc
test eax, eax
je 0x43c5ba
push 2
push esi
push eax
call fcn.004b1988
add esp, 0xc
push dword [ebp - 0x1bc]
call fcn.004b1f81
mov edi, eax
add esp, 4
cmp edi, 0x2800
jge 0x43c5ba
cmp edi, 0xffffffff
je 0x43c5ba
push edi
call fcn.004a5d8d
add esp, 4
lea esi, [edi + 0x40]
mov ebx, eax
mov dword [ebp - 0x1c0], esi
push esi
call fcn.004a5d8d
add esp, 4
mov dword [ebp - 0x1c8], eax
push edi
push 0
push ebx
call fcn.004a8960
add esp, 0xc
push esi
mov esi, dword [ebp - 0x1c8]
push 0
push esi
call fcn.004a8960
add esp, 0xc
push 0
push 0
push dword [ebp - 0x1bc]
call fcn.004b1988
add esp, 0xc
push dword [ebp - 0x1bc]
push edi
push 1
push ebx
call fcn.004b2158
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x20], 0x910f032
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0xb5dc7989
push esi
push eax
mov edx, edi
mov dword [ebp - 0x18], 0x715d2fc0
mov ecx, ebx
mov dword [ebp - 0x14], 0x884a6cee
call fcn.00433230
add esp, 0x1c
test al, al
je 0x43c5a0
push esi
lea ecx, [ebp - 0x1b8]
call fcn.0043c7d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c4]
push dword [eax + 0x10c]
call fcn.0043f130
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 2
call fcn.0043c790
push ecx
mov esi, esp
mov dword [ebp - 0x1c0], esi
mov ecx, dword [ebp - 0x1c4]
lea ecx, [ecx - 0x10]
call fcn.0043ed80
mov ecx, dword [ebp - 0x1cc]
add eax, 0x10
mov dword [esi], eax
call fcn.0043be80
lea ecx, [ebp - 0x1c4]
mov esi, eax
call fcn.0041cdd0
jmp 0x43c5a2
xor esi, esi
push ebx
call fcn.004a5d88
mov eax, dword [ebp - 0x1c8]
add esp, 4
push eax
call fcn.004a5d88
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x43f5e0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers_
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004b12b5
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004af9ef
add esp, 0x18
lea eax, [ebp - 0x20c]
cmp dword [ebp + 0xc], 0
je 0x43f645
push str.FileMonx64_
jmp 0x43f64a
push str.FileMoni386_
push 0x104
push eax
call fcn.004b12b5
add esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor esi, esi
push dword [esi + 0x511ce8]
lea eax, [ebp - 0x20c]
push eax
push 0x4ed424
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.004385e0
push dword [esi + 0x511ce8]
lea eax, [ebp - 0x414]
push eax
push 0x4ed424
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004385e0
add esp, 0x28
lea eax, [ebp - 0x61c]
push 0
push eax
lea eax, [ebp - 0x824]
push eax
call edi
test eax, eax
je 0x43f6d0
add esi, 0x24
cmp esi, 0x24
jb 0x43f662
mov esi, 1
jmp 0x43f6d2
xor esi, esi
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43f6ed
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
Function at 0x43f710
Capabilities:
Check for time delay via gettickcount
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x43f84f
push esi
push edi
push 0xf01ff
push str.TSysSC
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x43f84a
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x43f847
push str.QueryServiceStatusEx
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x43f84d
lea ecx, [ebp - 0x30]
push ecx
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x43f847
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
cmp ecx, 2
jne 0x43f839
mov eax, 0xcccccccd
mov ecx, 0x2710
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x43f7e1
mov edx, 0x3e8
jmp 0x43f7ea
cmp edx, 0x2710
cmova edx, ecx
mov eax, dword [0x5153f0]
test eax, eax
je 0x43f7ff
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43f836
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [ebp - 0x34]
test eax, eax
je 0x43f836
cmp dword [ebp - 0x14], ebx
jbe 0x43f822
call edi
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x43f82c
call edi
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
ja 0x43f836
mov ecx, dword [ebp - 0x24]
cmp ecx, 2
je 0x43f7c2
jmp 0x43f839
mov ecx, dword [ebp - 0x24]
cmp ecx, 4
jne 0x43f84d
mov ebx, dword [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call edi
push ebx
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret

Function at 0x43fda0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x43fde4
nop
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x43fdde
mov edx, dword [eax + 4]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x43fdde
add ecx, 0xffffffff
js 0x43fdea
mov eax, edx
cmp ecx, dword [eax - 0xc]
jg 0x43fdea
cmp word [eax + ecx*2], 0x30
jne 0x43fdde
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
mov esi, dword [esi]
cmp esi, dword [ebx]
jne 0x43fdb0
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0x80070057
call fcn.0041cdf0
int3
Function at 0x440780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx]
test eax, eax
je 0x44081e
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 8]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 1
jne 0x44081e
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0041ca30
mov edx, dword [ebp - 4]
shr edx, 1
add edx, 1
js 0x440828
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x4407e3
push edx
mov ecx, esi
call fcn.0041cb60
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44081d
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp + 0xc]
shr eax, 1
push ecx
mov word [ecx + eax*2], dx
mov ecx, esi
call fcn.00421f40
mov edi, 1
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.0041cdf0
int3

Function at 0x440870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx]
push esi
xor esi, esi
test edx, edx
je 0x4408b6
mov eax, dword [ebp + 0xc]
push ebx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440883
sub eax, ebx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
pop ebx
cmove esi, ecx
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4409f0
Capabilities:
Move file

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x14], 8
jb 0x440a00
mov eax, dword [esi]
jmp 0x440a02
mov eax, esi
push 0
push eax
call fcn.004af917
add esp, 8
cmp eax, 0xffffffff
je 0x440a52
cmp dword [edi + 0x14], 8
jb 0x440a1c
mov ecx, dword [edi]
jmp 0x440a1e
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x440a28
mov eax, dword [esi]
jmp 0x440a2a
mov eax, esi
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x440a52
cmp dword [edi + 0x14], 8
jb 0x440a40
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x440a48
mov esi, dword [esi]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov eax, 1
pop esi
ret
Function at 0x441620
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b7c
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.004a8960
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.004af9ef
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x441ba0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5c10
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.004900a0
cmp eax, 8
jne 0x441c13
call fcn.00488f50
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 0x4d5c48
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.0048a150
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.0048a150
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.004a5d13
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.0048d710
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 0x4d5c78
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.00490130
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.0048d4b0
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 0x4d3df8
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.0048d4b0
add esp, 8
lea ecx, [ebp - 0x10]
push str.TSKsp.sys
call fcn.0041c970
mov dword [ebp - 4], 0
call fcn.0048a150
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.0048d4b0
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 0x4d3df8
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.0048d4b0
add esp, 8
lea ecx, [ebp - 0x10]
push 0x4f0a60
call fcn.0041c970
mov dword [ebp - 4], 0
call fcn.0048a150
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.0048d4b0
add esp, 8
push str.Install_TSSysKit_Server_end
push 0x515488
call fcn.0048d4b0
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