Function at 0x424280
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49405d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4b7180]
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.00426790
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 0x4242fa
lea ebx, [esi + ecx*4]
jmp 0x42433a
jbe 0x42433d
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x42431d
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.004269e0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x42433d
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.00470360
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.PSAPI.DLL_EnumProcesses]
lea eax, [ebp - 0x10]
push eax
lea eax, [ecx*4]
push eax
push esi
call edi
test eax, eax
je 0x424636
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
jne 0x42441e
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 0x4243a9
cmp ecx, 0x3fffffff
ja 0x42467f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00426790
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 0x4243b9
lea ebx, [esi + ecx*4]
jmp 0x4243f9
jbe 0x4243fc
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x4243dc
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.004269e0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x4243fc
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.00470360
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 0x424636
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
je 0x424370
mov edi, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edi
shr esi, 2
sar ecx, 2
cmp esi, ecx
jae 0x424434
lea ebx, [edi + esi*4]
jmp 0x424467
jbe 0x42446a
mov eax, dword [ebp - 0x2c]
sub eax, edi
sar eax, 2
cmp esi, eax
jbe 0x424454
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.004269e0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jmp 0x42446a
sub esi, ecx
shl esi, 2
push esi
push 0
push ebx
call fcn.00470360
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x30], ebx
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x424632
push dword [eax]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x424621
call fcn.00404e10
mov ecx, eax
test ecx, ecx
je 0x42468e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
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 0x4244da
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00404450
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], 2
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4244f7
xor ecx, ecx
jmp 0x424510
push dword [eax - 8]
push eax
call fcn.0047bec1
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x424684
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x424684
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov word [eax + ecx*2], dx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.00404e10
test eax, eax
je 0x42468e
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], 3
call fcn.00404180
test al, al
jne 0x424589
test esi, esi
jne 0x424567
xor ecx, ecx
jmp 0x42457f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424570
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.004044b0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov edi, dword [eax]
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
je 0x4245ea
nop
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42468e
mov edx, eax
nop dword [eax]
mov si, word [edx]
cmp si, word [ecx]
jne 0x4245d6
test si, si
je 0x4245d2
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x4245d6
add edx, 4
add ecx, 4
test si, si
jne 0x4245b0
xor ecx, ecx
jmp 0x4245db
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x4245e2
mov byte [edi], 1
add edi, 8
cmp edi, dword [ebp - 0x28]
jne 0x4245a0
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424602
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 0x424621
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 0x424477
mov bl, 1
jmp 0x424638
xor bl, bl
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x42466b
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x424661
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424698
push ecx
push edx
call fcn.0046de58
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.004048e0
push 0x80070057
call fcn.00404bf0
push 0x80004005
call fcn.00404bf0
call fcn.004734cf
int3