Function at 0x10055120
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102733d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa60
lea ecx, [ebp - 0x24c]
call fcn.10054c00
mov dword [ebp - 4], 0
push 0x410
push 0
lea eax, [ebp - 0x65c]
push eax
call fcn.1024a480
add esp, 0xc
push 0x410
push 0
lea ecx, [ebp - 0xa6c]
push ecx
call fcn.1024a480
add esp, 0xc
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x28]
call fcn.10046f20
mov byte [ebp - 4], 1
push 0x14
mov ecx, dword [ebp + 0xc]
call fcn.100556f0
lea edx, [ebp - 0x14]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov ecx, dword [ebp - 0x14]
shl ecx, 2
push ecx
call fcn.10259c4e
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1005537f
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x10055373
mov dword [ebp - 0x18], 1
jmp 0x100551fb
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 2
cmp dword [ebp - 0x18], ecx
jae 0x1005536f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10055400
add esp, 8
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov word [ebp + edx - 0x65c], ax
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x24c], 0
push 0x208
lea eax, [ebp - 0x65c]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameW]
test eax, eax
jbe 0x1005533e
lea eax, [ebp - 0xa6c]
push eax
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047120
movzx edx, al
test edx, edx
jne 0x10055313
push 0
push 0
push 0x104
lea eax, [ebp - 0x24c]
push eax
push 0x104
lea ecx, [ebp - 0xa6c]
push ecx
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x104
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
jne 0x10055311
push 0
push 0
push 0x104
lea edx, [ebp - 0x24c]
push edx
push 0x104
lea eax, [ebp - 0x65c]
push eax
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1005533c
push 0
push 0
push 0x104
lea ecx, [ebp - 0x24c]
push ecx
push 0x104
lea edx, [ebp - 0x65c]
push edx
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1005535b
push 0x104
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10055790
jmp 0x100551f2
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10259c33
add esp, 4
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0xe], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10046fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10040730
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret