Function at 0x429a20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437798
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1150
call fcn.00413580
mov eax, dword [0x44aae4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1158], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x138]
push eax
push 0x1000
lea ecx, [ebp - 0x1138]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x429aa5
mov dword [ebp - 0x1144], str.Failed_enumerating_process_modules...
push 0x4465f0
lea eax, [ebp - 0x1144]
push eax
call fcn.004130b6
mov ecx, dword [ebp - 0x138]
shr ecx, 2
mov dword [ebp - 0x18], ecx
push 0x104
push 0
lea edx, [ebp - 0x128]
push edx
call fcn.004104c0
add esp, 0xc
mov dword [ebp - 0x113c], 0
jmp 0x429ae2
mov eax, dword [ebp - 0x113c]
add eax, 1
mov dword [ebp - 0x113c], eax
mov ecx, dword [ebp - 0x113c]
cmp ecx, dword [ebp - 0x18]
jae 0x429caf
push 0x104
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x113c]
mov ecx, dword [ebp + eax*4 - 0x1138]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.PSAPI.DLL_GetModuleBaseNameA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.00410250
add esp, 8
test eax, eax
je 0x429caa
push str.ntdll.dll
lea edx, [ebp - 0x128]
push edx
call fcn.00410250
add esp, 8
test eax, eax
je 0x429caa
push 0x32
call fcn.0040270b
add esp, 4
mov dword [ebp - 0x115c], eax
mov eax, dword [ebp - 0x115c]
mov dword [ebp - 0x1148], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x140
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1148]
mov dword [edx + ecx], eax
lea ecx, [ebp - 0x128]
push ecx
push 0x32
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x140
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
push ecx
call fcn.004102d8
add esp, 0xc
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x140
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx + 0x108], ecx
push 0x104
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x140
mov eax, dword [ebp + 0x10]
lea ecx, [eax + edx + 4]
push ecx
mov edx, dword [ebp - 0x113c]
mov eax, dword [ebp + edx*4 - 0x1138]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExA
push 0xc
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x113c]
mov ecx, dword [ebp + eax*4 - 0x1138]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
jne 0x429c22
mov dword [ebp - 0x114c], str.Error_getting_module_info...
push 0x4465f0
lea eax, [ebp - 0x114c]
push eax
call fcn.004130b6
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x140
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x134]
mov dword [edx + ecx + 0x10c], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x140
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x130]
mov dword [edx + ecx + 0x110], eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x140
add ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x1158]
call fcn.00429830
mov dword [ebp - 0x1160], eax
cmp dword [ebp - 0x1160], 0
je 0x429c86
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x429caa
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x140
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x1150], edx
mov eax, dword [ebp - 0x1150]
push eax
call fcn.00402710
add esp, 4
jmp 0x429ad3
jmp 0x429cdb
mov dword [ebp - 4], 0xffffffff
jmp 0x429cec
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0040fc17
mov esp, ebp
pop ebp
ret 0xc