Function at 0x10056100
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10274598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa60
lea ecx, [ebp - 0x24c]
call fcn.10055be0
mov dword [ebp - 4], 0
push 0x410
push 0
lea eax, [ebp - 0x65c]
push eax
call fcn.1024b810
add esp, 0xc
push 0x410
push 0
lea ecx, [ebp - 0xa6c]
push ecx
call fcn.1024b810
add esp, 0xc
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x28]
call fcn.10047e90
mov byte [ebp - 4], 1
push 0x14
mov ecx, dword [ebp + 0xc]
call fcn.100566d0
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.1025b009
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1005635f
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 0x10056353
mov dword [ebp - 0x18], 1
jmp 0x100561db
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 0x1005634f
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.100563e0
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 0x1005631e
lea eax, [ebp - 0xa6c]
push eax
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10048090
movzx edx, al
test edx, edx
jne 0x100562f3
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 0x100562f1
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 0x1005631c
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 0x1005633b
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.10056770
jmp 0x100561d2
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1025afee
add esp, 4
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0xe], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10047f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100416a0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret