Function at 0x40c5c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
mov eax, dword [0x46b3ac]
push ebx
push esi
mov dword [esp + 0x450], eax
mov eax, dword [ebp + 8]
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.00403a40
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x464], esi
call fcn.00403680
push esi
xor eax, eax
mov dword [esp + 0x1c], esi
mov ecx, 0x8a
lea edi, [esp + 0x20]
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40c65a
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40c7b5
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], 0x22c
mov dword [esp + 0x1c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40c781
mov ebx, 1
mov edi, edi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24c]
push 0x456ed0
push edx
call fcn.00431794
add esp, 0xc
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x10]
call fcn.00403a40
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov ecx, ebx
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
mov byte [esp + 0x464], bl
jge 0x40c6d7
push esi
lea ecx, [esp + 0x10]
call fcn.004033e0
mov edx, dword [esp + 0xc]
push edx
call fcn.00431969
add esp, 4
test esi, esi
jl 0x40c7f8
mov eax, dword [esp + 0xc]
cmp esi, dword [eax - 8]
jg 0x40c7f8
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0xc]
mov word [ecx + esi*2], 0
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], ebx
jle 0x40c718
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x10]
call fcn.00403280
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], ebx
jle 0x40c732
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00403280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ecx
push eax
call fcn.00431762
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x464], 0
je 0x40c7d8
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c76e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x18]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c680
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x464], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c7b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x454]
call fcn.00431288
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c781
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x40c781
push 0x80070057
call fcn.00403190
int3