joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3f7b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xec]
mov ebx, dword [ebp + 0x10]
push 0x42
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0xa4], 0x740068
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xa0], 0x700074
mov dword [ebp - 0x9c], 0x3a0073
mov dword [ebp - 0x98], 0x2f002f
mov dword [ebp - 0x94], 0x2e0063
mov dword [ebp - 0x90], 0x6a0067
mov dword [ebp - 0x8c], 0x71002e
mov dword [ebp - 0x88], 0x2e0071
mov dword [ebp - 0x84], 0x6f0063
mov dword [ebp - 0x80], 0x2f006d
mov dword [ebp - 0x7c], 0x610070
mov dword [ebp - 0x78], 0x6b0063
mov dword [ebp - 0x74], 0x6f0063
mov dword [ebp - 0x70], 0x66006e
mov dword [ebp - 0x6c], 0x670069
mov dword [ebp - 0x68], 0x73003f
mov dword [ebp - 0x64], 0x720065
mov dword [ebp - 0x60], 0x690076
mov dword [ebp - 0x5c], 0x650063
mov dword [ebp - 0x58], 0x640069
mov dword [ebp - 0x54], 0x25003d
mov dword [ebp - 0x50], 0x260064
mov dword [ebp - 0x4c], 0x6c0063
mov dword [ebp - 0x48], 0x650069
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650076
mov dword [ebp - 0x3c], 0x3d0072
mov dword [ebp - 0x38], 0x490025
mov dword [ebp - 0x34], 0x340036
mov dword [ebp - 0x30], 0x260064
mov dword [ebp - 0x2c], 0x6a0067
mov dword [ebp - 0x28], 0x750067
mov dword [ebp - 0x24], 0x640069
mov dword [ebp - 0x20], 0x25003d
mov dword [ebp - 0x1c], 0x73
call fcn.0046b010
xor eax, eax
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
cmp word [esi], ax
je 0x43b1ff
mov eax, esi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b1f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x104]
call fcn.004393e0
mov dword [ebp - 4], 0
call fcn.0047d4e0
lea eax, [ebp - 0x104]
push eax
call fcn.0047d3c0
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [ebp - 0xf0]
mov esi, edx
cmp ecx, 8
jb 0x43b24d
inc ecx
push ecx
push dword [ebp - 0x104]
lea ecx, [ebp - 0x104]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
test edi, edi
jne 0x43b27c
test esi, esi
jne 0x43b27c
mov edi, 0x49af00d1
mov esi, 0xc0006
lea eax, [ebp - 0xec]
push eax
push esi
push edi
push 0x6a7
lea eax, [ebp - 0xa4]
push eax
push ebx
call fcn.00422000
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43b830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4066
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.004ae3cc
add esp, 8
cmp eax, 0xffffffff
jne 0x43b87f
xor eax, eax
jmp 0x43b9fc
push 0x4ee108
push dword [ebx + 0xc]
lea eax, [ebp - 0x1bc]
xor esi, esi
push eax
mov dword [ebp - 0x1bc], esi
call fcn.004b010a
mov eax, dword [ebp - 0x1bc]
add esp, 0xc
test eax, eax
je 0x43b9fa
push 2
push esi
push eax
call fcn.004b043d
add esp, 0xc
push dword [ebp - 0x1bc]
call fcn.004b0a36
mov edi, eax
add esp, 4
cmp edi, 0x2800
jge 0x43b9fa
cmp edi, 0xffffffff
je 0x43b9fa
push edi
call fcn.004a47b7
add esp, 4
lea esi, [edi + 0x40]
mov ebx, eax
mov dword [ebp - 0x1c0], esi
push esi
call fcn.004a47b7
add esp, 4
mov dword [ebp - 0x1c8], eax
push edi
push 0
push ebx
call fcn.004a73c0
add esp, 0xc
push esi
mov esi, dword [ebp - 0x1c8]
push 0
push esi
call fcn.004a73c0
add esp, 0xc
push 0
push 0
push dword [ebp - 0x1bc]
call fcn.004b043d
add esp, 0xc
push dword [ebp - 0x1bc]
push edi
push 1
push ebx
call fcn.004b0c0d
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.00433480
add esp, 0x1c
test al, al
je 0x43b9e0
push esi
lea ecx, [ebp - 0x1b8]
call fcn.0043bc10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c4]
push dword [eax + 0x10c]
call fcn.0043e510
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 2
call fcn.0043bbd0
push ecx
mov esi, esp
mov dword [ebp - 0x1c0], esi
mov ecx, dword [ebp - 0x1c4]
lea ecx, [ecx - 0x10]
call fcn.0043e160
mov ecx, dword [ebp - 0x1cc]
add eax, 0x10
mov dword [esi], eax
call fcn.0043b2c0
lea ecx, [ebp - 0x1c4]
mov esi, eax
call fcn.0041ce40
jmp 0x43b9e2
xor esi, esi
push ebx
call fcn.004a47b2
mov eax, dword [ebp - 0x1c8]
add esp, 4
push eax
call fcn.004a47b2
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x43e9c0
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.004afd6a
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004ae4a4
add esp, 0x18
lea eax, [ebp - 0x20c]
cmp dword [ebp + 0xc], 0
je 0x43ea25
push str.FileMonx64_
jmp 0x43ea2a
push str.FileMoni386_
push 0x104
push eax
call fcn.004afd6a
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 0x4ec424
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00438860
push dword [esi + 0x511ce8]
lea eax, [ebp - 0x414]
push eax
push 0x4ec424
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.00438860
add esp, 0x28
lea eax, [ebp - 0x61c]
push 0
push eax
lea eax, [ebp - 0x824]
push eax
call edi
test eax, eax
je 0x43eab0
add esi, 0x24
cmp esi, 0x24
jb 0x43ea42
mov esi, 1
jmp 0x43eab2
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 0x43eacd
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.004a474b
mov esp, ebp
pop ebp
ret 8
Function at 0x43eaf0
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 0x43ec2f
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 0x43ec2a
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x43ec27
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 0x43ec2d
lea ecx, [ebp - 0x30]
push ecx
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x43ec27
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 0x43ec19
mov eax, 0xcccccccd
mov ecx, 0x2710
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x43ebc1
mov edx, 0x3e8
jmp 0x43ebca
cmp edx, 0x2710
cmova edx, ecx
mov eax, dword [0x515370]
test eax, eax
je 0x43ebdf
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43ec16
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 0x43ec16
cmp dword [ebp - 0x14], ebx
jbe 0x43ec02
call edi
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x43ec0c
call edi
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
ja 0x43ec16
mov ecx, dword [ebp - 0x24]
cmp ecx, 2
je 0x43eba2
jmp 0x43ec19
mov ecx, dword [ebp - 0x24]
cmp ecx, 4
jne 0x43ec2d
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.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x43f180
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 0x43f1c4
nop
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x43f1be
mov edx, dword [eax + 4]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x43f1be
add ecx, 0xffffffff
js 0x43f1ca
mov eax, edx
cmp ecx, dword [eax - 0xc]
jg 0x43f1ca
cmp word [eax + ecx*2], 0x30
jne 0x43f1be
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
mov esi, dword [esi]
cmp esi, dword [ebx]
jne 0x43f190
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0x80070057
call fcn.0041ce60
int3
Function at 0x43fa60
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 0x43fafe
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 0x43fafe
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0041caa0
mov edx, dword [ebp - 4]
shr edx, 1
add edx, 1
js 0x43fb08
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x43fac3
push edx
mov ecx, esi
call fcn.0041cbd0
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 0x43fafd
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.00422190
mov edi, 1
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.0041ce60
int3

