Function at 0x10012a50
Capabilities:
Enumerate process modules

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075d01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x948
mov eax, dword [0x10094128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x100bfcb8]
push ecx
mov ecx, dword [0x100bfcb4]
call fcn.10013590
mov eax, dword [0x100bfcb4]
add esp, 4
mov dword [0x100bfcb8], eax
lea eax, [ebp - 0x8f0]
push 0x7d0
push 0
push eax
call fcn.100552a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 0x928], 0
lea eax, [ebp - 0x928]
mov dword [ebp - 0x948], edi
push eax
push 0x7d0
lea eax, [ebp - 0x8f0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x10013135
xor esi, esi
test dword [ebp - 0x928], 0xfffffffc
mov dword [ebp - 0x944], esi
jbe 0x10013135
nop dword [eax + eax]
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.100552a0
add esp, 0xc
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x8f0]
lea eax, [eax + esi*4]
mov dword [ebp - 0x94c], eax
push 0x104
push ecx
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x1001311d
mov dword [ebp - 0x910], 0
push 0x20
lea ecx, [ebp - 0x910]
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8fc], 0xf
mov byte [ebp - 0x910], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000caa0
movups xmm0, xmmword [str.III.VC.SA.LimitAdjuster]
mov edx, eax
mov dword [ebp - 0x900], 0x17
mov dword [ebp - 0x8fc], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x100875fc]
mov dword [edx + 0x10], ecx
mov cx, word [0x10087600]
mov word [edx + 0x14], cx
mov al, byte [0x10087602]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
mov dword [ebp - 0x910], edx
mov dword [ebp - 4], 1
mov dword [ebp - 0x940], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x92c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 4], 1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012c13
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x940]
call fcn.1000c850
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x940]
cmp dword [ebp - 0x92c], 0x10
mov ecx, dword [ebp - 0x940]
mov edi, dword [ebp - 0x930]
mov dword [ebp - 0x920], ecx
jb 0x10012c5d
mov esi, ecx
add edi, ecx
jmp 0x10012c65
add edi, edx
lea esi, [ebp - 0x940]
cmp esi, edi
je 0x10012c8f
nop dword [eax]
movsx eax, byte [esi]
push eax
call fcn.10057c2f
mov byte [esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x10012c70
mov ecx, dword [ebp - 0x940]
mov dword [ebp - 0x920], ecx
mov ecx, dword [ebp - 0x8fc]
lea edx, [ebp - 0x910]
mov edi, dword [ebp - 0x910]
mov eax, dword [ebp - 0x900]
cmp ecx, 0x10
jb 0x10012cb2
mov esi, edi
add eax, edi
jmp 0x10012cba
add eax, edx
lea esi, [ebp - 0x910]
mov dword [ebp - 0x924], eax
cmp esi, eax
je 0x10012ced
mov edi, eax
movsx eax, byte [esi]
push eax
call fcn.10057c2f
mov byte [esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x10012cc6
mov esi, dword [ebp - 0x940]
mov edi, dword [ebp - 0x910]
mov ecx, dword [ebp - 0x8fc]
jmp 0x10012cf3
mov esi, dword [ebp - 0x920]
push dword [ebp - 0x900]
mov edx, dword [ebp - 0x930]
lea eax, [ebp - 0x910]
cmp ecx, 0x10
lea ecx, [ebp - 0x940]
cmovae eax, edi
cmp dword [ebp - 0x92c], 0x10
push eax
cmovae ecx, esi
setae byte [ebp - 0x919]
push 0
call fcn.10011520
add esp, 0xc
cmp eax, 0xffffffff
je 0x10012dd4
cmp byte [ebp - 0x919], 0
je 0x10012d74
mov ecx, dword [ebp - 0x92c]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x10012d64
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013153
push ecx
push esi
call fcn.10053414
mov edi, dword [ebp - 0x910]
add esp, 8
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x92c], 0xf
mov byte [ebp - 0x940], 0
cmp eax, 0x10
jb 0x10012dc5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10012dbb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013153
push ecx
push edi
call fcn.10053414
add esp, 8
mov dword [ebp - 0x920], 1
jmp 0x10012fe5
cmp byte [ebp - 0x919], 0
je 0x10012e12
mov ecx, dword [ebp - 0x92c]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x10012e02
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013153
push ecx
push esi
call fcn.10053414
mov edi, dword [ebp - 0x910]
add esp, 8
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x92c], 0xf
mov byte [ebp - 0x940], 0
cmp eax, 0x10
jb 0x10012e63
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10012e59
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013153
push ecx
push edi
call fcn.10053414
add esp, 8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x920], esp
mov dword [esi], 0
push 0x20
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0xffffffff
call fcn.1000caa0
mov dword [esi + 0x10], 0x16
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.fastman92limitAdjuster]
movups xmmword [eax], xmm0
mov ecx, dword [0x10087614]
mov dword [eax + 0x10], ecx
mov cx, word [0x10087618]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0
mov dword [esi], eax
sub esp, 0x18
mov dword [ebp - 4], 4
mov edx, esp
mov dword [edx], 0
lea ecx, [ebp - 0x120]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 4], 4
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012ef1
sub ecx, esi
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, edx
call fcn.1000c850
mov dword [ebp - 4], 0xffffffff
call fcn.100120b0
add esp, 0x30
test al, al
je 0x10012f2b
mov dword [ebp - 0x920], 0
jmp 0x10012fe5
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x920], esp
mov dword [esi], 0
push 0x20
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0xffffffff
call fcn.1000caa0
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.WantedLevelEditor]
movups xmmword [eax], xmm0
mov cl, byte [0x1008762c]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
mov dword [esi], eax
sub esp, 0x18
mov dword [ebp - 4], 7
mov edx, esp
mov dword [edx], 0
lea ecx, [ebp - 0x120]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 4], 7
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012fb0
sub ecx, esi
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, edx
call fcn.1000c850
mov dword [ebp - 4], 0xffffffff
call fcn.100120b0
add esp, 0x30
test al, al
je 0x10012ff4
mov dword [ebp - 0x920], 2
lea eax, [ebp - 0x920]
push eax
call fcn.100131f0
mov byte [eax], 1
mov edi, dword [ebp - 0x948]
lea eax, [ebp - 0x958]
push 0xc
push eax
mov eax, dword [ebp - 0x94c]
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov dword [ebp - 0x918], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x908], 0
mov dword [ebp - 0x904], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x918], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013047
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x918]
call fcn.1000c850
movq xmm0, qword [ebp - 0x958]
mov eax, dword [ebp - 0x950]
movq qword [ebp - 0x900], xmm0
mov dword [ebp - 0x8f8], eax
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x918]
mov edx, dword [0x100bfcb8]
push eax
cmp edx, dword [0x100bfcbc]
je 0x100130ac
call fcn.100132f0
add esp, 4
add dword [0x100bfcb8], 0x24
jmp 0x100130b2
push edx
call fcn.10013370
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x904]
cmp edx, 0x10
jb 0x100130ef
mov ecx, dword [ebp - 0x918]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100130e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013153
push edx
push ecx
call fcn.10053414
add esp, 8
mov edx, dword [0x100bfcb8]
mov eax, edx
mov ecx, dword [0x100bfcb4]
sub eax, ecx
push dword [ebp - 0x948]
sar eax, 2
imul eax, eax, 0x38e38e39
push eax
call fcn.10013830
mov esi, dword [ebp - 0x944]
add esp, 8
mov eax, dword [ebp - 0x928]
inc esi
shr eax, 2
mov dword [ebp - 0x944], esi
cmp esi, eax
jb 0x10012b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100531e7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1005eb2f
int3