Function at 0x401e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b289
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x54735c]
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 esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x25c], esi
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.00402fe0
mov eax, dword [esi]
xor ebx, ebx
mov dword [esi + 4], eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x274], eax
push eax
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401ec5
push 0x228
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.004f53d0
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x401ee5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov al, bl
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.004f313b
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
call fcn.00402830
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
call fcn.00402780
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov eax, dword [ebp - 0x250]
push dword [ebp - 0x25c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x284]
push eax
push ecx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00403290
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x2c], eax
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f90
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ab0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push dword [ebp - 0x25c]
push eax
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x270]
call fcn.004033e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40200e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402004
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021eb
push edx
push ecx
call fcn.004f2ead
add esp, 8
push 0x228
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.004f53d0
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push esi
call edi
test eax, eax
jne 0x401f31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
nop word [eax + eax]
mov edx, dword [ebp - 0x264]
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x40207e
cmp dword [ecx + 0x10], edi
jae 0x40206b
mov ecx, dword [ecx + 8]
jmp 0x40206f
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x402061
cmp eax, edx
je 0x40207e
cmp edi, dword [eax + 0x10]
jae 0x402080
mov eax, edx
mov ecx, dword [ebp - 0x270]
cmp eax, edx
je 0x402153
mov edi, dword [eax + 0x14]
mov esi, ecx
mov eax, dword [ecx + 4]
mov dword [ebp + 8], edi
cmp byte [eax + 0xd], 0
jne 0x4020bd
nop
cmp dword [eax + 0x10], edi
jae 0x4020aa
mov eax, dword [eax + 8]
jmp 0x4020ae
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4020a0
cmp esi, ecx
je 0x4020bd
cmp edi, dword [esi + 0x10]
jae 0x4020bf
mov esi, ecx
cmp esi, ecx
je 0x40214f
mov eax, dword [ebp - 0x27c]
cmp eax, ebx
je 0x4020e2
cmp dword [eax], edi
je 0x4020de
add eax, 4
cmp eax, ebx
jne 0x4020d1
jmp 0x4020e2
cmp eax, ebx
jne 0x40214f
cmp dword [ebp - 0x268], ebx
je 0x4020f7
mov dword [ebx], edi
add ebx, 4
mov dword [ebp - 0x278], ebx
jmp 0x40211c
lea eax, [ebp + 8]
push eax
push ebx
lea ecx, [ebp - 0x27c]
call fcn.00402d50
mov eax, dword [ebp - 0x274]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x25c]
add esi, 0x14
push esi
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x402144
mov ecx, eax
call fcn.004031b0
mov esi, dword [ebp - 0x25c]
add dword [esi + 4], 0x18
jmp 0x402050
push eax
call fcn.00402950
jmp 0x402050
mov bl, 1
jmp 0x402155
xor bl, bl
push ecx
push dword [ecx]
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x270]
call fcn.004022d0
push 0x2c
push dword [ebp - 0x270]
call fcn.004f2ead
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
mov esi, dword [ebp - 0x264]
push dword [esi + 4]
call fcn.00402850
mov eax, dword [ebp - 0x264]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x264]
mov dword [eax], esi
mov eax, dword [ebp - 0x264]
mov dword [eax + 8], esi
push dword [ebp - 0x264]
mov dword [ebp - 0x260], 0
call fcn.004f2ead
mov ecx, dword [ebp - 0x27c]
add esp, 8
test ecx, ecx
je 0x401ec7
mov eax, dword [ebp - 0x268]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00402470
jmp 0x401ec7
call fcn.004f855c
int3