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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, dword [0x100e4e78]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [edi + 0x1928]
mov dword [esp + 0x24], edx
cmp byte [edx + 0x7b], 0
je 0x1001fb27
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x153c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movss dword [esp + 0x3c], xmm0
test esi, esi
jne 0x1001fb5f
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x1001fb5f
mov cl, byte [esi]
test cl, cl
je 0x1001fb5c
cmp cl, 0x23
jne 0x1001fb56
cmp byte [esi + 1], cl
je 0x1001fb5c
inc esi
cmp esi, 0xffffffff
jb 0x1001fb46
mov ecx, dword [ebp + 8]
movss xmm1, dword [edi + 0x1854]
mov eax, dword [edi + 0x1850]
mov dword [esp + 0x38], eax
movss dword [esp + 0x40], xmm1
cmp ecx, esi
jne 0x1001fb83
xorps xmm2, xmm2
xorps xmm4, xmm4
jmp 0x1001fbe2
movss xmm3, dword [0x100a068c]
movaps xmm2, xmm1
push ecx
push esi
push ecx
push ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.100465c0
movss xmm0, dword [esp + 0x58]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x1001fbc5
mov eax, dword [esp + 0x38]
movss xmm1, dword [esp + 0x40]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x100a0530]
movss xmm1, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss xmm0, dword [edi + 0x1540]
addss xmm1, xmm2
movss xmm6, dword [edi + 0x1854]
addss xmm0, xmm0
movss xmm3, dword [edx + 0xe8]
xorps xmm5, xmm5
mov eax, dword [edi + 0x1928]
maxss xmm5, dword [edx + 0xec]
addss xmm0, xmm6
mov ecx, dword [eax + 0x1c4]
movss dword [esp + 0x34], xmm5
minss xmm3, xmm0
maxss xmm3, xmm1
movss xmm1, dword [eax + 0x21c]
subss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [edx + 0xcc]
movss dword [esp + 0x28], xmm0
test ecx, ecx
je 0x1001fc9c
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x1928]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [eax + 0x1c4]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x24]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [edi + 0x1928]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
subss xmm1, dword [eax + 0x3c]
comiss xmm4, xmm2
addss xmm1, dword [edx + 0xc]
movss xmm7, dword [edx + 0xc8]
movss xmm5, dword [edx + 0xcc]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x68], xmm1
movaps xmm1, xmm6
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x60], xmm7
movss dword [esp + 0x38], xmm5
addss xmm1, xmm0
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x50], xmm1
jbe 0x1001fcfd
addss xmm0, xmm4
jmp 0x1001fd00
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x34]
addss xmm6, xmm0
lea ecx, [esp + 0x10]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x10], xmm6
call fcn.10010d10
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [edi + 0x154c]
mov eax, dword [edi + 0x1928]
addss xmm1, xmm1
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
movss dword [esp + 0x10], xmm7
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x158]
mov eax, dword [edi + 0x1a20]
addss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x70], xmm0
test eax, eax
je 0x1001fdfd
mov edx, dword [esp + 0x20]
test al, 1
je 0x1001fdaa
mov al, byte [edi + 0x1a1c]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push edx
call fcn.1000fca0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1a20], 0
jmp 0x1001fe11
push 0xffffffffffffffff
push edx
call fcn.1000fc50
cmp eax, 0xffffffff
jne 0x1001fde8
mov al, byte [edi + 0x1a1c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x24]
mov ecx, dword [ecx + 0x158]
call fcn.1000fca0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x1a20], 0
jmp 0x1001fe11
test eax, eax
mov dword [edi + 0x1a20], 0
setne cl
mov dword [esp + 0x10], ecx
jmp 0x1001fe11
push 0
push dword [esp + 0x24]
call fcn.1000fc50
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
cmp byte [edi + 0x2b8c], 0
je 0x1001fe39
mov eax, dword [esp + 0xc]
mov edx, 1
movzx ecx, cl
mov eax, dword [eax + 0xfc]
cmp eax, dword [edi + 0x2ba4]
cmovl ecx, edx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x70]
push 0
call fcn.10011600
mov ecx, dword [esp + 0x28]
add esp, 4
movups xmm0, xmmword [esp + 0x60]
or dword [ecx + 0x108], 2
movups xmmword [ecx + 0x11c], xmm0
test al, al
jne 0x1001ff12
mov eax, dword [esp + 0x10]
test al, al
je 0x10020248
mov ecx, dword [0x100e4e78]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1928]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1928]
movss xmm0, dword [ecx + 0x1564]
addss xmm0, dword [eax + 0x1b8]
movss dword [eax + 0x1b8], xmm0
addss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x1c0]
movss dword [eax + 0xc8], xmm0
inc dword [edx + 0xfc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1001fefa
inc ecx
test edi, edi
je 0x1001fee8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1001feed
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002fa20
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xb]
push 0x1400
push eax
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x7c]
call fcn.1001ece0
add esp, 0xc
mov byte [esp + 0xc], 0
test al, al
mov eax, dword [esp + 0x10]
je 0x1001ff5e
cmp byte [edi + 0x1bd8], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
je 0x1001ff5e
xor edx, edx
movzx ecx, cl
test al, al
cmovne ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [0x100e4e78]
cmp dword [edi + 0x1a28], ecx
jne 0x1002001b
cmp byte [edi + 0x1a9d], 0
je 0x1001ffc0
cmp dword [edi + 0x1aa8], 0
jne 0x1001ffc0
test al, al
je 0x1001ffc0
mov byte [edx + 0x1a9d], 0
cmp byte [edx + 0x1a9d], 0
mov byte [esp + 0xc], 1
jne 0x1001ffad
cmp byte [edx + 0x1a85], 0
mov byte [esp + 0xa], 0
je 0x1001ffb2
mov byte [esp + 0xa], 1
mov al, byte [esp + 0xa]
mov byte [edx + 0x1a84], al
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x1a28], ecx
jne 0x1002001b
cmp byte [edi + 0x1a9d], 0
je 0x1002001b
cmp dword [edi + 0x1aa8], 1
jne 0x1002001b
test al, al
jne 0x1002001b
mov byte [edx + 0x1a9d], al
test al, al
jne 0x10020002
cmp byte [edx + 0x1a85], al
jne 0x10020002
mov cl, al
mov byte [esp + 0xa], al
mov byte [edx + 0x1a84], cl
mov ecx, dword [esp + 0x20]
jmp 0x10020022
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa], 1
mov cl, byte [esp + 0xa]
mov byte [edx + 0x1a84], cl
mov ecx, dword [esp + 0x20]
jmp 0x10020022
cmp byte [esp + 0xc], 0
je 0x10020045
test al, al
sete al
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x158]
call fcn.1000fca0
mov edx, dword [0x100e4e78]
cmp byte [esp + 0xb], 0
mov al, byte [esp + 9]
je 0x1002005b
test al, al
je 0x1002005b
mov ecx, 0x1a
jmp 0x10020065
xor ecx, ecx
test al, al
setne cl
add ecx, 0x18
movss xmm1, dword [0x100a0534]
call fcn.1000f730
cmp byte [esp + 9], 0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x34]
mov dword [esp + 0x24], eax
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
movss dword [esp + 0x54], xmm0
je 0x1002010e
mov ecx, dword [esp + 0x64]
movss xmm0, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
push 0xf
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x1928]
push ecx
mov dword [esp], 0
push dword [esp + 0x2c]
mov ecx, dword [ecx + 0x27c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x6c], xmm0
push eax
call fcn.10043ee0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push 2
call fcn.10017600
movss xmm1, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x3c]
xor ecx, ecx
addss xmm0, dword [esp + 0x40]
cmp byte [esp + 0x10], cl
setne cl
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x1854]
mulss xmm0, dword [0x100a04e8]
lea ecx, [ecx*2 + 1]
addss xmm0, xmm1
movss xmm1, dword [0x100a051c]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10017470
add esp, 8
cmp byte [edi + 0x2b8c], 0
je 0x1002018f
push 0
lea edx, [esp + 0x10]
mov word [esp + 0x10], 0x3e
lea ecx, [esp + 0x54]
mov byte [esp + 0x12], 0
call fcn.10016c90
add esp, 4
push dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov edx, esi
push dword [esp + 0x54]
push 0
call fcn.10016dc0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test al, al
je 0x10020248
mov ecx, dword [0x100e4e78]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1928]
lea esi, [edx + 0x1c8]
mov byte [edx + 0x78], 1
mov eax, dword [ecx + 0x1928]
movss xmm0, dword [ecx + 0x1564]
addss xmm0, dword [eax + 0x1b8]
movss dword [eax + 0x1b8], xmm0
addss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x1c0]
movss dword [eax + 0xc8], xmm0
inc dword [edx + 0xfc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10020236
inc ecx
test edi, edi
je 0x10020224
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10020229
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002fa20
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x10]
inc dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret