Function at 0x428390
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447bcc
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4590c0]
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.00433910
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 0x428401
xor eax, eax
jmp 0x4286f8
lea edx, [ebp - 0x23c]
push edx
push esi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4286ef
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 0x428485
movzx edi, ax
call fcn.00401be0
test eax, eax
je 0x4284ba
push eax
mov eax, edi
lea edi, [ebp - 0x244]
call fcn.00401d90
jmp 0x4284b4
lea edx, [eax + 2]
jmp 0x428490
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428490
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 0x428507
mov eax, str.EXPLORER.EXE
movzx edi, ax
call fcn.00401be0
test eax, eax
je 0x42851d
push eax
mov eax, edi
lea edi, [ebp - 0x240]
call fcn.00401d90
jmp 0x428517
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 0x42865f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x428550
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.00431ff3
add esp, 8
cmp edi, dword [esi - 8]
jg 0x42865f
xor ecx, ecx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], cx
mov edi, dword [ebx - 0xc]
test edi, edi
js 0x42865f
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x42859e
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.00431ff3
add esp, 8
cmp edi, dword [ebx - 8]
jg 0x42865f
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 0x4285e7
test dx, dx
je 0x4285e3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4285e7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4285c1
xor eax, eax
jmp 0x4285ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x428669
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 0x428615
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 0x428638
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 0x4286e4
mov edi, dword [ebp - 0x254]
jmp 0x428440
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 0x4286bf
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 0x4286f6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x4286f6
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.00430f3e
mov esp, ebp
pop ebp
ret