Function at 0x10011ff0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100506b3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x14f4
call fcn.10048bf0
mov eax, dword [0x10067068]
xor eax, esp
mov dword [esp + 0x14f0], eax
push ebx
push esi
push edi
mov eax, dword [0x10067068]
xor eax, esp
push eax
lea eax, [esp + 0x1508]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x1074], edi
mov dword [esp + 0x1070], ebx
mov word [esp + 0x1060], cx
lea edx, [esp + 0x10]
push edx
push 0x100473d0
mov dword [esp + 0x1518], ebx
push 4
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov eax, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x10f0]
push ecx
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
push 1
mov eax, 0x10058548
lea esi, [esp + 0x1080]
mov dword [esp + 0x1094], edi
mov dword [esp + 0x1090], ebx
mov word [esp + 0x1080], dx
call fcn.1000cf60
mov byte [esp + 0x1510], 1
xor eax, eax
mov word [esp + 0x10b4], ax
lea eax, [esp + 0x10ec]
mov dword [esp + 0x10c8], edi
mov dword [esp + 0x10c4], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100120f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x10f0]
lea esi, [esp + 0x10b8]
call fcn.1000cf60
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1080]
mov ecx, esi
mov byte [esp + 0x1514], 2
call fcn.10047400
add esp, 4
mov esi, 8
mov byte [esp + 0x1510], 4
cmp dword [esp + 0x10c8], esi
jb 0x10012158
mov edx, dword [esp + 0x10b4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x10c8], edi
mov dword [esp + 0x10c4], ebx
mov word [esp + 0x10b4], ax
mov byte [esp + 0x1510], 5
cmp dword [esp + 0x1090], esi
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x10012194
mov ecx, dword [esp + 0x107c]
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe4
push ebx
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x1068]
mov dword [esp + 0x1098], edi
mov dword [esp + 0x1094], ebx
mov word [esp + 0x1084], dx
call fcn.1000c030
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x10012235
mov byte [esp + 0x1510], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10012201
mov edi, dword [esp + 0x1c]
call fcn.10012640
mov eax, dword [esp + 0x18]
push eax
call esi
add esp, 4
mov dword [esp + 0x1510], 0xffffffff
cmp dword [esp + 0x1074], 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x100125d1
mov ecx, dword [esp + 0x1060]
push ecx
call esi
jmp 0x100125ce
lea edx, [esp + 0x14]
push edx
push 0x1000
lea ecx, [esp + 0x4c]
push ecx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1001256e
test dword [esp + 0x14], 0xfffffffc
mov dword [esp + 0x10], ebx
jbe 0x1001256e
jmp 0x10012275
mov edi, 7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x44]
push 0x104
lea edx, [esp + 0x12f8]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
xor eax, eax
mov word [esp + 0x10d0], ax
push 1
mov eax, 0x10058548
lea esi, [esp + 0x10d4]
mov dword [esp + 0x10e8], edi
mov dword [esp + 0x10e4], ebx
call fcn.1000cf60
mov byte [esp + 0x1510], 6
xor ecx, ecx
lea eax, [esp + 0x12f4]
mov dword [esp + 0x10ac], edi
mov dword [esp + 0x10a8], ebx
mov word [esp + 0x1098], cx
lea edx, [eax + 2]
jmp 0x100122f0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100122f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x12f8]
lea esi, [esp + 0x109c]
call fcn.1000cf60
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x10d4]
mov ecx, esi
mov byte [esp + 0x1514], 7
call fcn.10047400
add esp, 4
mov esi, 8
mov byte [esp + 0x1510], 9
cmp dword [esp + 0x10ac], esi
jb 0x10012358
mov eax, dword [esp + 0x1098]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x10ac], edi
mov dword [esp + 0x10a8], ebx
mov word [esp + 0x1098], cx
mov byte [esp + 0x1510], 0xa
cmp dword [esp + 0x10e4], esi
jb 0x10012392
mov edx, dword [esp + 0x10d0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [esp + 0x10d0], ax
mov eax, dword [esp + 0x30]
add eax, 0xffffffe4
xor ecx, ecx
push ebx
mov word [esp + 0x1048], cx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x104c]
mov dword [esp + 0x10ec], edi
mov dword [esp + 0x10e8], ebx
mov dword [esp + 0x1060], edi
mov dword [esp + 0x105c], ebx
call fcn.1000c030
mov byte [esp + 0x1510], 0xb
mov eax, dword [esp + 0x1044]
cmp dword [esp + 0x1058], esi
jae 0x100123f9
lea eax, [esp + 0x1044]
mov edi, dword [esp + 0x1054]
push eax
mov eax, dword [esp + 0x1074]
lea ecx, [esp + 0x1064]
call fcn.1000f850
test eax, eax
jne 0x10012450
mov edx, dword [esp + 0x10]
mov eax, dword [esp + edx*4 + 0x44]
cmp eax, dword [esp + 0x3c]
je 0x10012450
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CheckRunTimeUpdate
push eax
call esi
mov edi, eax
cmp edi, ebx
je 0x1001244b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call edi
test eax, eax
jns 0x100124de
mov esi, 8
mov byte [esp + 0x1510], 0xa
cmp dword [esp + 0x1058], esi
jb 0x10012472
mov eax, dword [esp + 0x1044]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0x1510], 5
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x1058], 7
mov dword [esp + 0x1054], ebx
mov word [esp + 0x1044], cx
cmp eax, ebx
je 0x100124b5
mov edi, dword [esp + 0x30]
call fcn.10012640
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x10012270
jmp 0x1001256e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + edx*4 + 0x44]
push 0x10058560
push eax
call esi
cmp eax, ebx
je 0x10012549
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x1514], 0xc
mov edx, dword [esi + 0xc]
push 0x100529dc
push edx
call eax
test eax, eax
js 0x10012531
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0x100529ec
push ebx
push eax
call edx
test eax, eax
js 0x10012531
mov byte [esi + 4], 1
mov byte [esp + 0x1510], 0xb
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10012549
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x1044]
mov byte [esp + 0x1510], 0xa
call fcn.100187d0
lea esi, [esp + 0x2c]
mov byte [esp + 0x1510], 5
call fcn.10012600
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x1510], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001259f
mov edi, dword [esp + 0x1c]
call fcn.10012640
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x1510], 0xffffffff
cmp dword [esp + 0x1074], 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x100125d1
mov edx, dword [esp + 0x1060]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x1508]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14f0]
xor ecx, esp
call fcn.10048188
mov esp, ebp
pop ebp
ret 4