Function at 0x403fb0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x431bb3
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x43fe28]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fe28]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x25c], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4041b9
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esp + 0x24]
push edx
push ebx
push 1
call ebp
call fcn.004177e3
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x404211
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x254], 1
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404060
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004065a0
mov edi, dword [esp + 0x14]
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x4040a4
push esi
lea ecx, [esp + 0x18]
call fcn.00406820
mov edi, dword [esp + 0x14]
lea edx, [esi + 1]
push edx
push edi
call fcn.0041c9cb
add esp, 8
cmp esi, ebx
jl 0x404263
cmp esi, dword [edi - 8]
jg 0x404263
mov dword [edi - 0xc], esi
xor eax, eax
mov word [edi + esi*2], ax
mov edx, dword [esp + 0x25c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4040fa
push esi
lea ecx, [esp + 0x260]
call fcn.00406820
mov edx, dword [esp + 0x25c]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0041c9cb
add esp, 8
cmp esi, ebx
jl 0x404263
mov eax, dword [esp + 0x25c]
cmp esi, dword [eax - 8]
jg 0x404263
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x25c]
xor edx, edx
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x25c]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x404211
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40416d
cmp dx, bx
je 0x404169
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40416d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x404147
xor eax, eax
jmp 0x404172
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
or edx, 0xffffffff
cmp al, bl
lea eax, [edi - 0x10]
mov byte [esp + 0x254], bl
lea ecx, [eax + 0xc]
jne 0x40421b
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x404021
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0041baef
add esp, 0x244
ret
push 0x80004005
call fcn.004068a0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40422e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40425c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4041e9
push 0x80070057
call fcn.004068a0
int3