Function at 0x424830
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b4bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4c0180]
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.00426d70
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 0x4248aa
lea ebx, [esi + ecx*4]
jmp 0x4248ea
jbe 0x4248ed
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x4248cd
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00426fc0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x4248ed
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.00473110
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, [ebp - 0x10]
push eax
lea eax, [ecx*4]
push eax
push esi
call edi
test eax, eax
je 0x424be6
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
jne 0x4249ce
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 0x424959
cmp ecx, 0x3fffffff
ja 0x424c2f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00426d70
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 0x424969
lea ebx, [esi + ecx*4]
jmp 0x4249a9
jbe 0x4249ac
mov eax, dword [ebp - 0x2c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x42498c
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00426fc0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x4249ac
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push ebx
call fcn.00473110
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 0x424be6
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x10]
sar eax, 2
cmp eax, esi
je 0x424920
mov edi, dword [ebp - 0x34]
mov ecx, ebx
sub ecx, edi
shr esi, 2
sar ecx, 2
cmp esi, ecx
jae 0x4249e4
lea ebx, [edi + esi*4]
jmp 0x424a17
jbe 0x424a1a
mov eax, dword [ebp - 0x2c]
sub eax, edi
sar eax, 2
cmp esi, eax
jbe 0x424a04
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.00426fc0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
jmp 0x424a1a
sub esi, ecx
shl esi, 2
push esi
push 0
push ebx
call fcn.00473110
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x30], ebx
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x424be2
push dword [eax]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x424bd1
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x424c3e
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 0x424a8a
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00404790
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 0x424aa7
xor ecx, ecx
jmp 0x424ac0
push dword [eax - 8]
push eax
call fcn.0047efa8
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x424c34
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x424c34
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.00405150
test eax, eax
je 0x424c3e
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.004044c0
test al, al
jne 0x424b39
test esi, esi
jne 0x424b17
xor ecx, ecx
jmp 0x424b2f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424b20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.004047f0
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 0x424b9a
nop
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x424c3e
mov edx, eax
nop dword [eax]
mov si, word [edx]
cmp si, word [ecx]
jne 0x424b86
test si, si
je 0x424b82
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x424b86
add edx, 4
add ecx, 4
test si, si
jne 0x424b60
xor ecx, ecx
jmp 0x424b8b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x424b92
mov byte [edi], 1
add edi, 8
cmp edi, dword [ebp - 0x28]
jne 0x424b50
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424bb2
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 0x424bd1
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 0x424a27
mov bl, 1
jmp 0x424be8
xor bl, bl
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x424c1b
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x424c11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c48
push ecx
push edx
call fcn.00470c18
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.00404c20
push 0x80070057
call fcn.00404f30
push 0x80004005
call fcn.00404f30
call fcn.0047627f
int3