Function at 0x428b50
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fa3d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4c6180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0x400
call fcn.0042ac10
mov ebx, dword [ebp - 0x30]
mov edx, ebx
mov esi, dword [ebp - 0x34]
sub edx, esi
mov ecx, dword [ebp - 0x10]
sar edx, 2
cmp ecx, edx
jae 0x428bca
lea ebx, [esi + ecx*4]
jmp 0x428c0a
jbe 0x428c0d
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x428bed
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042ae50
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x428c0d
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.00476f60
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ebx, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
mov edi, dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
lea eax, [ecx*4]
lea ecx, [ebp - 0x10]
push ecx
push eax
push esi
call edi
test eax, eax
je 0x428f07
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
jne 0x428cee
nop dword [eax]
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + esi]
mov esi, dword [ebp - 0x34]
sub eax, esi
sar eax, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jbe 0x428c79
cmp ecx, 0x3fffffff
ja 0x428f50
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042ac10
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edx, ebx
sub edx, esi
sar edx, 2
cmp ecx, edx
jae 0x428c89
lea ebx, [esi + ecx*4]
jmp 0x428cc9
jbe 0x428ccc
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x428cac
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042ae50
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x428ccc
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.00476f60
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ebx, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x10]
push eax
push ecx
push esi
call edi
test eax, eax
je 0x428f07
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
je 0x428c40
mov edi, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edi
shr esi, 2
sar ecx, 2
cmp esi, ecx
jae 0x428d04
lea ebx, [edi + esi*4]
jmp 0x428d37
jbe 0x428d3a
mov eax, dword [ebp - 0x2c]
sub eax, edi
sar eax, 2
cmp esi, eax
jbe 0x428d24
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.0042ae50
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jmp 0x428d3a
sub esi, ecx
shl esi, 2
push esi
push 0
push ebx
call fcn.00476f60
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x30], ebx
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x428f03
push dword [eax]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x428ef2
mov byte [ebp - 4], 1
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x428f5f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov edx, 1
mov dword [ebp - 0x20], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x428dae
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004099f0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x428dcb
xor ecx, ecx
jmp 0x428de4
push dword [eax - 8]
push eax
call fcn.00482f2e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x428f55
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x428f55
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov word [eax + ecx*2], dx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.0040a3a0
test eax, eax
je 0x428f5f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00409810
test al, al
jne 0x428e59
test esi, esi
jne 0x428e3b
xor ecx, ecx
jmp 0x428e4f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428e40
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.00409a50
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
je 0x428ebb
nop dword [eax + eax]
mov byte [ebp - 4], 5
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x428f5f
mov edx, eax
mov si, word [edx]
cmp si, word [ecx]
jne 0x428ea7
test si, si
je 0x428ea3
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x428ea7
add edx, 4
add ecx, 4
test si, si
jne 0x428e81
xor ecx, ecx
jmp 0x428eac
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x428eb3
mov byte [edi], 1
add edi, 8
cmp edi, dword [ebp - 0x28]
jne 0x428e70
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428ed3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428ef2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x428d47
mov bl, 1
jmp 0x428f09
xor bl, bl
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x428f3c
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x428f32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428f69
push ecx
push edx
call fcn.00474a68
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00406e40
push 0x80070057
call fcn.00407590
push 0x80004005
call fcn.00407590
call fcn.0047a0cf
int3