Function at 0x10054320
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8a33
mov eax, dword fs:[0]
push eax
mov eax, 0x1234
call fcn.100b0040
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x240], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x410
mov dword [ebp - 0x238], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
jne 0x1005439c
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x10054393
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
xor eax, eax
jmp 0x10054581
lea edx, [ebp - 0x23c]
push edx
push 0x1000
lea eax, [ebp - 0x1240]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x10054558
xor esi, esi
test dword [ebp - 0x23c], 0xfffffffc
jbe 0x10054558
mov edx, dword [str.known]
mov ecx, dword [0x100d61d8]
mov eax, dword [0x100d61e0]
push 0x1f8
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], ecx
mov ecx, dword [0x100d61e4]
lea edx, [ebp - 0x208]
push ebx
push edx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], ecx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + esi*4 - 0x1240]
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
push ecx
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10054451
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.10003360
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x1005448c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x1005449f
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x100544b2
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x224]
push ecx
push eax
push edx
push ebx
lea ecx, [ebp - 0x234]
call fcn.1000b820
test eax, eax
je 0x10054517
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], 8
jb 0x100544ea
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0x23c]
xor ecx, ecx
inc esi
shr edx, 2
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp esi, edx
jb 0x100543d0
jmp 0x10054558
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], 8
jb 0x1005453f
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x10054579
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x238]
xor ecx, ecx
mov word [ebp + 8], cx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret 0x20