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

Disassembly:
sub esp, 0x94
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa0]
mov ecx, eax
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], eax
call fcn.100b8990
cmp eax, 1
je 0x101f2831
cmp eax, 3
je 0x101f2831
xorps xmm0, xmm0
lea ecx, [esp + 0xc]
push edi
movss dword [esp + 0x1c], xmm0
xor edi, edi
call fcn.10046670
movss xmm0, dword [esp + 0xc0]
lea eax, [esp + 0x10]
push eax
push ecx
movss dword [esp], xmm0
push dword [esp + 0xb4]
push dword [esp + 0x3c]
push dword [esp + 0x48]
call fcn.101f2aa0
add esp, 0x14
test al, al
je 0x101f237d
mov ecx, dword [esp + 0x38]
push edi
push edi
push edi
call fcn.1004ca80
test al, al
je 0x101f2375
mov ecx, dword [esp + 0x38]
call fcn.1004c970
test al, al
je 0x101f2375
mov eax, dword [esp + 0xbc]
not eax
test al, 1
je 0x101f2375
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
movss xmm0, dword [eax]
movss dword [esp], xmm0
push edi
push dword [esp + 0x40]
call fcn.10259f70
mov ecx, eax
call fcn.1025a020
lea ecx, [esp + 0x48]
fstp dword [esp + 0x40]
call fcn.10259ff0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0xb8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xc0]
fld qword [esp + 0x48]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
mov eax, dword [esp + 0xb0]
xor ecx, ecx
fstp dword [esp + 0x40]
movss xmm1, dword [esp + 0x40]
comiss xmm1, dword [eax]
jbe 0x101f21ec
mov edx, dword [esp + 0xb4]
movss xmm0, dword [eax + ecx*4]
inc ecx
subss xmm1, xmm0
cmp ecx, edx
je 0x101f21e9
comiss xmm1, dword [eax + ecx*4]
ja 0x101f21d3
jmp 0x101f21ec
xorps xmm1, xmm1
xor eax, eax
xorps xmm0, xmm0
comiss xmm1, xmm0
not ecx
seta al
and ecx, 1
cmp ecx, eax
jne 0x101f2375
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x48]
push 0
push eax
mov ecx, edi
call fcn.1004c300
mov ecx, edi
call fcn.1004bff0
dec eax
mov ecx, edi
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
push eax
call fcn.1004c300
movss xmm0, dword [esp + 0x48]
mov ecx, eax
ucomiss xmm0, dword [ecx]
lahf
test ah, 0x44
jp 0x101f2256
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, dword [ecx + 4]
lahf
test ah, 0x44
jp 0x101f2256
mov eax, dword [esp + 0x28]
jmp 0x101f221d
mov esi, dword [esp + 0x38]
mov eax, 1
xor edi, edi
push eax
mov dword [esp + 0x44], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.1004c300
movss xmm0, dword [esp + 0x48]
mov ecx, eax
ucomiss xmm0, dword [ecx]
lahf
test ah, 0x44
jp 0x101f229a
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, dword [ecx + 4]
lahf
test ah, 0x44
jp 0x101f229a
mov eax, dword [esp + 0x40]
inc eax
jmp 0x101f2261
push dword [esp + 0x28]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.1004c300
movss xmm2, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
movss xmm3, dword [esp + 0x48]
movaps xmm1, xmm2
movaps xmm0, xmm3
sub esp, 8
subss xmm1, dword [eax + 4]
subss xmm0, dword [eax]
mulss xmm1, dword [0x10386cc8]
mulss xmm0, dword [0x10386cc8]
subss xmm2, xmm1
subss xmm3, xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm3
call fcn.1004cb60
movss xmm0, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp], xmm0
call fcn.1004cb10
push dword [esp + 0x40]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.1004c300
movss xmm2, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
movss xmm3, dword [esp + 0x48]
movaps xmm1, xmm2
movaps xmm0, xmm3
sub esp, 8
subss xmm1, dword [eax + 4]
subss xmm0, dword [eax]
mulss xmm1, dword [0x10386cc8]
mulss xmm0, dword [0x10386cc8]
subss xmm2, xmm1
subss xmm3, xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm3
call fcn.1004cb10
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x10]
mov dword [esp + 0x38], eax
cmp dword [esp + 0xc4], 1
jne 0x101f253f
mov ecx, dword [esp + 0x30]
call fcn.100b8990
test eax, eax
je 0x101f253f
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x54]
push eax
call fcn.1004c990
test al, al
je 0x101f253f
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0xc]
test eax, eax
jne 0x101f253f
movss xmm0, dword [esp + 0x58]
sub esp, 8
subss xmm0, dword [esp + 0x68]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x64]
movss dword [esp], xmm0
call fcn.1003ac30
movss xmm0, dword [esp + 0x64]
add esp, 8
subss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x60]
xorps xmm2, xmm2
subss xmm1, dword [esp + 0x58]
fstp dword [esp + 0x40]
ucomiss xmm2, xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm1
lahf
test ah, 0x44
jp 0x101f2428
mov cl, 1
jmp 0x101f242a
xor cl, cl
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x101f2437
mov al, 1
jmp 0x101f2439
xor al, al
test al, cl
jne 0x101f253f
movss xmm1, dword [esp + 0x40]
lea eax, [esp + 0x64]
movss xmm0, dword [0x10386834]
divss xmm0, xmm1
push eax
push ecx
mov ecx, eax
movss dword [esp + 0x7c], xmm1
movss dword [esp], xmm0
call fcn.1003af30
movss xmm0, dword [esp + 0x68]
lea eax, [esp + 0x6c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x64]
xorps xmm0, xmmword [0x10386880]
push eax
mov eax, dword [esp + 0x34]
movss dword [esp + 0x74], xmm0
push ecx
lea ecx, [esp + 0x74]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [0x10386830]
movss dword [esp], xmm0
call fcn.1003af30
mov eax, dword [esp + 0xb4]
sub esp, 8
sar eax, 1
movss xmm0, dword [0x103870bc]
mov dword [esp + 0x30], eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [esp + 0x48]
divss xmm1, dword [esp + 0xc8]
minss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm1, dword [0x1038683c]
add esp, 8
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x40]
comiss xmm1, xmm0
jbe 0x101f251d
movss xmm1, dword [0x10386844]
comiss xmm0, xmm1
ja 0x101f2520
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, esi
shl eax, 2
push eax
call fcn.1004c3a0
mov ecx, dword [esp + 0x30]
call fcn.100b8a70
mov byte [esp + 0x52], 1
jmp 0x101f2551
mov eax, dword [esp + 0xb4]
sar eax, 1
mov byte [esp + 0x52], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
movss xmm0, dword [eax]
movss dword [esp], xmm0
push 0
push dword [esp + 0x40]
call fcn.10259f70
nop
lea ecx, [esp + 0x20]
call fcn.1025a0f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x53], al
call fcn.1025a020
movd xmm0, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0xbc]
fstp dword [esp + 0x30]
movss xmm2, dword [esp + 0x30]
mulss xmm0, xmm2
divss xmm0, dword [esp + 0xc0]
addss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x103870bc]
movss dword [esp + 0x1c], xmm0
ja 0x101f27f6
movss xmm0, dword [esp + 0xb8]
xorps xmm3, xmm3
cvtps2pd xmm2, xmm2
mov byte [esp + 0x40], 1
cvtps2pd xmm0, xmm0
comisd xmm2, xmm3
xorps xmm1, xmm1
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x34], xmm2
jbe 0x101f277b
nop dword [eax]
mov eax, esi
mov cl, 1
not eax
test cl, al
je 0x101f273a
cmp byte [esp + 0x53], 0
jne 0x101f273a
addsd xmm0, xmm1
inc edi
cmp byte [esp + 0x52], 0
cvtpd2ps xmm2, xmm1
cvtpd2ps xmm0, xmm0
je 0x101f2709
movss xmm5, dword [esp + 0x64]
lea eax, [esp + 0x78]
movss xmm3, dword [esp + 0x68]
movaps xmm6, xmm5
movss xmm1, dword [esp + 0x74]
movaps xmm4, xmm3
minss xmm1, xmm0
mulss xmm6, xmm2
mov ecx, dword [esp + 0x44]
mulss xmm4, xmm2
push 0
addss xmm6, dword [esp + 0x58]
movss xmm2, dword [esp + 0x70]
addss xmm4, dword [esp + 0x5c]
movaps xmm0, xmm2
mulss xmm5, xmm1
push 4
addss xmm0, xmm6
mulss xmm3, xmm1
push eax
movss xmm1, dword [esp + 0x7c]
subss xmm6, xmm2
addss xmm5, dword [esp + 0x60]
addss xmm3, dword [esp + 0x64]
movss dword [esp + 0x84], xmm0
movaps xmm0, xmm1
addss xmm0, xmm4
subss xmm4, xmm1
movss dword [esp + 0x9c], xmm6
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0xa0], xmm4
subss xmm5, xmm2
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x94], xmm5
subss xmm3, xmm1
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x98], xmm3
call fcn.10048bf0
jmp 0x101f2726
push 1
push dword [esp + 0x48]
lea ecx, [esp + 0x28]
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1025a0b0
movsd xmm2, qword [esp + 0x34]
xor cl, cl
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x48]
lea eax, [esi + 1]
mov byte [esp + 0x53], 0
xor esi, esi
addsd xmm1, xmm0
cmp eax, dword [esp + 0xb4]
cmovne esi, eax
mov eax, dword [esp + 0xb0]
comisd xmm2, xmm1
movss xmm0, dword [eax + esi*4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x2c], xmm0
ja 0x101f2600
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x20]
call fcn.1025a0f0
test al, al
je 0x101f27cc
mov eax, dword [esp + 0xbc]
not eax
test al, 1
je 0x101f27cc
movss xmm0, dword [esp + 0xb8]
comiss xmm0, dword [0x10386824]
mov esi, dword [esp + 0x44]
jb 0x101f27d0
push dword [esp + 0x40]
lea ecx, [esp + 0x24]
push esi
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.1025a0b0
inc edi
jmp 0x101f27d0
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.1025a110
test al, al
jne 0x101f2570
cmp edi, 1
jle 0x101f27ef
push 2
mov ecx, esi
call fcn.1004d510
mov byte [esp + 0x53], 1
jmp 0x101f2804
mov ecx, dword [esp + 0x44]
call fcn.1004cfc0
mov byte [esp + 0x53], 0
lea ecx, [esp + 0x20]
call fcn.10259ff0
lea ecx, [esp + 0x10]
call fcn.10046740
mov al, byte [esp + 0x53]
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1037e005
add esp, 0x94
ret
mov ecx, dword [esp + 0x94]
xor al, al
pop esi
xor ecx, esp
call fcn.1037e005
add esp, 0x94
ret