Function at 0x42b810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451e11
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4650c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.0043c440
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x218]
call fcn.00401e30
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x448]
push 0x5c
push ecx
call fcn.0043c027
add esp, 8
cmp eax, ebx
je 0x42b8ff
mov edx, dword [ebp - 0x448]
sub eax, edx
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
je 0x42b8ff
mov eax, dword [edx - 0xc]
sub eax, ecx
lea edx, [ebp - 0x448]
dec eax
push edx
lea ecx, [ebp - 0x44c]
call fcn.0040ddd0
lea edi, [ebp - 0x448]
mov byte [ebp - 4], 1
call fcn.004138d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x228
lea ecx, [ebp - 0x440]
push ebx
push ecx
mov dword [ebp - 0x444], ebx
call fcn.0043c440
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x44c], esi
cmp esi, 0xffffffff
jne 0x42b94d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x448]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42bb1a
lea ecx, [ebp - 0x444]
push ecx
push esi
mov dword [ebp - 0x444], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42baf6
lea ecx, [ecx]
mov edx, dword [ebp - 0x43c]
push edx
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x42bae0
lea ecx, [ebp - 0x450]
push ecx
mov ecx, eax
call fcn.00415980
add esp, 4
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x450]
mov esi, dword [edi - 0xc]
cmp esi, ebx
jl 0x42bb44
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x42b9d5
mov eax, esi
lea ecx, [ebp - 0x450]
call fcn.00402000
mov edi, dword [ebp - 0x450]
lea edx, [esi + 1]
push edx
push edi
call fcn.0043a8a3
add esp, 8
cmp esi, dword [edi - 8]
jg 0x42bb44
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
mov ecx, 0x45afe0
mov eax, edi
jmp 0x42ba00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ba26
cmp dx, bx
je 0x42ba22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ba26
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x42ba00
xor eax, eax
jmp 0x42ba2b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x42babb
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x420]
call fcn.00401e30
mov ecx, dword [ebp - 0x448]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x42bb4e
mov esi, dword [ebp - 0x454]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ba8d
cmp dx, bx
je 0x42ba89
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ba8d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x42ba67
xor eax, eax
jmp 0x42ba92
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
or ecx, 0xffffffff
cmp al, bl
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
jne 0x42bb58
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42babb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x44c]
lea ecx, [ebp - 0x444]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42b970
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x448]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004397ee
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402060
push 0x80004005
call fcn.00402060
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bb6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x448]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bbb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42bb28