Function at 0x430340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46844d
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x264]
call fcn.0040eb30
mov dword [ebp - 4], 0
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4303d3
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43040a
cmp dword [ebp - 0x14], 0xffffffff
je 0x4303e3
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x270], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0040cae0
mov eax, dword [ebp - 0x270]
jmp 0x4305c3
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x264]
call fcn.00410e20
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43040a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x304
call fcn.004111e0
mov dword [ebp - 0x258], eax
lea edx, [ebp - 0x254]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.00410c50
jmp 0x430480
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x254]
call fcn.0040cf40
lea ecx, [ebp - 0x280]
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.00410c80
push eax
lea ecx, [ebp - 0x254]
call fcn.00410e50
movzx edx, al
test edx, edx
je 0x4305a2
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00410e00
add eax, 0x3c
mov ecx, eax
call fcn.00410c50
jmp 0x4304db
push 0
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.0040cf40
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x254]
call fcn.00410e00
add eax, 0x3c
mov ecx, eax
call fcn.00410c80
push eax
lea ecx, [ebp - 0x26c]
call fcn.00410e50
movzx eax, al
test eax, eax
je 0x43059d
lea ecx, [ebp - 0x26c]
call fcn.00410e00
cmp dword [eax], 0
jne 0x430598
lea ecx, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x264]
call fcn.00410c80
push eax
lea ecx, [ebp - 0x26c]
call fcn.00410e00
add eax, 8
push eax
lea edx, [ebp - 0x298]
push edx
lea ecx, [ebp - 0x264]
call fcn.00410c80
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x264]
call fcn.00410c50
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a8]
push eax
call fcn.00411940
add esp, 0x18
mov ecx, eax
call fcn.00410e50
movzx ecx, al
test ecx, ecx
je 0x430598
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x4304c7
jmp 0x43046c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0040cae0
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret