Function at 0x10001ab8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x30574
call fcn.1000d0d0
mov eax, dword [0x100122cc]
xor eax, esp
mov dword [esp + 0x30570], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x10013164]
push ebx
push esi
mov esi, dword [eax + 0x108]
push edi
mov dword [esp + 0x1c], ecx
cmp esi, 0xffffffff
jne 0x10001b15
push dword [eax + 0x110]
push dword [eax]
call fcn.1000210e
pop ecx
pop ecx
mov ecx, dword [esp + 0x3057c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100042df
mov esp, ebp
pop ebp
ret
push 0x424
xor ebx, ebx
lea eax, [esp + 0x158]
push ebx
push eax
call fcn.10009fc0
add esp, 0xc
push esi
push 8
mov dword [esp + 0x158], 0x428
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x10001b4f
xor eax, eax
jmp 0x10001b00
lea eax, [esp + 0x150]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x10001b6a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10001b4b
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0xfffe
stosd dword es:[edi], eax
push esi
lea eax, [esp + 0x2057d]
push ebx
push eax
mov byte [esp + 0x2c], 4
mov byte [esp + 0x20584], bl
call fcn.10009fc0
push esi
lea eax, [esp + 0x10589]
push ebx
push eax
mov byte [esp + 0x10590], bl
call fcn.10009fc0
push esi
lea eax, [esp + 0x595]
push ebx
push eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x59c], bl
call fcn.10009fc0
lea eax, [esp + 0x1059c]
add esp, 0x24
mov dword [esp + 0x14], eax
push 0x114
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.10009fc0
mov eax, dword [esp + 0x170]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x37c]
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x10001c17
push ebx
push ebx
sub eax, ecx
push 0x104
lea ecx, [esp + 0x48]
push ecx
sar eax, 1
push eax
lea eax, [esp + 0x384]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [esp + 0x24], 0xea
jae 0x10001c89
mov edi, dword [esp + 0x14]
push 0x46
mov eax, 0x118
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
inc dword [esp + 0x28]
pop ecx
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x1c]
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10001bd3
cmp dword [esp + 0x24], ebx
je 0x10001d31
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20578]
push eax
lea eax, [esp + 0x1057c]
push esi
push eax
call fcn.10002191
add esp, 0xc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x10001cc2
mov dword [esp + 0x10], ebx
jmp 0x10001cd2
mov ecx, eax
and ecx, 7
je 0x10001cce
sub eax, ecx
add eax, 8
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
push esi
lea eax, [esp + 0x2057c]
push eax
lea eax, [esp + 0x598]
push eax
call fcn.10002beb
mov eax, dword [esp + 0x1c]
push 6
pop ecx
add eax, 0x18
push eax
lea eax, [esp + 0x588]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x40], esi
lea esi, [esp + 0x38]
lea edi, [esp + 0x590]
rep movsd dword es:[edi], dword [esi]
call fcn.10002466
add esp, 0x18
test eax, eax
jne 0x10001d31
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x10001b00
xor ebx, ebx
inc ebx
jmp 0x10001d20