joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4f80c0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42b7dd
push eax
push ecx
mov eax, esp
push 0
push SysReAllocString
push 0
push ecx
mov dword [eax], 0
mov ecx, esi
mov eax, esp
push edi
mov dword [eax], 0
call fcn.0040c420
cmp byte [ebp + 0x1c], 0
je 0x42b7ef
mov ecx, dword [esi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.004246f0
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x8c]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42b817
mov eax, dword [ebp + 0xc]
sub ecx, eax
push 1
push dword [esp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
jmp 0x42b86c
push 0
push edi
mov dword [esp + 0x20], 0x68
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [ebx + ecx]
cmp eax, edx
jle 0x42b84d
mov ecx, edx
sub ecx, ebx
mov dword [ebp + 0xc], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [edi + edx]
cmp eax, dword [esp + 0x38]
jle 0x42b866
mov edx, dword [esp + 0x38]
sub edx, edi
mov dword [ebp + 0x10], edx
push 1
push edi
push ebx
push edx
push ecx
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp dword [esi + 0x108], 0
jne 0x42b8d6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0042ca70
mov edi, eax
test edi, edi
je 0x42b8f0
cmp dword [esi + 0x10c], 0
je 0x42b8bc
lea ecx, [esi + 0x104]
push ecx
mov ecx, edi
call fcn.0042c9b0
lea eax, [esi + 0x104]
mov ecx, edi
push eax
call fcn.0042c920
mov dword [esi + 0x10c], 1
jmp 0x42b8f0
mov ecx, dword [esi + 0x124]
mov edx, 0x6a4
mov dword [esi + 0x108], 0
call fcn.00431200
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 0x18
Function at 0x430f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cacbd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x4f80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.0049a960
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004aef55
add esp, 4
call fcn.004aef34
mov esi, eax
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x4310a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_timer_lu
push eax
call fcn.0041f980
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov ecx, 0x4fcf60
push esi
call fcn.004256b0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43100e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov dword [ebp - 0x18], 0x4fcf60
mov dword [ebp - 0x38], 0x430c80
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x4df384
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4fcf58], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x50d610]
mov dword [0x4f8c44], 0
sub eax, dword [0x50d60c]
je 0x431095
push 0
push 0x32
push 1
push dword [0x4fcf58]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4f8c44], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404de0
int3
Function at 0x433aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esi + 0x154], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x158], 0
mov dword [esi + 0x174], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], 1
call fcn.00433c30
lea ebx, [esi + 0x150]
mov dword [ebp + 0xc], ebx
call fcn.0044e710
mov esi, eax
test ebx, ebx
je 0x433b72
push edi
lea eax, [esi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push dword [esi + 0xfc]
lea edi, [esi + 0xf8]
push dword [edi]
call fcn.00496fa0
cmp eax, dword [esi + 0xfc]
jne 0x433b3a
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x433b2e
mov dword [eax], ebx
add dword [edi + 4], 4
jmp 0x433b3a
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00404150
lea eax, [esi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [esi + 0x104], 0
pop edi
jne 0x433b72
push 0
push 0
push esi
push 0x44e540
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x104], eax
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x43a200
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb51f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004051a0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0x1e
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 1
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1c0], edi
mov dword [edi + method.TXEventObserver_class_CPageHome__class_IEventObserver_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb4], 1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0xa
cmp byte [ebx + 8], 0
je 0x43a3c8
mov eax, dword [ebx]
cmp eax, 0x64
je 0x43a3c8
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push 0
call esi
push 0x64
mov dword [edi + 0xe0], eax
push dword [ebx]
push dword [edi + 0xe4]
call esi
mov dword [edi + 0xe4], eax
push 0x320
call fcn.004989e3
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00415ca0
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x150], esi
je 0x43a411
test esi, esi
je 0x43a3fb
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x150]
mov dword [edi + 0x150], esi
test eax, eax
je 0x43a411
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x320
call fcn.004989e3
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00415ca0
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x154], esi
je 0x43a45a
test esi, esi
je 0x43a444
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x154]
mov dword [edi + 0x154], esi
test eax, eax
je 0x43a45a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x1c4], 0x43bf20
mov eax, edi
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 0x43b040
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4f80c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1a0], 0
je 0x43b14c
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, edi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x1a4]
mov edx, dword [edi + 0x64]
sub ecx, esi
sub edx, dword [edi + 0x5c]
mov eax, dword [esp + 0x28]
add edx, esi
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov eax, dword [edi + 0x188]
sub eax, dword [edi + 0x190]
sub eax, esi
add eax, edx
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [edi + 0x198]
cmovle ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x43b12f
mov eax, dword [esp + 0x1c]
mov ebx, dword [edi + 0x194]
cmp dword [esp + 0x18], eax
jne 0x43b10f
sub ebx, edx
add ebx, esi
mov dword [edi + 0x198], ebx
jmp 0x43b139
sub edx, esi
mov eax, edx
cdq
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
imul ebx
push esi
push edx
push eax
call fcn.004c6aa0
mov dword [edi + 0x198], eax
test eax, eax
jns 0x43b139
mov dword [edi + 0x198], 0
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push 0x4b0
mov ecx, edi
call dword [eax + 0x28]
jmp 0x43b196
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [edi + 0x184]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push dword [esp + 0x24]
movups xmmword [eax], xmm0
push dword [esp + 0x24]
call fcn.0043b2d0
mov ecx, edi
test eax, eax
je 0x43b18f
push 1
jmp 0x43b191
push 0
call fcn.0043b360
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 0x10

