Function at 0x41df2b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
sub esp, 0x420
lea ebp, [esp - 4]
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x420], eax
push 0x28
mov eax, 0x4676c3
call fcn.00445fa2
mov eax, dword [ebp + 0x42c]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], esi
call fcn.00403574
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], esi
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00402dc4
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push ebx
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, esi
je 0x41e12d
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 4
shr eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004451bd
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, esi
je 0x41e11f
shr dword [ebp - 0x10], 2
mov dword [ebp - 0x14], esi
je 0x41e11f
mov ebx, 0x208
mov edi, 0x104
cmp dword [ebp - 0x14], esi
ja 0x41e11f
push ebx
lea eax, [ebp + 0x20e]
push esi
push eax
mov word [ebp + 0x20c], si
call fcn.004456a0
push ebx
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call fcn.004456a0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add esp, 0x18
lea eax, [eax + ecx*4]
push edi
lea ecx, [ebp + 0x20c]
push ecx
push dword [eax]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x20]
call sub.PSAPI.DLL_GetModuleBaseNameW
push edi
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xc
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
push dword [ebp - 0x20]
call sub.PSAPI.DLL_GetModuleInformation
cmp dword [ebp - 0x14], esi
mov word [ebp + 0x418], si
mov word [ebp + 0x41a], si
mov word [ebp + 0x41c], si
mov word [ebp + 0x41e], si
jne 0x41e0a9
push edi
push 0x48ae70
lea eax, [ebp + 0x20c]
push eax
mov word [ebp + 0x418], 0x7dc
mov word [ebp + 0x41a], 4
mov word [ebp + 0x41c], 0x1c
mov word [ebp + 0x41e], 0x58
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
jmp 0x41e0be
push 1
lea eax, [ebp + 0x418]
push eax
lea eax, [ebp]
push eax
call fcn.0041d13e
add esp, 0xc
movzx eax, word [ebp + 0x41e]
push eax
movzx eax, word [ebp + 0x41c]
mov ecx, dword [ebp - 0x30]
push eax
movzx eax, word [ebp + 0x41a]
push eax
movzx eax, word [ebp + 0x418]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x20c]
push eax
mov eax, dword [ebp - 0x34]
add ecx, eax
push ecx
push eax
lea eax, [ebp - 0x18]
push str._08X__08X__s_n_s__d._d._d._d__n
push eax
call fcn.0040907a
mov ecx, dword [ebp - 0x24]
add esp, 0x28
lea eax, [ebp - 0x18]
push eax
call fcn.00408fc5
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jb 0x41dfde
cmp dword [ebp - 0x1c], esi
je 0x41e12d
push dword [ebp - 0x1c]
call fcn.0044647b
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040359a
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.00445f93
add ebp, 0x424
leave
ret