Function at 0x413d80
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x470f70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
call fcn.00413d20
call fcn.004376be
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x413dd6
push 0x80004005
call fcn.00403ca0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x22c
mov byte [esp + 0x28], 1
call fcn.0042eb1f
mov ebp, eax
add esp, 4
mov dword [ebp], 0x22c
mov ecx, dword [esi + 4]
push ebp
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x413f9e
lea eax, [ebp + 0x24]
push eax
lea edx, [esp + 0x18]
push 0x47590c
push edx
call fcn.004069a0
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00413d20
mov edi, dword [esp + 0x14]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x413e4b
push 0x80004005
call fcn.00403ca0
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413e77
cmp dx, bx
je 0x413e73
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413e77
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x413e51
xor eax, eax
jmp 0x413e7c
sbb eax, eax
sbb eax, 0xffffffff
push ebp
cmp eax, ebx
jne 0x413edb
mov esi, dword [ebp + 8]
call fcn.0042eb59
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x28], bl
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413eac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x413ff2
mov ecx, dword [esi + 4]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x413f9e
lea eax, [ebp + 0x24]
push eax
lea edx, [esp + 0x18]
push 0x47590c
push edx
call fcn.004069a0
mov edi, dword [esp + 0x20]
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
add esp, 0xc
or eax, ecx
jge 0x413f28
push esi
lea ecx, [esp + 0x18]
call fcn.004043f0
mov edi, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edi
call fcn.00454449
add esp, 8
cmp esi, ebx
jl 0x414008
cmp esi, dword [edi - 8]
jg 0x414008
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [edi + esi*2], cx
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413f7b
cmp dx, bx
je 0x413f77
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413f7b
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x413f55
xor eax, eax
jmp 0x413f80
sbb eax, eax
sbb eax, 0xffffffff
push ebp
cmp eax, ebx
je 0x413e81
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413eec
push ebp
call fcn.0042eb59
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
push 0x80070057
call fcn.00403ca0
int3