Function at 0x4118d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x46e780]
xor eax, esp
mov dword [esp + 0x230], eax
push ebp
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 8]
push eax
push ebp
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x411949
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00439e3e
add esp, 0x234
ret
push ebx
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov edi, dword [esp + 0x248]
je 0x411a7e
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call fcn.00402500
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 0xc]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x41199a
push esi
lea ecx, [esp + 0x14]
call fcn.004013d0
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0043ab7a
add esp, 8
test esi, esi
jl 0x411af9
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x411af9
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
mov word [edx + esi*2], 0
mov esi, dword [edi - 0xc]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
sub ecx, esi
or eax, ecx
jge 0x4119f1
push esi
lea ecx, [esp + 0x24c]
call fcn.004013d0
mov edi, dword [esp + 0x248]
lea edx, [esi + 1]
push edx
push edi
call fcn.0043ab7a
add esp, 8
test esi, esi
jl 0x411af9
cmp esi, dword [edi - 8]
jg 0x411af9
mov dword [edi - 0xc], esi
mov word [edi + esi*2], 0
mov ebx, dword [esp + 0x10]
mov ecx, edi
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411a46
test dx, dx
je 0x411a42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411a46
add eax, 4
add ecx, 4
test dx, dx
jne 0x411a20
xor eax, eax
jmp 0x411a4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [ebx - 0x10]
je 0x411abc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411966
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411aa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.00439e3e
add esp, 0x234
ret
mov esi, dword [esp + 0x1c]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ad9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411af5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x411aa3
push 0x80070057
call fcn.00401350
int3