Function at 0x1001b3b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100408b1
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.1003f530
mov eax, dword [0x1005b034]
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
xor ebx, ebx
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
push 0x1000
lea ecx, [ebp - 0x1160]
push ecx
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1001b59e
mov eax, dword [ebp - 0x15c]
shr eax, 2
xor esi, esi
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], esi
cmp eax, ebx
jle 0x1001b59e
mov eax, dword [ebp + esi*4 - 0x1160]
push 0x104
lea edx, [ebp - 0x118]
push edx
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1001b58b
mov edx, dword [ebp + esi*4 - 0x1160]
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push edx
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1001b58b
push 0xc
mov eax, str._PROCESSDLL_
lea ecx, [ebp - 0x134]
call fcn.10008150
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001b4b4
mov ecx, dword [ebp - 0x154]
sub eax, edx
push ecx
lea edx, [ebp + eax - 0x118]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x150]
push ecx
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
call fcn.10026a30
push ebx
lea edx, [ebp - 0x150]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.100084a0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x13c], 0x10
jb 0x1001b52b
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 3
mov eax, 0x1004e708
lea ecx, [ebp - 0x134]
call fcn.10008150
push 7
mov eax, 0x1004f0fc
lea ecx, [ebp - 0x134]
call fcn.10008150
push 3
mov eax, 0x1004e708
lea ecx, [ebp - 0x134]
call fcn.10008150
push 7
mov eax, 0x1004f0fc
lea ecx, [ebp - 0x134]
call fcn.10008150
push 1
mov eax, 0x1004d950
lea ecx, [ebp - 0x134]
call fcn.10008150
mov esi, dword [ebp - 0x158]
inc esi
mov dword [ebp - 0x158], esi
cmp esi, dword [ebp - 0x154]
jl 0x1001b453
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x1001b5ba
lea eax, [ebp - 0x134]
mov ecx, eax
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1001b5d5
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x150]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 2
call fcn.1001ad30
mov esi, 0x10
cmp dword [ebp - 0x13c], esi
jb 0x1001b613
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x120], esi
jb 0x1001b62b
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1003e6b0
mov esp, ebp
pop ebp
ret