joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c880
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c60d6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x2c]
call fcn.0043c500
xor ebx, ebx
mov dword [esp + 0x288], ebx
call fcn.0047dba0
mov dword [esp + 0x1c], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x288], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x48c938
lea eax, [esp + 0x44]
push eax
push edi
mov dword [esp + 0x4c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
jne 0x48c960
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
mov byte [esp + 0x288], 0
call fcn.0047d1c0
lea ecx, [esp + 0x2c]
call fcn.0043c9a0
xor eax, eax
jmp 0x48ca1d
lea ecx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x1c]
call fcn.0047cdf0
mov edx, dword [esp + 0x5c]
mov dword [eax], edx
lea eax, [esp + 0x44]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48c960
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xa
nop
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.0041dc10
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
mov eax, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ecx
call fcn.0047cea0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x48c9c8
cmp eax, dword [esp + 0x24]
je 0x48c9cd
call fcn.004a194d
mov ecx, dword [ebx + 4]
cmp ecx, dword [esp + 0x28]
je 0x48c9fe
mov edx, edi
sub edi, 1
test edx, edx
je 0x48c9fe
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
call fcn.0047cdf0
mov ecx, dword [eax]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.0048ed60
jmp 0x48c990
lea eax, [esp + 0x18]
mov byte [esp + 0x288], 0
call fcn.0047d1c0
lea ecx, [esp + 0x2c]
call fcn.0043c9a0
mov eax, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004a1723
mov esp, ebp
pop ebp
ret
Function at 0x48ca50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4e9020
push 0x4a84a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4f3280]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x48cafe
lea ecx, [ebp - 0x28]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x48cafe
mov edi, 1
mov dword [ebp - 0x38], edi
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea ecx, [ebp - 0x38]
push ecx
push esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x48cafe
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0048cb21
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d7f0
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c741b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x228], eax
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x1a
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408320
lea ecx, [esp + 0xc]
mov dword [esp + 0x23c], edi
call fcn.00471d00
test al, al
je 0x48d86d
push 0x4dfaac
mov ecx, esi
call fcn.00431e70
jmp 0x48d8e9
lea ecx, [esp + 0xc]
call fcn.00403400
mov edi, eax
sub edi, 1
cmp dword [esp + 0x20], edi
ja 0x48d886
call fcn.004a0626
lea ecx, [esp + 0xc]
call fcn.00404160
movzx eax, word [eax + edi*2]
cmp ax, 0x5c
je 0x48d8ad
cmp ax, 0x2f
je 0x48d8ad
push 0x4e1d00
lea ecx, [esp + 0x10]
call fcn.0044b400
push 0x4e25b0
lea ecx, [esp + 0x10]
call fcn.0044b6c0
lea ecx, [esp + 0xc]
call fcn.004035c0
push eax
call fcn.0048c630
add esp, 4
test eax, eax
mov ecx, esi
jne 0x48d8df
push 0x4dfaac
call fcn.00431e70
jmp 0x48d8e9
lea edx, [esp + 0xc]
push edx
call fcn.00403470
lea ecx, [esp + 0xc]
call fcn.004034c0
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004a1723
add esp, 0x238
ret

