Function at 0x42b480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45121c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
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
mov eax, dword [ebp + 8]
xor edi, edi
push 0x228
lea ecx, [ebp - 0x238]
push edi
push ecx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x23c], edi
call fcn.0043c440
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x248], esi
cmp esi, 0xffffffff
jne 0x42b4f1
xor eax, eax
jmp 0x42b7e8
lea edx, [ebp - 0x23c]
push edx
push esi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42b7df
lea edi, [ebp - 0x218]
shr edi, 0x10
mov eax, str.EXPLORER.EXE
shr eax, 0x10
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x24c], eax
mov edi, edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x244], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
test edi, edi
jne 0x42b575
movzx edi, ax
call fcn.00401be0
test eax, eax
je 0x42b5aa
push eax
mov eax, edi
lea edi, [ebp - 0x244]
call fcn.00401d90
jmp 0x42b5a4
lea edx, [eax + 2]
jmp 0x42b580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b580
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x244]
push edx
mov ebx, eax
call fcn.00402080
mov esi, dword [ebp - 0x244]
mov dword [ebp - 4], 1
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x240], ebx
cmp dword [ebp - 0x24c], 0
mov byte [ebp - 4], 2
jne 0x42b5f7
mov eax, str.EXPLORER.EXE
movzx edi, ax
call fcn.00401be0
test eax, eax
je 0x42b60d
push eax
mov eax, edi
lea edi, [ebp - 0x240]
call fcn.00401d90
jmp 0x42b607
mov ebx, str.EXPLORER.EXE
lea eax, [ebp - 0x240]
call fcn.00401ad0
mov ebx, dword [ebp - 0x240]
mov byte [ebp - 4], 3
mov edi, dword [esi - 0xc]
test edi, edi
js 0x42b74f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x42b640
mov eax, edi
lea ecx, [ebp - 0x244]
call fcn.00402000
mov esi, dword [ebp - 0x244]
lea eax, [edi + 1]
push eax
push esi
call fcn.0043a8a3
add esp, 8
cmp edi, dword [esi - 8]
jg 0x42b74f
xor ecx, ecx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], cx
mov edi, dword [ebx - 0xc]
test edi, edi
js 0x42b74f
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x42b68e
mov eax, edi
lea ecx, [ebp - 0x240]
call fcn.00402000
mov ebx, dword [ebp - 0x240]
lea edx, [edi + 1]
push edx
push ebx
call fcn.0043a8a3
add esp, 8
cmp edi, dword [ebx - 8]
jg 0x42b74f
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], ax
mov ecx, ebx
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b6d7
test dx, dx
je 0x42b6d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b6d7
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b6b1
xor eax, eax
jmp 0x42b6dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x42b759
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b705
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x23c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x42b7d4
mov edi, dword [ebp - 0x254]
jmp 0x42b530
push 0x80070057
call fcn.00402060
mov eax, dword [ebp - 0x234]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 0x250]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edx, dword [ebp - 0x248]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b7af
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b7e6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x42b7e6
mov esi, dword [ebp - 0x248]
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
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