Function at 0x428720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448691
mov eax, dword fs:[0]
push eax
sub esp, 0x448
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
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.00433910
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.004333c1
add esp, 8
cmp eax, ebx
je 0x42880f
mov edx, dword [ebp - 0x448]
sub eax, edx
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
je 0x42880f
mov eax, dword [edx - 0xc]
sub eax, ecx
lea edx, [ebp - 0x448]
dec eax
push edx
lea ecx, [ebp - 0x44c]
call fcn.0040bf80
lea edi, [ebp - 0x448]
mov byte [ebp - 4], 1
call fcn.00410e70
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 0x42880f
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.00433910
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 0x42885d
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 0x428a2a
lea ecx, [ebp - 0x444]
push ecx
push esi
mov dword [ebp - 0x444], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x428a06
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 0x4289f0
lea ecx, [ebp - 0x450]
push ecx
mov ecx, eax
call fcn.00412110
add esp, 4
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x450]
mov esi, dword [edi - 0xc]
cmp esi, ebx
jl 0x428a54
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x4288e5
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.00431ff3
add esp, 8
cmp esi, dword [edi - 8]
jg 0x428a54
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
mov ecx, 0x450d00
mov eax, edi
jmp 0x428910
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428936
cmp dx, bx
je 0x428932
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428936
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x428910
xor eax, eax
jmp 0x42893b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x4289cb
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 0x428a5e
mov esi, dword [ebp - 0x454]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42899d
cmp dx, bx
je 0x428999
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42899d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x428977
xor eax, eax
jmp 0x4289a2
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 0x428a68
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4289cb
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 0x4289ea
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 0x428880
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 0x428a36
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.00430f3e
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 0x428a7b
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 0x428a9a
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 0x428ac3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x428a38