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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x88]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00433dd0
mov ecx, eax
test ecx, ecx
jne 0x432ac4
mov eax, 0x80004005
pop esi
ret
lea eax, [esi + 0x108]
push eax
call fcn.00433d50
test eax, eax
je 0x432adf
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x110], 0
xor eax, eax
pop esi
ret

Function at 0x432af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4e2018]
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 0x432b3e
sub esp, 8
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.0040ddd0
cmp byte [ebp + 0x1c], 0
je 0x432b50
mov ecx, dword [esi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.0042c9c0
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 0x432b78
mov eax, dword [ebp + 0xc]
sub ecx, eax
push 1
push dword [esp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
jmp 0x432bcd
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 0x432bae
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 0x432bc7
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 + 0x10c], 0
jne 0x432c37
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00433dd0
mov edi, eax
test edi, edi
je 0x432c51
cmp dword [esi + 0x110], 0
je 0x432c1d
lea ecx, [esi + 0x108]
push ecx
mov ecx, edi
call fcn.00433d50
lea eax, [esi + 0x108]
mov ecx, edi
push eax
call fcn.00433cc0
mov dword [esi + 0x110], 1
jmp 0x432c51
mov ecx, dword [esi + 0x12c]
mov edx, 0x6a4
mov dword [esi + 0x10c], 0
call fcn.00437c20
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4378f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3fad
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x4e2018]
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.00488c10
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.004983f2
add esp, 4
call fcn.004983d1
mov esi, eax
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x437a89
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.00403ab0
mov eax, dword [ebp - 0x10]
mov edx, 0x4e69f0
mov edi, eax
add esp, 0xc
mov esi, 0x104
sub edi, edx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4379b1
movzx ecx, word [edi + edx]
test cx, cx
je 0x4379b1
mov word [edx], cx
add edx, 2
sub esi, 1
jne 0x437993
lea ecx, [edx - 2]
mov dword [ebp - 4], 0xffffffff
test esi, esi
cmovne ecx, edx
xor edx, edx
mov word [ecx], dx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4379dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov dword [ebp - 0x18], 0x4e69f0
mov dword [ebp - 0x38], 0x4374f0
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 0x4c9814
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4e69ec], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4f70e0]
mov eax, 0x2aaaaaab
sub ecx, dword [0x4f70dc]
imul ecx
mov dword [0x4e2ac8], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x437a76
push 0
push 0x32
push 1
push dword [0x4e69ec]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4e2ac8], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
int3
Function at 0x43be00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b42b5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x15c], 0
je 0x43be7b
call fcn.00404840
test eax, eax
je 0x43bf4f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x4c6c00
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004041f0
test al, al
jne 0x43bf2f
push 0
push 0x4c6c00
mov ecx, esi
call fcn.004044f0
jmp 0x43bf2f
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x43bf4f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
push dword [edi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x43bf45
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x43bed0
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404400
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [edi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x43beef
push dword [esi - 8]
push esi
call fcn.0048ea59
add esp, 8
test eax, eax
js 0x43bf45
cmp eax, dword [esi - 8]
jg 0x43bf45
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.00416960
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43bf2f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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
push 0x80070057
call fcn.00404610
push 0x80004005
call fcn.00404610
int3
Function at 0x442d20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b490f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004169c0
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 0x442eec
mov eax, dword [ebx]
cmp eax, 0x64
je 0x442eec
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push dword [edi + 0xdc]
call esi
push 0x64
mov dword [edi + 0xdc], eax
push dword [ebx]
push dword [edi + 0xe0]
call esi
mov dword [edi + 0xe0], eax
push 0x2a8
call fcn.004865a5
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00422d30
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x11c]
cmp ecx, esi
je 0x442f37
test esi, esi
je 0x442f27
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x11c], esi
test ecx, ecx
je 0x442f37
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0x2a8
call fcn.004865a5
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00422d30
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x120]
cmp ecx, esi
je 0x442f82
test esi, esi
je 0x442f72
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x120]
mov dword [edi + 0x120], esi
test ecx, ecx
je 0x442f82
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x190], 0x444700
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 0x443b20
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4e2018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x16c], 0
je 0x443c2b
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 0x443c0b
mov ebx, dword [edi + 0x160]
cmp dword [esp + 0x14], esi
jne 0x443be9
sub ebx, edx
add ebx, dword [esp + 0x10]
mov dword [edi + 0x164], ebx
jmp 0x443c15
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.004af560
mov dword [edi + 0x164], eax
test eax, eax
jns 0x443c15
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 0x443cbc
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.00443e00
mov ecx, dword [edi + 0x13c]
test eax, eax
je 0x443c7f
cmp ecx, 1
je 0x443cbc
mov dword [edi + 0x13c], 1
jmp 0x443c8d
test ecx, ecx
je 0x443cbc
mov dword [edi + 0x13c], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
test eax, eax
je 0x443cbc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x98]
test eax, eax
je 0x443cbc
mov ecx, dword [edi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [edi + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x10
Function at 0x452540
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4e2018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x16c], 0
je 0x452629
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, edi
sub eax, dword [esi + 0x158]
sub eax, ebx
add eax, dword [esi + 0x150]
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 0x4525f3
xor eax, eax
jmp 0x45260d
mov eax, dword [esi + 0x160]
cmp edx, dword [esp + 0x14]
jne 0x452605
sub eax, edi
add eax, ebx
jmp 0x45260d
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 0x4526ba
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.004527d0
mov ecx, dword [esi + 0x13c]
test eax, eax
je 0x45267d
cmp ecx, 1
je 0x4526ba
mov dword [esi + 0x13c], 1
jmp 0x45268b
test ecx, ecx
je 0x4526ba
mov dword [esi + 0x13c], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
je 0x4526ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x4526ba
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]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x10
Function at 0x459ae0
Capabilities:
Create process on windows
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5b46
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x3c
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.00488c10
add esp, 0xc
lea eax, [ebp - 0x43c]
mov ecx, esi
push eax
call fcn.00459d60
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00488c10
add esp, 0xc
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x459d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push 0x4cc6ec
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push str.CO_sEC
push eax
call fcn.00403ab0
mov esi, dword [ebp - 0x424]
add esp, 0xc
or ebx, 0xffffffff
cmp dword [ebp - 0x42c], 0
je 0x459d01
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x459d01
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x420]
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push 0x208
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x478], 0x3c
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], str.Open
call fcn.00488c10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x459d4a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x47c]
call fcn.004041f0
test al, al
jne 0x459c86
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459c64
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.004044f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x460], eax
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459cad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x478]
mov dword [ebp - 0x45c], 0
push eax
mov dword [ebp - 0x474], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x459d01
push 0x40
push dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x459d1a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x43c]
call fcn.0042c640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486589
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
int3
Function at 0x45c8d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4e2018]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x45c93f
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45c93f
push 0x228
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00488c10
add esp, 0xc
mov dword [esp + 0x18], 0x22c
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x45c958
push ebx
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.00486589
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x45c98b
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.0041c890
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.00486597
add esp, 8
cmp byte [esi + 0xd], 0
je 0x45c967
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
mov dword [edi + 4], 0
nop
push esi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x45c9c1
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0045cf00
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45c9a0
push ebx
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.00486589
mov esp, ebp
pop ebp
ret 8
Function at 0x4600b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x424]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x460249
push ebx
push esi
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x460181
push 0x20a
xor esi, esi
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.00488c10
add esp, 0xc
cmp dword [ebp - 0x420], esi
jbe 0x460181
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x105
lea eax, [ebp - 0x41c]
push eax
push esi
push dword [ebp - 0x424]
call ebx
test eax, eax
jne 0x460178
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
call edi
inc esi
cmp esi, dword [ebp - 0x420]
jb 0x460150
push dword [ebp - 0x424]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], 0
push 0
push eax
call fcn.00488c10
push dword [ebp - 0x428]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004987dc
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.00488208
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4601f1
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.00488208
mov esi, eax
add esp, 8
test esi, esi
je 0x460246
mov eax, esi
lea ecx, [ebp - 0x210]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x460259
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x424]
push eax
push 0xf003f
push ecx
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46023e
lea eax, [esi + 2]
push eax
push dword [ebp - 0x424]
call edi
push dword [ebp - 0x424]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486589
mov esp, ebp
pop ebp
ret 4
call fcn.00486ca5
int3