Function at 0x10006fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010bedd
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x1023eaa4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [0x1030fa10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1030fa14]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x100072f3
push edi
call fcn.1003c060
mov esi, eax
add esp, 4
test esi, esi
je 0x100072f3
push esi
call fcn.1003c150
add esp, 4
test al, al
jne 0x100072f3
mov eax, dword [0x1030fb7c]
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1030fb9c]
movq qword [ebp - 0x30], xmm0
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
movq qword [ebp - 0x3c], xmm0
movss xmm2, dword [ebp - 0x3c]
movss xmm1, dword [ebp - 0x38]
addss xmm2, dword [ebp - 0x30]
addss xmm1, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [ebp - 0x28]
mov eax, dword [0x1030fc20]
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x2c], xmm1
cmp dword [eax + esi], 2
mov esi, dword [ebp + 8]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [0x1020b3c0]
mulss xmm0, dword [0x101186e8]
movss dword [ebp - 0x1c], xmm0
jg 0x100070ec
mov eax, dword [0x1030fb68]
mov ebx, dword [eax + esi]
mov dword [ebp - 0x14], ebx
jmp 0x1000711b
mov ecx, dword [0x1030fb68]
cvttss2si ebx, dword [0x1020b3c4]
mov eax, dword [ecx + esi]
add eax, 0xa
cmp ebx, eax
cmovg ebx, eax
mov eax, dword [ecx + esi]
cvttss2si ecx, dword [0x1020b3c8]
add eax, 0xa
cmp ecx, eax
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
push 0
push esi
push eax
mov dword [ebp - 0x18], ebx
call fcn.100078e0
movq xmm0, qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
push 0xffffffffffffffff
push esi
push edi
sub esp, 0xc
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
mov dword [eax + 8], ecx
mov eax, esp
mov ecx, dword [ebp - 0x28]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x102f941b
call fcn.1000e990
mov eax, dword [ebp - 0x78]
cmp byte [ebp - 0x6c], 0
mov dword [ebp - 0x50], eax
mov eax, ebx
cmovne eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x10]
movss dword [esp], xmm0
push 0
push eax
push esi
mov dword [ebp - 4], 0
call fcn.100079e0
mov esi, dword [ebp - 0x48]
or edi, 0xffffffff
mov dword [ebp - 0x1c], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movq xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
cmp esi, dword [ebp - 0x44]
je 0x10007261
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push dword [ebp + 8]
push dword [ebp - 0x4c]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x30]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x28]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x102f941b
call fcn.1000e990
mov eax, dword [ebp - 0x9c]
cmp eax, edi
jle 0x10007251
cmp byte [ebp - 0x90], 0
mov edi, eax
movq xmm0, qword [esi]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [esi + 8]
cmovne ebx, dword [ebp - 0x14]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], ecx
jmp 0x10007259
movq xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add esi, 0xc
cmp esi, dword [ebp - 0x44]
jne 0x100071e6
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x50]
cmp edx, eax
jge 0x1000728f
cmp edi, eax
jge 0x1000728f
lea ecx, [ebp - 0x48]
xor bl, bl
call fcn.10004140
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, dword [ebp - 0x54]
jl 0x100072b6
cmp edi, ebx
jl 0x100072b6
mov eax, dword [0x1030fb68]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, 0xa
cmp edx, eax
jg 0x100072ba
lea eax, [edx + 0xa]
cmp eax, edi
jg 0x100072ba
mov ecx, dword [ebp - 0x10]
jmp 0x100072c4
cmp edx, edi
jle 0x100072c4
mov ecx, dword [ebp - 0x34]
mov edi, edx
movq xmm0, qword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
mov bl, 1
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x48]
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
call fcn.10004140
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc