joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438d70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d059f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fe0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00404f70
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 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], 0x1e
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], 1
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x18c], 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 + 0xb0], 1
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0xa
cmp byte [ebx + 4], 0
je 0x438f38
mov eax, dword [ebx]
cmp eax, 0x64
je 0x438f38
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push 0
call esi
push 0x64
mov dword [edi + 0xdc], eax
push dword [ebx]
push dword [edi + 0xe0]
call esi
mov dword [edi + 0xe0], eax
push 0x2a4
call fcn.0049ca7e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00415930
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x11c], esi
je 0x438f81
test esi, esi
je 0x438f6b
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x11c]
mov dword [edi + 0x11c], esi
test eax, eax
je 0x438f81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x2a4
call fcn.0049ca7e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00415930
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x120], esi
je 0x438fca
test esi, esi
je 0x438fb4
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x120]
mov dword [edi + 0x120], esi
test eax, eax
je 0x438fca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x190], 0x43aa90
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 0x439bb0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4fe0c0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x16c], 0
je 0x439cb8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, edi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0x170]
mov edx, dword [edi + 0x64]
sub ecx, ebx
sub edx, dword [edi + 0x5c]
mov eax, dword [esp + 0x20]
add edx, ebx
mov esi, dword [edi + 0x154]
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
sub esi, dword [edi + 0x15c]
mov eax, dword [edi + 0x164]
sub esi, ebx
add esi, edx
mov dword [esp + 0x18], eax
cmp ecx, esi
mov ebx, esi
cmovle ebx, ecx
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x439c9b
mov ebx, dword [edi + 0x160]
cmp dword [esp + 0x14], esi
jne 0x439c79
sub ebx, edx
add ebx, dword [esp + 0x10]
mov dword [edi + 0x164], ebx
jmp 0x439ca5
sub edx, dword [esp + 0x10]
mov eax, edx
cdq
mov esi, eax
mov eax, dword [esp + 0x14]
push edx
imul ebx
push esi
push edx
push eax
call fcn.004cbc30
mov dword [edi + 0x164], eax
test eax, eax
jns 0x439ca5
mov dword [edi + 0x164], 0
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
push 0x4b0
mov ecx, edi
call dword [eax + 0x28]
jmp 0x439d02
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [edi + 0x150]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.00439e40
mov ecx, edi
test eax, eax
je 0x439cfb
push 1
jmp 0x439cfd
push 0
call fcn.00439ed0
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049cdfb
mov esp, ebp
pop ebp
ret 0x10

