Function at 0x438390
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e780b
mov eax, dword fs:[0]
push eax
mov eax, 0x185c
call fcn.005ad780
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1844], ecx
lea eax, [ebp - 0x1850]
push eax
push 0x1000
lea ecx, [ebp - 0x17e0]
push ecx
call sub.PSAPI.DLL_EnumProcesses
mov edx, dword [ebp - 0x1850]
shr edx, 2
mov dword [ebp - 0x1854], edx
mov dword [ebp - 0x184c], 0
mov dword [ebp - 0x182c], 0
mov dword [ebp - 0x1834], 0
mov dword [ebp - 0x1830], 0
jmp 0x438425
mov eax, dword [ebp - 0x1830]
add eax, 1
mov dword [ebp - 0x1830], eax
mov ecx, dword [ebp - 0x1830]
cmp ecx, dword [ebp - 0x1854]
jae 0x4386fc
mov edx, dword [ebp - 0x1830]
mov eax, dword [ebp + edx*4 - 0x17e0]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1838], eax
cmp dword [ebp - 0x1838], 0
je 0x4386ea
xor ecx, ecx
mov word [ebp - 0x7e0], cx
push 0x7ce
push 0
lea edx, [ebp - 0x7de]
push edx
call fcn.005be3a0
add esp, 0xc
mov dword [ebp - 0x1840], 0
push 0x7d0
lea eax, [ebp - 0x7e0]
push eax
push 0
mov ecx, dword [ebp - 0x1838]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExW
lea edx, [ebp - 0x7e0]
push edx
call fcn.005c1d51
add esp, 4
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jne 0x438536
cmp dword [ebp - 0x182c], 0
jne 0x4384e0
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x182c], eax
cmp dword [ebp - 0x182c], 0
je 0x438536
cmp dword [ebp - 0x1834], 0
jne 0x43850a
push str.GetProcessImageFileNameW
mov eax, dword [ebp - 0x182c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1834], eax
cmp dword [ebp - 0x1834], 0
je 0x438536
push 0x104
lea ecx, [ebp - 0x7e0]
push ecx
mov edx, dword [ebp - 0x1838]
push edx
call dword [ebp - 0x1834]
mov dword [ebp - 0x1840], 1
lea eax, [ebp - 0x7e0]
push eax
call fcn.005c1d51
add esp, 4
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jle 0x4386ea
lea ecx, [ebp - 0x7e0]
push ecx
call fcn.005c8979
add esp, 4
lea edx, [ebp - 0x7e0]
push edx
mov ecx, dword [ebp - 0x1844]
call fcn.00438940
movzx eax, al
test eax, eax
je 0x4386ea
mov dword [ebp - 0x184c], 1
mov dword [ebp - 0x1848], 0
lea ecx, [ebp - 0x7e0]
push ecx
lea ecx, [ebp - 0x1810]
call fcn.00402790
mov dword [ebp - 4], 0
push 0x5ef8c0
lea ecx, [ebp - 0x17f8]
call fcn.00402790
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1840], 0
je 0x438639
lea edx, [ebp - 0x7e0]
push edx
lea eax, [ebp - 0x1828]
push eax
mov ecx, dword [ebp - 0x1844]
call fcn.00438a50
mov dword [ebp - 0x1858], eax
mov ecx, dword [ebp - 0x1858]
push ecx
lea ecx, [ebp - 0x17f8]
call fcn.004043b0
lea ecx, [ebp - 0x1828]
call fcn.00402750
push 0x5ef8c4
lea edx, [ebp - 0x17f8]
push edx
call fcn.00406f10
add esp, 8
movzx eax, al
test eax, eax
je 0x438637
lea ecx, [ebp - 0x7e0]
push ecx
lea ecx, [ebp - 0x17f8]
call fcn.004028a0
jmp 0x43864b
lea edx, [ebp - 0x1810]
push edx
lea ecx, [ebp - 0x17f8]
call fcn.00404390
lea eax, [ebp - 0x17f8]
push eax
lea ecx, [ebp - 0x1860]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00419140
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1864]
push eax
mov ecx, dword [ebp + 8]
call fcn.0046f780
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x185c]
push edx
call fcn.004391a0
add esp, 0x10
lea eax, [ebp - 0x1868]
push eax
mov ecx, dword [ebp + 8]
call fcn.00419140
push eax
lea ecx, [ebp - 0x185c]
call fcn.0046f230
movzx ecx, al
test ecx, ecx
je 0x4386b1
mov dword [ebp - 0x1848], 1
cmp dword [ebp - 0x1848], 0
jne 0x4386c9
lea edx, [ebp - 0x17f8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00439470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17f8]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1810]
call fcn.00402750
mov eax, dword [ebp - 0x1838]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438416
cmp dword [ebp - 0x182c], 0
je 0x438712
mov ecx, dword [ebp - 0x182c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x184c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret 4