Function at 0x437cb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1264
call fcn.00445560
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea ecx, [ebp - 0x1264]
push ecx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x437d12
mov edx, dword [ebp - 0x10]
shr edx, 2
mov dword [ebp - 0x14], edx
push 0x46468c
push 0x4d3dc0
call fcn.00401450
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00406880
mov dword [ebp - 0x1c], eax
push 0x403d00
mov ecx, dword [ebp - 0x1c]
call fcn.00406a40
jmp 0x437d34
push str.EnumProcesses:
push 0x4d3e80
call fcn.00401450
add esp, 8
mov dword [ebp - 0x20], eax
push 0x403d00
mov ecx, dword [ebp - 0x20]
call fcn.00406a40
lea ecx, [ebp - 4]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x437e12
mov eax, dword [ebp - 4]
shr eax, 2
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004454f2
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x437ddc
push 0x4646e8
push 0x4d3dc0
call fcn.00401450
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00406880
mov dword [ebp - 0x38], eax
push 0x403d00
mov ecx, dword [ebp - 0x38]
call fcn.00406a40
jmp 0x437dfe
push 0x464714
push 0x4d3e80
call fcn.00401450
add esp, 8
mov dword [ebp - 0x3c], eax
push 0x403d00
mov ecx, dword [ebp - 0x3c]
call fcn.00406a40
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.004454fb
add esp, 4
jmp 0x437e34
push str.EnumProcessModules:
push 0x4d3e80
call fcn.00401450
add esp, 8
mov dword [ebp - 0x44], eax
push 0x403d00
mov ecx, dword [ebp - 0x44]
call fcn.00406a40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x437f11
push 3
lea ecx, [ebp - 0x5c]
push ecx
push 4
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_K32EnumProcessModulesEx
test eax, eax
je 0x437ee3
push 0x104
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
je 0x437ebf
push 0x46479c
push 0x4d3f30
call fcn.00401790
add esp, 8
lea ecx, [ebp - 0x264]
push ecx
push eax
call fcn.00401b80
add esp, 8
mov dword [ebp - 0x4c], eax
push 0x403d40
mov ecx, dword [ebp - 0x4c]
call fcn.00406a40
jmp 0x437ee1
push 0x4647c0
push 0x4d3e80
call fcn.00401450
add esp, 8
mov dword [ebp - 0x50], eax
push 0x403d00
mov ecx, dword [ebp - 0x50]
call fcn.00406a40
jmp 0x437f05
push str.EnumProcessModulesEx:
push 0x4d3e80
call fcn.00401450
add esp, 8
mov dword [ebp - 0x54], eax
push 0x403d00
mov ecx, dword [ebp - 0x54]
call fcn.00406a40
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x437f33
push str.OpenProcess:
push 0x4d3e80
call fcn.00401450
add esp, 8
mov dword [ebp - 0x58], eax
push 0x403d00
mov ecx, dword [ebp - 0x58]
call fcn.00406a40
mov esp, ebp
pop ebp
ret