joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x45360f
cmp byte [eax + 0x220], 0
je 0x45360f
cmp byte [ebp + 0xc], 0
je 0x453565
mov eax, edi
mov dword [ebx + 0x254], eax
mov eax, dword [ebx]
call dword [eax + 0xcc]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov esi, dword [eax + 0x1e8]
lea ecx, [eax + 0x1e4]
mov eax, dword [ecx]
sub esi, eax
sar esi, 2
mov dword [ebp + 0xc], ecx
test esi, esi
je 0x45360f
cmp edi, 3
jne 0x4535e5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x45360f
cmp dword [ebx + 0x258], 0
je 0x45360f
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x4535c9
nop
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4535bf
push 1
push 0
call fcn.00453520
add esi, 4
cmp esi, edi
jne 0x4535b0
mov eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.0042b6a0
mov ecx, dword [ebx + 0x258]
push 1
mov dword [ebx + 0x254], 3
push ebx
jmp 0x453648
test edi, edi
jne 0x45360f
xor edx, edx
test esi, esi
je 0x45360f
mov ecx, eax
cmp dword [ecx], ebx
je 0x4535ff
inc edx
add ecx, 4
cmp edx, esi
jb 0x4535f1
jmp 0x45360f
mov ecx, dword [ebp + 0xc]
lea eax, [eax + edx*4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00455a00
mov eax, dword [ebx + 0x254]
cmp eax, edi
je 0x453657
mov dword [ebx + 0x254], edi
cmp edi, 3
jne 0x453633
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x45364d
push 0
push ebx
jmp 0x453648
test edi, edi
jne 0x45364d
cmp eax, 3
jne 0x45364d
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x45364d
push edi
push edi
call fcn.00451470
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x456390
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4563d5
cmp dword [ebp + 8], 0
jne 0x4563b8
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 + 0xd8]
test eax, eax
je 0x4563d5
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 0x45b160
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x66a9c4]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1a4], 0
je 0x45b272
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, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
call dword [eax + 0xd0]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [esi + 0x60]
mov eax, 0
sub edi, dword [esi + 0x58]
mov edx, dword [esp + 0x14]
add edi, edx
mov ecx, dword [esi + 0x1a8]
sub ecx, edx
add ecx, dword [esp + 0x1c]
cmovs ecx, eax
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x45b208
mov ecx, edi
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, dword [esi + 0x188]
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x45b21e
mov dword [esi + 0x19c], ecx
jmp 0x45b24c
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x198]
jne 0x45b23e
sub eax, edi
add eax, edx
jmp 0x45b246
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x19c], eax
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 0x10
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 + 0x188]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.0045b400
test eax, eax
je 0x45b2c4
cmp dword [esi + 0x174], 1
je 0x45b2e1
mov dword [esi + 0x174], 1
jmp 0x45b2d7
cmp dword [esi + 0x174], 0
je 0x45b2e1
mov dword [esi + 0x174], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45f3c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9098
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x66a9c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x674d60]
test eax, eax
je 0x45f40f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45f40f
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005b8b93
add esp, 4
call fcn.005b8b72
mov esi, eax
call fcn.00402c20
mov ecx, eax
test ecx, ecx
jne 0x45f43a
push 0x80004005
call fcn.004024f0
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_GeneralNotify_lu
push eax
call fcn.004083c0
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov edx, 0x104
push SysReAllocString
push esi
push ecx
mov ecx, 0x674d68
call fcn.0041a6d0
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.005a7320
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x674d68
mov dword [ebp - 0x38], 0x45f3a0
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 str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x674d60], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45f50c
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 esi
mov esp, ebp
pop ebp
ret
Function at 0x463d20
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x100]
mov dword [esi], vtable.CAnimateMgr.1.0
push edi
mov dword [esi + 0x34], vtable.CAnimateMgr.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xf0]
push edi
mov dword [esi + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
push dword [esi + 0xfc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x463d81
push 0
push dword [esi + 0xfc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xfc], 0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x463dc2
mov eax, dword [esi + 0xf8]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00407c70
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.00433ae0

Function at 0x463e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x463e49
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
push ebx
lea ebx, [edi + 0x100]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf4]
lea ecx, [edi + 0xf0]
mov edx, dword [ecx]
cmp edx, eax
je 0x463e7f
nop dword [eax]
cmp dword [edx], esi
je 0x463e7b
add edx, 4
cmp edx, eax
jne 0x463e70
cmp edx, eax
jne 0x463e8b
lea eax, [ebp + 8]
push eax
call fcn.00420e00
mov esi, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 0xfc], 0
pop ebx
jne 0x463ebd
push 0
push 0
push edi
push 0x463dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xfc], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4662f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0
je 0x466318
call fcn.00466410
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466337
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
push edi
call fcn.00467110
test eax, eax
je 0x466323
push edi
lea eax, [ebp - 0x210]
push 0x6400e0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.00466750
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4663e8
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00466750
test eax, eax
je 0x4663e8
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x4663e8
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x220]
jne 0x4663e8
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x4663e8
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x230]
jne 0x4663e8
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.00467440
test al, al
jne 0x4663f8
mov eax, dword [esi + 4]
mov ecx, esi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.004664a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 8

