Function at 0x1001c220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f702
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1039b040]
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
call fcn.1001b900
mov ecx, dword [0x103bce20]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x103bce24]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x103bd0d4], eax
test eax, eax
je 0x1001c543
mov eax, dword [0x103bce78]
movss xmm0, dword [0x1038d99c]
divss xmm0, dword [eax + 0x20]
call fcn.1019ea00
cmp dword [0x103c41b0], 0
mov dword [0x103bd124], eax
je 0x1001c2a5
mov ecx, 0x103c41a0
call fcn.10018870
mov edi, dword [0x103bce90]
mov edi, dword [edi + 0x9c]
mov dword [0x103bce88], edi
test edi, edi
je 0x1001c539
mov eax, dword [0x103c4b3c]
xor esi, esi
mov dword [0x103c4b3c], esi
test eax, eax
je 0x1001c30b
mov dword [ebp - 4], esi
lea esi, [eax - 4]
push fcn.100109f0
push dword [esi]
push 4
push eax
call fcn.10125888
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1012584a
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x103bce88]
mov esi, dword [0x103c4b3c]
mov ecx, dword [0x103c4b34]
test ecx, ecx
je 0x1001c328
mov eax, dword [0x103c4b38]
mov dword [ecx], eax
mov edi, dword [0x103bce88]
mov esi, dword [0x103c4b3c]
xor cl, cl
mov dword [0x103c4b38], 0
mov dword [0x103c4b40], 0
mov byte [0x103c4b44], cl
mov dword [0x103c4b34], edi
mov eax, dword [edi]
mov dword [0x103c4b38], eax
test eax, eax
je 0x1001c482
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor ebx, ebx
mov eax, dword [0x103c4b38]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1001c38b
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push eax
call esi
test eax, eax
je 0x1001c38b
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1001c38b
test eax, 0x100
jne 0x1001c38b
inc ebx
jmp 0x1001c361
mov dword [0x103c4b40], ebx
test ebx, ebx
je 0x1001c46b
inc ebx
mov ecx, 4
mov eax, ebx
mov dword [ebp - 0x30], ebx
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
add eax, 4
cmovb eax, ecx
push eax
call fcn.10125e46
add esp, 4
mov dword [ebp - 0x34], eax
push fcn.100109f0
push 0x100109e0
push ebx
lea esi, [eax + 4]
mov dword [ebp - 4], 1
push 4
push esi
mov dword [eax], ebx
call fcn.10125ced
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103c4b3c]
mov dword [0x103c4b3c], esi
test eax, eax
je 0x1001c42e
push fcn.100109f0
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push dword [esi]
push 4
push eax
call fcn.10125888
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1012584a
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov esi, dword [0x103c4b3c]
test esi, esi
je 0x1001c471
mov eax, dword [0x103c4b40]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x103c4b38]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov cl, 1
add esi, 4
mov eax, 0x30
mov dword [edi], esi
mov esi, dword [0x103c4b3c]
mov byte [0x103c4b44], cl
jmp 0x1001c487
mov esi, dword [0x103c4b3c]
mov cl, byte [0x103c4b44]
test cl, cl
je 0x1001c482
mov eax, 0x30
jmp 0x1001c487
mov eax, 0x2f
cmp dword [0x103c4b38], 0
je 0x1001c4af
test esi, esi
je 0x1001c4af
cmp eax, dword [0x103c4b40]
ja 0x1001c4af
mov dword [esi + eax*4], 0x1002f830
mov cl, byte [0x103c4b44]
mov esi, dword [0x103c4b3c]
xor eax, eax
test cl, cl
setne al
add eax, 0x29
cmp dword [0x103c4b38], 0
je 0x1001c4e1
test esi, esi
je 0x1001c4e1
cmp eax, dword [0x103c4b40]
ja 0x1001c4e1
mov dword [esi + eax*4], 0x1002f6d0
mov cl, byte [0x103c4b44]
mov esi, dword [0x103c4b3c]
xor eax, eax
test cl, cl
setne al
add eax, 0x30
cmp dword [0x103c4b38], 0
je 0x1001c513
test esi, esi
je 0x1001c513
cmp eax, dword [0x103c4b40]
ja 0x1001c513
mov dword [esi + eax*4], 0x1002f4e0
mov cl, byte [0x103c4b44]
mov esi, dword [0x103c4b3c]
xor eax, eax
test cl, cl
setne al
add eax, 0x2a
cmp dword [0x103c4b38], 0
je 0x1001c539
test esi, esi
je 0x1001c539
cmp eax, dword [0x103c4b40]
ja 0x1001c539
mov dword [esi + eax*4], 0x1002f470
mov ecx, 0x1039dfa0
call fcn.100851b0
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.1012583c
mov esp, ebp
pop ebp
ret