Function at 0x4091c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445ad
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4716e0]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x270], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov dword [ebp - 0x29c], edi
mov word [edi], ax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00409730
mov dword [ebp - 0x18], eax
push 0
push 2
mov dword [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], 0x22c
cmp ebx, 0xffffffff
je 0x4094e2
lea eax, [ebp - 0x260]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4094db
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [ebp - 0x23c], ax
jne 0x40929c
xor ecx, ecx
jmp 0x4092b4
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4092a5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004029d0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x294], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
call fcn.004028b0
movzx eax, byte [0x473d34]
push eax
lea eax, [ebp - 0x298]
push eax
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00408d40
cmp dword [ebp - 0x27c], 8
jb 0x409347
push dword [ebp - 0x290]
call fcn.0041572d
add esp, 4
cmp dword [ebp - 0x1c], 8
mov byte [ebp - 4], 1
jb 0x40935c
push dword [ebp - 0x30]
call fcn.0041572d
add esp, 4
lea eax, [ebp - 0x260]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409272
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
lea esp, [esp]
mov edx, dword [ebp - 0x18]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x4093bb
mov edi, edi
cmp dword [eax + 0x10], ebx
jge 0x40939a
mov eax, dword [eax + 8]
jmp 0x40939e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x409390
cmp ecx, edx
je 0x4093bb
cmp ebx, dword [ecx + 0x10]
jl 0x4093bb
mov dword [ebp - 0x268], ecx
lea esi, [ebp - 0x268]
jmp 0x4093c7
mov dword [ebp - 0x26c], edx
lea esi, [ebp - 0x26c]
mov esi, dword [esi]
cmp esi, edx
je 0x4094d5
cmp dword [edi + 0x10], 0
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x274], eax
je 0x409434
push edi
lea eax, [ebp - 0x30]
push 0x45eac4
push eax
call fcn.00408920
mov ebx, eax
add esp, 0xc
cmp edi, ebx
je 0x409423
cmp dword [edi + 0x14], 8
jb 0x409408
push dword [edi]
call fcn.0041572d
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push ebx
mov ecx, edi
mov word [edi], ax
call fcn.00402f10
cmp dword [ebp - 0x1c], 8
jb 0x409434
push dword [ebp - 0x30]
call fcn.0041572d
add esp, 4
push edi
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408860
mov ebx, eax
add esp, 0xc
cmp edi, ebx
je 0x4094b2
cmp dword [edi + 0x14], 8
jb 0x40945b
push dword [edi]
call fcn.0041572d
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebx + 0x14], 8
jae 0x409489
mov eax, dword [ebx + 0x10]
inc eax
je 0x409493
add eax, eax
push eax
push ebx
push edi
call fcn.00415db0
add esp, 0xc
jmp 0x409493
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [ebp - 0x1c], 8
jb 0x4094c3
push dword [ebp - 0x30]
call fcn.0041572d
add esp, 4
mov eax, dword [esi + 0x10]
mov ebx, dword [ebp - 0x274]
cmp eax, dword [esi + 0x14]
jne 0x409380
mov ebx, dword [ebp - 0x264]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
push ecx
push dword [ecx]
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00409d70
push dword [ebp - 0x18]
call fcn.0041572d
add esp, 4
mov eax, edi
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.004163f4
mov esp, ebp
pop ebp
ret