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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [0x1003a018]
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x30], ebx
mov eax, dword [ebx + 0x172c]
push edi
mov dword [esp + 0x24], ebp
mov byte [eax + 0x86], 1
mov esi, dword [ebx + 0x172c]
mov dword [esp + 0x28], esi
cmp byte [esi + 0x88], 0
je 0x10009fc3
xor al, al
jmp 0x1000a34b
mov eax, dword [ebx + 0x13e4]
xor edx, edx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x13e8]
mov dword [esp + 0x3c], eax
call fcn.10005359
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x80]
push eax
mov dword [esp + 0x2c], eax
call fcn.10005b89
movss xmm0, dword [esi + 0xdc]
lea ecx, [esp + 0x5c]
subss xmm0, dword [esp + 0x48]
xorps xmm1, xmm1
add esp, 0xc
maxss xmm1, xmm0
movss xmm0, dword [ebx + 0x13e8]
addss xmm0, xmm0
movss dword [esp + 0x18], xmm1
addss xmm0, dword [ebx + 0x16f4]
movss xmm1, dword [esi + 0xd8]
minss xmm1, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [0x10037b30]
addss xmm0, dword [esp + 0x4c]
maxss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
call fcn.100093d8
movss xmm0, dword [esi + 0xbc]
movss xmm4, dword [esp + 0x1c]
movss xmm1, dword [esi + 0x18]
addss xmm0, xmm4
addss xmm1, dword [eax]
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xbc]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x50]
mulss xmm0, dword [0x10037b0c]
mov dword [esp + 0x30], eax
movss xmm2, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
cvttss2si eax, xmm0
movss dword [esp + 0x40], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x10037b24]
subss xmm2, xmm0
addss xmm0, xmm1
movss xmm1, dword [ebx + 0x16f4]
movaps xmm3, xmm1
movss dword [esp + 0x60], xmm2
movss xmm2, dword [esp + 0x38]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10037b38]
addss xmm3, xmm0
movss dword [esp + 0x1c], xmm3
movss xmm3, dword [esp + 0x48]
comiss xmm3, dword [0x10037ad0]
jbe 0x1000a12c
movaps xmm0, xmm2
mulss xmm0, dword [0x10037b30]
addss xmm0, xmm3
jmp 0x1000a12f
xorps xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0x54], xmm4
lea ecx, [esp + 0x50]
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x18]
call fcn.10003821
lea esi, [esp + 0x60]
mov ecx, ebp
lea edi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10009f1a
lea edx, [esp + 0x24]
mov bl, al
lea ecx, [esp + 0x50]
call fcn.1000393f
test al, al
je 0x1000a349
push 0x200
lea eax, [esp + 0x1a]
mov edx, ebp
push eax
lea eax, [esp + 0x1f]
push eax
lea ecx, [esp + 0x5c]
call fcn.10009979
add esp, 0xc
test al, al
je 0x1000a1b2
mov ecx, dword [esp + 0x28]
test bl, bl
sete bl
movzx eax, bl
mov ecx, dword [ecx + 0x118]
push eax
push ebp
call fcn.100032f7
cmp byte [esp + 0x16], 0
mov al, byte [esp + 0x17]
je 0x1000a1c6
test al, al
je 0x1000a1c6
push 0x1b
pop ecx
jmp 0x1000a1d0
xor ecx, ecx
test al, al
setne cl
add ecx, 0x19
mov eax, dword [0x1003a018]
lea esi, [ecx + 8]
shl esi, 4
lea edi, [esp + 0x50]
add eax, 0x13c0
lea ecx, [esp + 0x50]
add esi, eax
movss xmm0, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mulss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x5c], xmm0
call fcn.10002efe
movss xmm0, dword [esp + 0x3c]
mov dl, 1
addss xmm0, dword [esp + 0x18]
push dword [esp + 0x44]
movss xmm1, dword [esp + 0x20]
mov ecx, eax
push dword [esp + 0x6c]
addss xmm1, dword [esp + 0x68]
addss xmm0, dword [esp + 0x6c]
mov esi, dword [esp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0x6c]
movss xmm2, dword [esi + 0x13ec]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm0
call fcn.1000588a
movss xmm0, dword [esp + 0x74]
mov cl, bl
movss xmm1, dword [esp + 0x48]
addss xmm0, dword [esp + 0x4c]
addss xmm1, dword [esp + 0x70]
addss xmm0, dword [esp + 0x28]
addss xmm1, dword [0x10037ad0]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
movss xmm1, dword [0x10037b24]
call fcn.100059ed
add esp, 0x18
lea ecx, [esp + 0x28]
cmp byte [esi + 0x279c], 0
je 0x1000a31c
mov ax, word [0x100370ec]
lea edx, [esp + 0x1c]
mov word [esp + 0x18], ax
mov al, byte [0x100370ee]
mov byte [esp + 0x1a], al
lea eax, [esp + 0x1f]
push eax
mov dword [esp + 0x20], 0x23230a
call fcn.100053ca
and dword [esp + 0x54], 0
lea eax, [esp + 0x54]
and dword [esp + 0x58], 0
lea edx, [esp + 0x6c]
pop ecx
push 0
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push dword [esp + 0x88]
call fcn.1000564b
add esp, 0x14
lea eax, [esp + 0x1b]
lea edx, [esp + 0x19]
lea ecx, [esp + 0x28]
push eax
call fcn.100053ca
pop ecx
jmp 0x1000a349
and dword [esp + 0x50], 0
lea eax, [esp + 0x50]
and dword [esp + 0x54], 0
lea edx, [esp + 0x68]
push 0
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x88]
call fcn.1000564b
add esp, 0x14
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret