Function at 0x42ca80
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x48d6a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4beb20]
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.00421aa0
call fcn.0044e87c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42cad6
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x424
mov byte [esp + 0x28], 1
call fcn.00445cef
mov ebp, eax
add esp, 4
mov dword [ebp], 0x424
mov ecx, dword [esi + 4]
push ebp
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42cc9e
lea eax, [ebp + 0x24]
push eax
lea edx, [esp + 0x18]
push 0x49199c
push edx
call fcn.0041c620
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00421aa0
mov edi, dword [esp + 0x14]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x42cb4b
push 0x80004005
call fcn.00419910
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42cb77
cmp dx, bx
je 0x42cb73
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42cb77
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x42cb51
xor eax, eax
jmp 0x42cb7c
sbb eax, eax
sbb eax, 0xffffffff
push ebp
cmp eax, ebx
jne 0x42cbdb
mov esi, dword [ebp + 8]
call fcn.00445d1e
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 0x42cbac
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 0x42cbd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x42ccf2
mov ecx, dword [esi + 4]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x42cc9e
lea eax, [ebp + 0x24]
push eax
lea edx, [esp + 0x18]
push 0x49199c
push edx
call fcn.0041c620
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 0x42cc28
push esi
lea ecx, [esp + 0x18]
call fcn.0041a070
mov edi, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edi
call fcn.0046b54b
add esp, 8
cmp esi, ebx
jl 0x42cd08
cmp esi, dword [edi - 8]
jg 0x42cd08
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 0x42cc7b
cmp dx, bx
je 0x42cc77
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42cc7b
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x42cc55
xor eax, eax
jmp 0x42cc80
sbb eax, eax
sbb eax, 0xffffffff
push ebp
cmp eax, ebx
je 0x42cb81
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42cbec
push ebp
call fcn.00445d1e
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 0x42ccc7
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 0x42ccef
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.00419910
int3