Function at 0x42da60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4cc0a0
push 0x469770
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2c54
call fcn.0043a680
mov eax, dword [0x4d61d4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c50], edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c54], edx
test edi, edi
je 0x42de28
mov esi, edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42dac0
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x2c48], esi
mov dword [ebp - 0x2c3c], esi
cmp esi, 4
jl 0x42de28
cmp esi, 0x104
jg 0x42de28
test edx, edx
je 0x42dafa
mov dword [edx], 0
xor eax, eax
mov dword [ebp - 0x2c40], eax
mov dword [ebp - 0x2c34], eax
mov dword [ebp - 4], eax
call fcn.0042d600
mov dword [ebp - 4], 0xfffffffe
jmp 0x42db47
push 0x800
push 0
lea eax, [ebp - 0xc30]
push eax
call fcn.004693b0
mov dword [ebp - 0x2c44], 0
push 0x2000
push 0
lea eax, [ebp - 0x2c30]
push eax
call fcn.004693b0
add esp, 0x18
lea eax, [ebp - 0x2c44]
push eax
push 0x800
lea eax, [ebp - 0x2c30]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x42de28
push 0x20a
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.004693b0
push 0x104
push edi
push 0x105
lea eax, [ebp - 0x228]
push eax
call fcn.00470433
push 0x105
lea eax, [ebp - 0x228]
push eax
call fcn.0047368d
add esp, 0x24
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dbe1
sub ecx, edx
sar ecx, 1
mov eax, 0x5c
cmp ax, word [ebp + ecx*2 - 0x22a]
je 0x42dc0e
inc esi
mov dword [ebp - 0x2c48], esi
mov word [ebp + ecx*2 - 0x228], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2c38], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c6c], xmm0
movq qword [ebp - 0x2c5c], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x42dc4b
or ecx, 0xffffffff
mov dword [ebp - 0x2c34], ecx
jmp 0x42dce3
push str.NtQueryInformationProcess
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c3c], eax
test eax, eax
jne 0x42dc73
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2c34], ecx
jmp 0x42dce3
push dword [ebp - 0x2c38]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c4c], eax
test eax, eax
jne 0x42dca2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2c34], ecx
jmp 0x42dce3
push 0
push 0x18
lea ecx, [ebp - 0x2c6c]
push ecx
push 0
push eax
call dword [ebp - 0x2c3c]
test eax, eax
mov eax, 0xffffffff
cmove eax, dword [ebp - 0x2c58]
mov dword [ebp - 0x2c34], eax
push dword [ebp - 0x2c4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x2c34]
xor eax, eax
mov dword [ebp - 0x2c3c], eax
cmp dword [ebp - 0x2c44], eax
jbe 0x42de16
mov edx, dword [ebp - 0x2c38]
nop dword [eax]
lea eax, [ebp + eax*4 - 0x2c30]
mov dword [ebp - 0x2c4c], eax
mov eax, dword [eax]
cmp edx, eax
je 0x42ddf1
cmp ecx, eax
je 0x42ddf1
push 0x400
lea ecx, [ebp - 0xc30]
push ecx
push eax
call fcn.0042d690
add esp, 0xc
test eax, eax
je 0x42ddeb
push 0x400
lea eax, [ebp - 0xc30]
push eax
call fcn.0047368d
push esi
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004734d6
add esp, 0x14
test eax, eax
jne 0x42ddeb
xor esi, esi
nop
mov edi, dword [esi + 0x4dca80]
test edi, edi
je 0x42ddd0
push 0x208
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.004693b0
push dword [ebp - 0x2c50]
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.0046fa9c
push edi
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.0046fa9c
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.0046fb00
add esp, 0x2c
test eax, eax
je 0x42ddeb
add esi, 4
cmp esi, 4
jb 0x42dd70
mov eax, dword [ebp - 0x2c4c]
push dword [eax]
call fcn.0042e040
inc dword [ebp - 0x2c40]
mov edx, dword [ebp - 0x2c38]
mov eax, dword [ebp - 0x2c3c]
inc eax
mov dword [ebp - 0x2c3c], eax
cmp eax, dword [ebp - 0x2c44]
mov esi, dword [ebp - 0x2c48]
mov ecx, dword [ebp - 0x2c34]
jb 0x42dd00
mov ecx, dword [ebp - 0x2c54]
test ecx, ecx
je 0x42de28
mov eax, dword [ebp - 0x2c40]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret 8