Function at 0x48d920
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c741b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x228], eax
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x23
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408320
lea ecx, [esp + 0xc]
mov dword [esp + 0x23c], edi
call fcn.00471d00
test al, al
je 0x48d99d
push 0x4dfaac
mov ecx, esi
call fcn.00431e70
jmp 0x48da19
lea ecx, [esp + 0xc]
call fcn.00403400
mov edi, eax
sub edi, 1
cmp dword [esp + 0x20], edi
ja 0x48d9b6
call fcn.004a0626
lea ecx, [esp + 0xc]
call fcn.00404160
movzx eax, word [eax + edi*2]
cmp ax, 0x5c
je 0x48d9dd
cmp ax, 0x2f
je 0x48d9dd
push 0x4e1d00
lea ecx, [esp + 0x10]
call fcn.0044b400
push 0x4e25b0
lea ecx, [esp + 0x10]
call fcn.0044b6c0
lea ecx, [esp + 0xc]
call fcn.004035c0
push eax
call fcn.0048c630
add esp, 4
test eax, eax
mov ecx, esi
jne 0x48da0f
push 0x4dfaac
call fcn.00431e70
jmp 0x48da19
lea edx, [esp + 0xc]
push edx
call fcn.00403470
lea ecx, [esp + 0xc]
call fcn.004034c0
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004a1723
add esp, 0x238
ret
Function at 0x48ded0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c4718
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
mov dword [esp + 0x20], 0
je 0x48dfeb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200000
ja 0x48dfd0
lea edi, [eax + 1]
push edi
mov dword [esp + 0x18], 0
mov esi, eax
call fcn.004a0665
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48dfd0
push edi
push 0
push ebx
call fcn.004a1d00
add esp, 0xc
mov edi, ebx
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48dfc7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48dfc7
sub esi, eax
add edi, eax
test esi, esi
jne 0x48df66
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x48dfa9
push eax
lea ecx, [esp + 0x14]
call fcn.0043eb50
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041cb30
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push ebx
call fcn.004a171e
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x48dfeb
push eax
lea ecx, [esp + 0x14]
call fcn.0043eb50
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041cb30
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x48e010
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c81b7
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x24c], eax
push esi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x48e19d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e19d
push 0x208
lea eax, [esp + 0x4e]
push 0
push eax
mov word [esp + 0x54], 0
call fcn.004a1d00
push 0x104
lea ecx, [esp + 0x58]
push esi
push ecx
call fcn.004a4e04
add esp, 0x18
test eax, eax
jne 0x48e0c2
push esi
lea ecx, [esp + 0x14]
call fcn.00431e70
mov dword [esp + 0x260], 0
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4f8998
call fcn.004514c0
lea ecx, [esp + 0x10]
call fcn.004069c0
jmp 0x48e19d
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
je 0x48e0ef
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
call fcn.00431e70
mov dword [esp + 0x260], 1
jmp 0x48e0a5
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x10]
call fcn.00402fc0
lea ecx, [esp + 0xc]
mov dword [esp + 0x260], 2
call fcn.0043aa50
xor esi, esi
mov ecx, dword [esi + 0x4f4750]
push ecx
lea ecx, [esp + 0xc]
call fcn.00402fc0
lea ecx, [esp + 8]
mov byte [esp + 0x260], 3
call fcn.0043aa50
push 0
lea ecx, [esp + 0xc]
call fcn.004636c0
push eax
lea ecx, [esp + 0x14]
call fcn.0043a9b0
test eax, eax
lea ecx, [esp + 8]
jg 0x48e1c4
mov byte [esp + 0x260], 2
call fcn.00403050
add esi, 4
cmp esi, 0x44
jb 0x48e113
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x30]
call fcn.00431e70
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4f8998
mov byte [esp + 0x264], 4
call fcn.004514c0
lea ecx, [esp + 0x2c]
call fcn.004069c0
lea ecx, [esp + 0xc]
call fcn.00403050
xor al, al
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.004a1723
add esp, 0x25c
ret
call fcn.00403050
lea ecx, [esp + 0xc]
call fcn.00403050
mov al, 1
jmp 0x48e19f

Function at 0x48e1e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x208
push eax
mov dword [esp + 8], eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.004a1d00
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.00431e70
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.004a1723
add esp, 0x214
ret
Function at 0x48e270
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48e354
push 0x400
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004a1d00
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x4e1d0c
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48e34a
lea edx, [esp + 8]
push edx
push edi
push esi
call fcn.004a4d7c
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e300
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x48e326
push 0x4e1d00
push edi
push esi
call fcn.004a6a5a
add esp, 0xc
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004a1723
add esp, 0x410
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.004a1723
add esp, 0x410
ret