Function at 0x443df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x443e35
cmp dword [ebp + 8], 0
jne 0x443e18
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax + 0xd0]
test eax, eax
je 0x443e35
mov eax, dword [esi + 0x168]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x448570
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4f80c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1a0], 0
je 0x448660
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, dword [esp + 0x18]
xor edx, edx
mov edi, dword [esi + 0x60]
sub edi, dword [esi + 0x58]
mov ecx, dword [esi + 0x1a4]
add edi, ebx
mov eax, dword [esp + 0x24]
sub ecx, ebx
add eax, ecx
mov dword [esp + 0x18], edi
cmovns edx, eax
mov eax, dword [esi + 0x184]
sub eax, dword [esi + 0x18c]
mov dword [esp + 0x20], eax
sub eax, ebx
add eax, edi
cmp edx, eax
cmovg edx, eax
mov eax, dword [esi + 0x198]
mov dword [esp + 0x10], eax
test edx, edx
jne 0x448623
xor ecx, ecx
jmp 0x448647
mov eax, dword [esp + 0x20]
sub edi, ebx
mov ecx, dword [esi + 0x194]
add eax, edi
cmp edx, eax
jne 0x44863d
sub ecx, dword [esp + 0x18]
add ecx, ebx
jmp 0x448647
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 0x198], ecx
lea ecx, [esp + 0x10]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x28]
jmp 0x4486aa
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x184]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x24]
movups xmmword [eax], xmm0
push dword [esp + 0x24]
call fcn.004487c0
mov ecx, esi
test eax, eax
je 0x4486a3
push 1
jmp 0x4486a5
push 0
call fcn.0043b360
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc80d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4f80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x144]
mov dword [ebp - 4], 0
mov dword [esi + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004033e0
cmp dword [esi + 0x170], 0
movups xmm0, xmmword [ebp + 0x14]
movups xmmword [esi + 0x148], xmm0
movups xmm0, xmmword [ebp + 0x24]
movups xmmword [esi + 0x158], xmm0
movq xmm0, qword [ebp + 0x34]
movq qword [esi + 0x168], xmm0
jne 0x450d73
push 0
push 0
push esi
push 0x450c70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x170], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450d95
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 esi
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4521e0
Capabilities:
Create process on windows
Create process suspended
Get explorer pid
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc9d5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4f80c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
xor edi, edi
mov esi, dword [ebp + 0x30]
test esi, esi
je 0x45224a
inc esi
mov ecx, 2
mov eax, esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.004992e6
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
mov edi, eax
cmova ecx, dword [ebp + 0x20]
push ecx
push esi
push edi
call fcn.004af545
add esp, 0x10
push 0x44
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 0
push 0
push eax
mov dword [ebp - 0x68], 0
call fcn.0049a960
add esp, 0xc
mov dword [ebp - 0x38], 1
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x34], ax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x70]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], eax
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x6c]
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0x20
push edi
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov ecx, dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], eax
test ecx, ecx
je 0x452301
push ecx
call esi
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x45230b
push eax
call esi
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x452315
push eax
call esi
test edi, edi
je 0x452322
push edi
call fcn.00498e68
add esp, 4
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x452358
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45234e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4523c0
push ecx
push edx
call fcn.00498a13
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x4523a2
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452398
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4523c0
push ecx
push edx
call fcn.00498a13
add esp, 8
mov eax, dword [ebp - 0x78]
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.00498d60
mov esp, ebp
pop ebp
ret
call fcn.0049df3f
int3
Function at 0x454280
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd06
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4f80c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x84]
push eax
call fcn.00454130
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
jne 0x45436f
mov esi, dword [0x50d658]
test esi, esi
je 0x4542de
lock inc dword [esi + 4]
mov esi, dword [0x50d658]
mov ecx, dword [0x50d654]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x88]
mov eax, dword [ecx]
push edx
call dword [eax + 0x6c]
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454310
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.00453bc0
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x88]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45434d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x45436f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45436f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x45436f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x6c], 7
lea edi, [ebp - 0x80]
push 0xf003f
cmova edi, dword [ebp - 0x80]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4543e8
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4543ab
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4543e8
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x28], 1
je 0x4543d5
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ecx
push dword [ebp - 0x28]
push 1
push edi
call fcn.0045b6f0
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0x50]
call fcn.00426120
lea ecx, [ebp - 0x68]
call fcn.00426120
lea ecx, [ebp - 0x80]
call fcn.00426120
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.00498d60
mov esp, ebp
pop ebp
ret
Function at 0x457160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x4f80c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4572a6
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0049a960
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x4571b6
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x4571c6
push esi
push 0x4e10a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x84c], 0x44
push eax
lea eax, [ebp - 0x84c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
movlpd qword [ebp - 0x848], xmm0
push eax
push 0
movlpd qword [ebp - 0x840], xmm0
movlpd qword [ebp - 0x838], xmm0
movlpd qword [ebp - 0x830], xmm0
movlpd qword [ebp - 0x828], xmm0
movlpd qword [ebp - 0x820], xmm0
movlpd qword [ebp - 0x818], xmm0
movlpd qword [ebp - 0x810], xmm0
movups xmmword [ebp - 0x85c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4572a6
cmp dword [ebp + 0x10], 0
je 0x457279
push dword [ebp + 0x14]
push dword [ebp - 0x85c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push eax
push dword [ebp - 0x85c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x85c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x858]
call esi
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00498d60
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4587e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4f80c0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x45884b
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x45884b
push 0x228
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0049a960
add esp, 0xc
mov dword [esp + 0x18], 0x22c
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x458864
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.004588d0
nop dword [eax + eax]
push edi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x458891
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00458cf0
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x458870
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 8
Function at 0x45a800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a810
sub eax, ebx
sar eax, 1
add eax, eax
push eax
push dword [ebp + 8]
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
and eax, 0x80004005
pop ebx
pop ebp
ret