Function at 0x4091bc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e4b5
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x462700]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x462700]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
pop esi
push esi
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x40923f
xor al, al
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.004313d1
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.004317b0
add esp, 0xc
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
mov edi, 0x22c
mov dword [esp + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, ebx
jne 0x40927a
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x409219
mov dword [esp + 0x38], ebx
call fcn.0040c0f5
mov dword [esp + 0x34], eax
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0x34]
mov byte [eax + 0x15], 1
mov dword [esp + 0x2b8], esi
mov dword [esp + 0x28], ebx
call fcn.0040c39e
mov dword [esp + 0x24], eax
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x24]
mov byte [eax + 0x2c], 1
mov eax, dword [esp + 0x24]
mov byte [eax + 0x2d], 1
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call fcn.0040d509
push eax
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x54]
call fcn.0040cf37
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x5c]
call fcn.00401eba
mov byte [esp + 0x2b8], 8
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
call fcn.0040d576
push eax
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x4c]
call fcn.0040cffd
mov byte [esp + 0x2b8], 5
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.0040229e
push edi
lea eax, [esp + 0x78]
push ebx
push eax
call fcn.004317b0
add esp, 0xc
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, ebx
jne 0x4092e3
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
mov esi, edx
jmp 0x4093b7
cmp dword [ecx + 0xc], eax
jae 0x4093b3
mov ecx, dword [ecx + 8]
jmp 0x4093b7
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x15], bl
je 0x4093a9
mov dword [esp + 0x14], esi
cmp esi, edx
je 0x4093cf
cmp eax, dword [esi + 0xc]
jb 0x4093cf
lea eax, [esp + 0x14]
jmp 0x4093d7
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
mov esi, dword [eax]
cmp esi, edx
jne 0x409406
mov byte [esp + 0x2b8], 2
lea eax, [esp + 0x20]
push eax
call fcn.0040a1c1
or dword [esp + 0x2b8], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.0040a149
jmp 0x409219
lea eax, [esi + 0x10]
push eax
lea edx, [esp + 0x24]
call fcn.0040a239
test eax, eax
jne 0x40944d
mov byte [esp + 0x2b8], 2
lea eax, [esp + 0x20]
push eax
call fcn.0040a1c1
mov dword [esp + 0x2b8], 0xe
or dword [esp + 0x2b8], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.0040a149
mov al, bl
jmp 0x40921b
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov ecx, edx
cmp byte [eax + 0x2d], bl
jne 0x409471
mov edi, dword [esi + 0x10]
cmp dword [eax + 0xc], edi
jae 0x409468
mov eax, dword [eax + 8]
jmp 0x40946c
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x2d], bl
je 0x40945e
mov dword [esp + 0x18], ecx
cmp ecx, edx
je 0x409487
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx + 0xc]
jb 0x409487
lea eax, [esp + 0x18]
jmp 0x40948f
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
add eax, 0x10
push ebx
push eax
call fcn.004021db
mov byte [esp + 0x2b8], 2
lea eax, [esp + 0x20]
push eax
call fcn.0040a1c1
mov dword [esp + 0x2b8], 0x10
mov bl, 1
jmp 0x409434