Function at 0x48e370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48e42b
push 0x400
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004a1d00
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.Version
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48e421
mov eax, dword [esp + 0x414]
lea edx, [esp + 8]
push edx
push eax
push esi
call fcn.004a4d7c
mov ecx, dword [esp + 0xc]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004a1723
add esp, 0x410
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.004a1723
add esp, 0x410
ret
Function at 0x48e450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c8158
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004a1d00
xor eax, eax
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 0x181
call fcn.00417ee0
push edi
push ebx
lea ecx, [esp + 0x10]
push str.__s___s
push ecx
mov dword [esp + 0x88], 0
call fcn.0041b3f0
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
mov edx, esi
neg edx
push 0
sbb edx, edx
push 0
and edx, 0xa
push 0
lea ecx, [esp + 0x28]
mov word [esp + 0x74], dx
call fcn.004636c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48e54d
mov edx, dword [ebp + 8]
push edi
push ebx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_s
mov esi, 0x4f8948
call fcn.0048a930
add esp, 0x18
lea ecx, [esp + 8]
call fcn.00403050
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00442980
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call fcn.00442980
mov eax, dword [ebp + 8]
test eax, eax
mov byte [esp + 0x78], 2
je 0x48e5ad
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48e59a
push str.CQMTProcess::RunApp_WAIT_TIMEOUT
mov esi, 0x4f8948
call fcn.0048a930
add esp, 4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48e5ad
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esp + 0xc]
call fcn.0043ba00
lea ecx, [esp + 0x10]
call fcn.0043ba00
lea ecx, [esp + 8]
call fcn.00403050
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48e5e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c8118
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004a1d00
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 0x181
call fcn.00417ee0
push edi
push ebx
lea ecx, [esp + 0x14]
push str.__s___s
push ecx
mov dword [esp + 0x88], 0
call fcn.0041b3f0
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
mov edx, esi
neg edx
push 0
sbb edx, edx
push 0
and edx, 0xa
push 0
lea ecx, [esp + 0x2c]
mov word [esp + 0x74], dx
call fcn.004636c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48e6d9
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__show:_d__path:_ws__cmd:_s
mov esi, 0x4f8948
call fcn.0048a930
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.00403050
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.00442980
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.0043ba00
lea ecx, [esp + 0xc]
call fcn.00403050
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48e710
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
xor ebx, ebx
push ebx
push 2
mov dword [edi], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48e75f
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x48e780
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004a1723
add esp, 0x230
ret
cmp dword [esp + 0x14], ebx
jbe 0x48e798
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.004a35b4
add esp, 8
test eax, eax
je 0x48e7a9
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48e780
jmp 0x48e7b4
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004a1723
add esp, 0x230
ret
Function at 0x48e7e0
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, 1
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0048e710
mov ebp, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x48e86b
push ebp
xor edi, edi
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48e869
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1f4
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x48e869
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x48e869
push ebp
push str.QMTProcess::CloseProcessByID___d
mov ebx, 0x4f8948
call fcn.0048a740
add esp, 8
mov esi, edi
add dword [esp + 0x10], 1
test ebp, ebp
je 0x48e87f
cmp dword [esp + 0x10], 0xa
jl 0x48e7f4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x48ec10
Capabilities:
Delete service

Disassembly:
sub esp, 8
push esi
mov esi, eax
test esi, esi
je 0x48ec96
cmp word [esi], 0
je 0x48ec96
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
jne 0x48ec40
pop edi
pop esi
add esp, 8
ret
push ebx
push 0x10020
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
je 0x48ec87
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x48ec84
lea esi, [esp + 0xc]
call fcn.0048ee00
lea esi, [esp + 0x10]
call fcn.0048ee00
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret
push esi
call ebx
push edi
call ebx
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x48eca0
Capabilities:
Query service status

Disassembly:
sub esp, 0x24
test edi, edi
je 0x48ed55
cmp word [edi], 0
je 0x48ed55
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
je 0x48ed08
push 4
push edi
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
mov dword [esp + 4], eax
jne 0x48ed0d
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop esi
add esp, 0x24
ret
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
lea esi, [esp + 4]
jne 0x48ed36
call fcn.0048ee00
lea esi, [esp + 8]
call fcn.0048ee00
xor eax, eax
pop esi
add esp, 0x24
ret
cmp dword [esp + 0x10], 1
je 0x48ed21
call fcn.0048ee00
lea esi, [esp + 8]
call fcn.0048ee00
mov eax, 1
pop esi
add esp, 0x24
ret
xor eax, eax
add esp, 0x24
ret