Function at 0x408320
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fa76
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x455014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x26c], edi
mov esi, ecx
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x264], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x268], 0
movups xmmword [esi], xmm0
push 0xc
movups xmmword [esi + 0x10], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0041e133
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 1
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.0040ee20
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x268], 1
mov dword [ebp - 0x258], edi
jb 0x40840f
mov eax, dword [edi]
mov dword [ebp - 0x258], eax
mov ecx, edi
jb 0x408415
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov esi, edi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x25c], eax
jb 0x408427
mov esi, dword [edi]
cmp esi, eax
je 0x40844e
mov edi, dword [ebp - 0x258]
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.004230e2
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x25c]
jne 0x408433
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x264], esi
test esi, esi
je 0x4085fc
push 0x228
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.00420300
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4085f5
nop
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4084c0
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d400
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
mov esi, dword [ebp - 0x18]
cmovae eax, edx
mov dword [ebp - 0x258], edx
cmovae edi, edx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x25c], eax
cmovae esi, edx
cmp esi, eax
je 0x408547
sub edi, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.004230e2
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x25c]
jne 0x408520
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x258], edx
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x28]
cmp ecx, 8
mov edi, esi
cmovae eax, edx
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x408563
mov edi, dword [esi]
cmp ecx, dword [ebp - 0x18]
jne 0x4085a2
test ecx, ecx
je 0x40861d
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x40859c
sub edi, eax
cmp dx, si
ja 0x40859c
cmp ecx, 1
je 0x40861d
movzx edx, word [edi + eax + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x408580
mov edx, dword [ebp - 0x258]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4085d9
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4085cf
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40864a
push ecx
push edx
call fcn.0041e4c9
add esp, 8
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4084a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041df22
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00410750
mov edx, dword [ebp - 0x28]
jmp 0x4085a2
call fcn.00426b63
int3