Function at 0x442b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x130]
test eax, eax
je 0x442bc5
cmp dword [ebp + 8], 0
jne 0x442ba8
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 0x442bc5
mov eax, dword [esi + 0x130]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x447440
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4fe0c0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x16c], 0
je 0x447526
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x170]
mov edi, dword [esi + 0x60]
sub ecx, ebx
sub edi, dword [esi + 0x58]
mov eax, dword [esp + 0x1c]
add edi, ebx
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov eax, dword [esi + 0x150]
sub eax, dword [esi + 0x158]
sub eax, ebx
add eax, edi
cmp ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esi + 0x164]
cmovle edx, ecx
mov dword [esp + 0xc], eax
test edx, edx
jne 0x4474f3
xor eax, eax
jmp 0x44750d
mov eax, dword [esi + 0x160]
cmp edx, dword [esp + 0x14]
jne 0x447505
sub eax, edi
add eax, ebx
jmp 0x44750d
imul eax, edx
sub edi, ebx
cdq
idiv edi
mov dword [esi + 0x164], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x28]
jmp 0x447570
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x150]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.00447690
mov ecx, esi
test eax, eax
je 0x447569
push 1
jmp 0x44756b
push 0
call fcn.00439ed0
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049cdfb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4492c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
mov esi, ecx
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x160]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x1c]
movups xmmword [eax], xmm0
push dword [esp + 0x1c]
call fcn.00447690
test eax, eax
je 0x44934c
cmp dword [esi + 0x13c], 1
je 0x44934c
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x13c], 1
call dword [eax + 0xd0]
test eax, eax
je 0x44934c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x44934c
mov ecx, dword [esi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x30]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [eax], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [eax + 0x130]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x25e
call dword [eax + 0x28]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44c050
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x108]
mov dword [esi], vtable.CAnimateMgr.1.0
push ebx
mov dword [esi + 0x34], vtable.CAnimateMgr.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xf8]
cmp eax, dword [esi + 0xfc]
je 0x44c086
mov dword [esi + 0xfc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
push dword [esi + 0x104]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44c0bd
push 0
push dword [esi + 0x104]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x104], 0
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0xf8]
call fcn.00403350
mov ecx, esi
call fcn.0040c080
test byte [ebp + 8], 1
je 0x44c0ea
push 0x124
push esi
call fcn.0049caae
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44e8c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d177d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4fe0c0]
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.004031f0
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 0x44e953
push 0
push 0
push esi
push 0x44e850
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 0x44e975
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 0x450300
Capabilities:
Create process on windows
Create process suspended
Get explorer pid
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1995
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4fe0c0]
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 0x45036b
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049d386
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.004b4e7b
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.0049e870
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 0x450422
push ecx
call esi
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x45042c
push eax
call esi
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x450436
push eax
call esi
test edi, edi
je 0x450443
push edi
call fcn.0049cf03
add esp, 4
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x450479
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45046f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4504e1
push ecx
push edx
call fcn.0049caae
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 0x4504c3
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4504b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4504e1
push ecx
push edx
call fcn.0049caae
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.0049cdfb
mov esp, ebp
pop ebp
ret
call fcn.004a1e4f
int3
Function at 0x451b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1ccb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4fe0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x244], 0
call fcn.00476d70
cmp dword [0x51348c], 0
mov ecx, 0x101
mov eax, 0x201
cmovne eax, ecx
lea ecx, [ebp - 0x244]
push ecx
push eax
push 0
push str.CLSID1F23370B_625A_453E_9D2C_1FAF54061C85InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x451d3f
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0049e870
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x244]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x451d3f
call fcn.00476d70
cmp dword [0x51348c], esi
lea edx, [edi + 0x124]
mov ecx, str.ISShellPicExts32.dll
mov eax, str.ISShellPicExts64.dll
cmove eax, ecx
lea ecx, [ebp - 0x240]
push eax
call fcn.004567b0
add esp, 4
mov dword [ebp - 4], esi
call fcn.00404dd0
mov ecx, eax
test ecx, ecx
je 0x451d5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
push 0x4e7d24
push eax
call fcn.0041f160
add esp, 8
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
mov edx, str.regsvr32__s__u
push esi
call fcn.00456ea0
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451cea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x451d03
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x22c]
cmp ecx, 7
jbe 0x451d3f
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x451d35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451d66
push ecx
push edx
call fcn.0049caae
add esp, 8
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.0049cdfb
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404bb0
call fcn.004a1e4f
int3
Function at 0x4528c0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1de6
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4fe0c0]
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.00452620
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
jne 0x4529af
mov esi, dword [0x51345c]
test esi, esi
je 0x45291e
lock inc dword [esi + 4]
mov esi, dword [0x51345c]
mov ecx, dword [0x513458]
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 0x452950
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.004520b0
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 0x45298d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4529af
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4529af
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4529af
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 0x452a28
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4529eb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x452a28
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x28], 1
je 0x452a15
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.0045ff10
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.004257c0
lea ecx, [ebp - 0x68]
call fcn.004257c0
lea ecx, [ebp - 0x80]
call fcn.004257c0
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.0049cdfb
mov esp, ebp
pop ebp
ret
Function at 0x4557b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x4fe0c0]
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 0x4558f6
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0049e870
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x455806
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x455816
push esi
push 0x4e7030
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 0x4558f6
cmp dword [ebp + 0x10], 0
je 0x4558c9
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.0049cdfb
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0049cdfb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4571a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4fe0c0]
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 0x45720b
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x45720b
push 0x228
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0049e870
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 0x457224
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.0049cdfb
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.00457290
nop dword [eax + eax]
push edi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x457251
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00457790
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x457230
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.0049cdfb
mov esp, ebp
pop ebp
ret 8
Function at 0x4595e0
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 0x4595f0
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