Function at 0x466b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x98]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x6857ec]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6855c4]
lea eax, [ebp - 4]
push eax
call fcn.00467060
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x466b72
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x128]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.00466fe0
test eax, eax
je 0x466bbb
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x466bbb
push 0
push 0
push 0x793a
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x98]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x6857ec]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6855c4]
lea eax, [ebp - 4]
push eax
call fcn.00467060
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x466c22
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x128]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.00466fe0
test eax, eax
je 0x466c46
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x66a9c4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [edi + 0x38]
mov dword [edi + 0x140], esi
call ebx
test eax, eax
jne 0x466ca6
sub esp, 8
mov ecx, edi
mov eax, esp
push 0
push SysReAllocStringLen
sub esp, 8
mov dword [eax], 0
mov eax, esp
push esi
mov dword [eax], 0
call fcn.00433cf0
cmp byte [ebp + 0x1c], 0
je 0x466cb8
mov ecx, dword [edi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.0042d110
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x9c]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
add eax, edx
push 1
sub eax, edx
push eax
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [edi + 0xe4], 0
je 0x466d60
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x466d60
push dword [eax + 0x38]
call ebx
test eax, eax
je 0x466d60
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [edi + 0x38]
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add eax, 7
mov ecx, dword [esp + 0x24]
sub edx, 3
mov esi, dword [esp + 0x1c]
add ecx, 5
push 1
mov dword [esp + 0x2c], eax
sub esi, 5
sub eax, edx
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [edi + 0xe0]
sub ecx, esi
push ecx
push edx
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0x20], 0
je 0x466d7b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x6857ec]
add esi, 0x10
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6855c4]
lea eax, [esp + 0x10]
push eax
call fcn.00467060
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
test ebx, ebx
je 0x466dea
mov edx, dword [ebx + 8]
add edi, 0x128
mov dword [esp + 0x10], edi
test edx, edx
jle 0x466ddb
mov ecx, dword [ebx + 4]
cmp dword [ecx], edi
je 0x466dd6
inc eax
add ecx, 4
cmp eax, edx
jl 0x466dc8
jmp 0x466ddb
cmp eax, 0xffffffff
jne 0x466de8
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 4]
call fcn.00410bd0
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x467110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x467134
cmp dword [esi + 4], 0
je 0x46712d
push eax
call fcn.005afcb5
add esp, 4
mov dword [esi + 0x10], 0
push 0x63c5e0
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.005b8d27
mov edi, eax
add esp, 8
test edi, edi
jne 0x46715e
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.005b9071
push edi
call fcn.005b966a
push 0
push 0
push edi
mov ebx, eax
call fcn.005b9071
add esp, 0x1c
test ebx, ebx
jle 0x46719e
push ebx
mov ecx, esi
call fcn.004671c0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46719e
push edi
push 1
push ebx
push eax
call fcn.005b9841
add esp, 0x10
push edi
call fcn.005b9967
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x467440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9836
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x66a9c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.004679f0
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
test eax, eax
je 0x467500
push 0x63c5e0
push eax
call fcn.005b8d27
mov edi, eax
add esp, 8
mov dword [ebp - 0x18], edi
test edi, edi
je 0x467500
push edi
call fcn.005b9daf
add esp, 4
push eax
call fcn.005b9da4
add esp, 4
mov esi, eax
lea eax, [ebp - 0x24]
push edi
push 1
push 8
push eax
call fcn.005b9841
add esp, 0x10
mov byte [ebp + 0xb], 0
cmp dword [ebp - 0x24], 0x78646972
jne 0x46758f
cmp dword [ebp - 0x20], 0x8000
jb 0x467516
push edi
call fcn.005b9967
add esp, 4
xor al, al
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
add esi, 0xfffffff8
push esi
call fcn.005b72c3
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x46758f
push edi
push 1
push esi
push ebx
call fcn.005b9841
lea edx, [ebx + esi]
mov ecx, ebx
xor ebx, ebx
mov dword [ebp + 8], edx
add esp, 0x10
cmp dword [ebp - 0x20], ebx
jle 0x46757d
mov edi, dword [ebp - 0x14]
nop word [eax + eax]
mov esi, dword [ecx + 0xc]
add esi, 0x12
add esi, ecx
cmp esi, edx
ja 0x46757a
push dword [ecx + 8]
lea eax, [ecx + 0x10]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
push eax
call fcn.00467280
mov edx, dword [ebp + 8]
inc ebx
mov ecx, esi
cmp ebx, dword [ebp - 0x20]
jl 0x467550
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.005afcb5
add esp, 4
cmp ebx, dword [ebp - 0x20]
sete byte [ebp + 0xb]
push edi
call fcn.005b9967
mov al, byte [ebp + 0xb]
add esp, 4
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 0x468fb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9973
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x66a9c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x685090
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x685090
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x63fbd0
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00469b70
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46d610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x66a9c4]
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
jne 0x46d643
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 0x14
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005a7320
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x46d676
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x46d686
push esi
push 0x63a490
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.005a7320
add esp, 0xc
mov dword [ebp - 0x858], 0x44
lea eax, [ebp - 0x814]
mov dword [ebp - 0x82c], 1
xorps xmm0, xmm0
mov edi, 1
movups xmmword [ebp - 0x814], xmm0
push eax
lea eax, [ebp - 0x858]
mov word [ebp - 0x828], di
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46d62f
push dword [ebp - 0x814]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x810]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46d720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x66a9c4]
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 dword [ebp - 0x244], edx
mov ebx, ecx
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x46d827
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x46d827
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.005a7320
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46d820
or edi, 0xffffffff
nop dword [eax]
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x240]
call fcn.0046d880
lea edx, [ebp - 0x240]
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.0046e3f0
test eax, eax
je 0x46d7ea
mov edx, ebx
lea ecx, [ebp - 0x240]
call fcn.0046e3f0
test eax, eax
jne 0x46d845
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d80e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x46d7b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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.0058e2fa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x46d857
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46d879
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x46d829