Function at 0x43fb50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx]
push esi
xor esi, esi
test edx, edx
je 0x43fb96
mov eax, dword [ebp + 0xc]
push ebx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fb63
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 0x4403f0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d431c
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.0041c9e0
push str.0s
lea edx, [esi + 4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.0041c030
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x42c]
call fcn.00422020
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 0x440488
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.004a73c0
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.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x4404d7
push 0x80004005
call fcn.0041ce60
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 0x4ef294
push eax
call fcn.00422000
mov esi, dword [ebp - 0x428]
lea eax, [ebp - 0x424]
push esi
push 0x208
push eax
call fcn.004ae4a4
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 0x440560
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x440571
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 0x44058c
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 0x4405ad
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 0x4405cf
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x440970
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d43b0
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.0041c9e0
mov dword [ebp - 4], 0
cmp dword [0x515bf0], 0
jne 0x4409e3
mov dword [0x515bf0], 1
call fcn.0048ea70
cmp eax, 8
jne 0x4409e3
call fcn.00487450
cmp eax, 0x3839
jl 0x4409e3
mov dword [0x515bec], 1
jmp 0x4409ec
cmp dword [0x515bec], 0
je 0x4409fb
push 0x12
push str.QMIEProtect_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0041cd40
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.0041c6e0
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.0041c4b0
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 0x440a8e
push SysReAllocString
push str.QMIEProtect
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x440a80
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 0x440adf
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 0x440aac
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 0x440acb
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 0x440a87
Function at 0x440af0
Capabilities:
Create service
Modify service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d43e8
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.0041c6e0
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov eax, dword [0x511ea4]
cmp eax, 0xffffffff
jne 0x440b70
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 0x440b97
push 0x511ea4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x440b97
mov eax, dword [0x511ea4]
test eax, eax
je 0x440ba1
push str.QMUdisk64.sys
lea ecx, [ebp - 0x30]
call fcn.0041c9e0
mov byte [ebp - 4], 1
call fcn.00488650
test eax, eax
je 0x440bca
push 0x10
push str.QMUdisk64_ev.sys
jmp 0x440bc2
mov dword [0x511ea4], 0
push str.QMUdisk.sys
lea ecx, [ebp - 0x30]
call fcn.0041c9e0
mov byte [ebp - 4], 2
call fcn.00488650
test eax, eax
je 0x440bca
push 0xe
push str.QMUdisk_ev.sys
lea ecx, [ebp - 0x30]
call fcn.0041cd40
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push dword [eax - 0xc]
push eax
call fcn.0041c4b0
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 0x440bf8
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 0x440cb8
push 0xf01ff
push str.QMUdisk
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x440c68
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 0x440c93
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 0x440ca4
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 0x440cb3
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 0x440cd7
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x440e80
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 0x440f18
push edi
push 0xf01ff
push str.TsFltMgr
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x440ede
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 0x440f10
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x440f09
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_Fail__error_:_d__filePath_:__s
push 0x515408
call fcn.0048c0f0
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 0x4412f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4418
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.0041c030
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 0x441354
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4413f1
push str.QQPCRTP.exe
mov edx, ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
call fcn.0041c030
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
mov edx, 0x4ef7d8
push 0
push 0xffffffffffffffff
call fcn.0048eb00
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 0x4413af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push 0x4ef7d8
push str.QQPCRTP.exe__ws__return:_d
push 0x515408
call fcn.0048be90
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x4413d8
cmp ecx, 0x431
jne 0x4413f1
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 0x441ed0
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.TSKsp
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00440d00
test eax, eax
je 0x442004
cmp dword [ebp - 0x14], 0
je 0x442004
push str.Install_TSKsp_Server
push 0x515408
call fcn.0048be90
add esp, 8
lea ecx, [ebp - 0x10]
push str.TSKsp.sys
call fcn.0041c9e0
mov dword [ebp - 4], 0
call fcn.00488650
test eax, eax
je 0x441f5d
push str.TSKsp_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 0x441f98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x441fd3
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00422020
add esp, 4
push str.TSKsp
push dword [eax]
call fcn.00440fc0
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441fd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Install_TSKsp_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 0x442004
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