Function at 0x1001fac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x102b7040]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [0x102ba02c]
mov eax, esi
shr eax, 0x1f
push edi
movd xmm0, esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x102af460]
mov eax, 0x30
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x102ad27c]
divss xmm0, dword [0x102ad2b4]
cvttss2si edi, xmm0
cmp edi, eax
cmovg edi, eax
mov eax, 0x51eb851f
mov ecx, edi
mov dword [esp + 0x10], edi
shl ecx, 4
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, 0x578
mov dword [esp + 0x24], eax
mov edx, 0x28
mov eax, dword [0x102ba030]
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 0x41
cmp eax, 0x320
mov dword [esp + 8], ecx
mov ecx, 0x1c
cmovae ecx, edx
mov dword [esp + 0x14], ecx
cmp esi, 0x500
jne 0x1001fb86
cmp eax, 0x400
jne 0x1001fb86
mov dword [esp + 8], 0x5f
mov dword [esp + 0x14], 0x2d
xor eax, eax
mov dword [0x102b7ad4], 0
mov dword [0x102b7adc], 0
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.10015d90
test eax, eax
je 0x1001ff3e
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.10015e10
test eax, eax
je 0x1001ff3e
mov ecx, esi
call fcn.10015e90
mov ecx, dword [0x102b9070]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push esi
push eax
call dword [0x102b8dc4]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x78]
add ecx, 8
push ecx
push 0x102180ec
push eax
call fcn.10013630
add esp, 0xc
mov dword [esp + 0x60], 0
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
push 9
push eax
lea eax, [esp + 0x58]
push eax
call fcn.100502e0
lea ecx, [esp + 0x5c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fc24
sub ecx, edx
cmp ecx, 9
jb 0x1001fc52
lea ecx, [esp + 0x50]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x1001fc37
mov ax, word [0x102180f0]
mov word [ecx], ax
mov al, byte [0x102180f2]
mov byte [ecx + 2], al
mov eax, dword [0x102ba02c]
shr eax, 1
push 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
test byte [esp + 0x10], 1
addsd xmm0, qword [eax*8 + 0x102af460]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm1, xmm0
jne 0x1001fdd4
mov ecx, dword [0x102b7ad4]
lea edx, [esp + 0x34]
add ecx, 0x12
movss dword [esp + 0x24], xmm1
add ecx, edi
add eax, 2
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [0x102b7ad4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si esi, xmm1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esi
lea eax, [esi + edi]
add edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [0x102ba08c]
mov dword [esp + 0x40], edi
mov ecx, dword [eax]
push ecx
mov dword [esp], 0
push 0xff070707
push 1
push edx
push 1
push eax
call dword [ecx + 0xac]
movd xmm0, dword [esp + 0x10]
movd xmm2, dword [esp + 8]
cvtdq2ps xmm0, xmm0
push 0xffcc0000
sub esp, 8
movd xmm1, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0x3f800000
cvtdq2ps xmm1, xmm1
movaps xmm3, xmm0
movss dword [esp], xmm0
call fcn.1001c820
mov eax, dword [0x102b8da8]
add eax, dword [0x102b9070]
push 0
push eax
call fcn.1003fa70
movzx ecx, al
call fcn.10015d10
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.10015d10
mov edx, dword [esp + 0x10]
cmp eax, esi
mov esi, dword [esp + 0x20]
mov ecx, esi
sete al
movzx eax, al
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x34]
sub ecx, eax
push dword [esp + 0x20]
dec ecx
push eax
call fcn.1001e2d0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x68]
push eax
push 1
push dword [0x102b8e60]
push dword [0x102b9060]
push 0xffffffffffffffff
push 1
push edi
mov edi, dword [esp + 0x44]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movss xmm1, dword [esp + 0x54]
sub ecx, eax
mov eax, dword [esp + 0x48]
add eax, 2
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
call fcn.1001d610
mov edx, dword [esp + 0x40]
lea ecx, [esi + 1]
push 0
lea edx, [edx + 1]
jmp 0x1001ff2d
mov ecx, dword [0x102b7adc]
add ecx, 0x12
mov edx, dword [esp + 0x14]
add ecx, edi
movss dword [esp + 0x20], xmm1
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [0x102b7adc], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [esp + 0xc]
cvtdq2ps xmm1, xmm1
cvttss2si edi, xmm0
cvttss2si ecx, xmm1
mov esi, edi
sub esi, edx
mov dword [esp + 0x1c], esi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x48], ecx
cvttss2si eax, xmm2
mov dword [esp + 0x44], eax
add eax, edx
mov dword [esp + 0x4c], eax
lea eax, [ecx + edx]
mov dword [esp + 0x50], eax
lea edx, [esp + 0x44]
mov eax, dword [0x102ba08c]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0
push 0xff070707
push 1
push edx
push 1
push eax
call dword [ecx + 0xac]
movd xmm0, dword [esp + 0x10]
movd xmm2, dword [esp + 8]
cvtdq2ps xmm0, xmm0
push 0xff0066ff
sub esp, 8
movd xmm1, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0x3f800000
cvtdq2ps xmm1, xmm1
movaps xmm3, xmm0
movss dword [esp], xmm0
call fcn.1001c820
mov eax, dword [0x102b8da8]
add eax, dword [0x102b9070]
push 0
push eax
call fcn.1003fa70
movzx ecx, al
call fcn.10015d10
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.10015d10
cmp eax, esi
lea ecx, [edi + 1]
mov esi, dword [esp + 0x10]
mov edx, esi
sete al
movzx eax, al
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x38]
call fcn.1001e2d0
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x68]
push eax
push 1
push dword [0x102b8e60]
lea eax, [esi + edi]
push dword [0x102b9060]
push 0xffffffffffffffff
push 1
push eax
mov ecx, dword [esp + 0x54]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, dword [esp + 0x48]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x50]
cvttss2si eax, xmm0
push eax
call fcn.1001d610
mov ecx, dword [esp + 0x50]
lea edx, [esi + 1]
push 1
inc ecx
push dword [esp + 0x64]
lea eax, [edi - 2]
push eax
push eax
call fcn.1001e540
add esp, 0x48
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0xf
jle 0x1001fba0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.10044642
mov esp, ebp
pop ebp
ret