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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x100a1068]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [0x100a3324]
mov dword [esp + 4], edx
push esi
push edi
mov eax, dword [ebx + 0x3e58]
mov byte [eax + 0xac], 1
mov edx, dword [ebx + 0x3e58]
cmp byte [edx + 0xaf], 0
jne 0x1003fef8
cmp ecx, dword [esp + 0xc]
mov esi, 0x1008bc7b
mov edi, esi
cmovne edi, dword [esp + 0xc]
cmovne esi, ecx
test edi, edi
jne 0x1003f9cc
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003f9c0
sub ecx, edi
lea edi, [esi + ecx]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm5, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x20], xmm5
movss dword [esp + 0x2c], xmm3
setae cl
sub eax, esi
cmp eax, 0x7d0
jle 0x1003fdda
test cl, cl
jne 0x1003fdde
movaps xmm1, xmm3
movss xmm4, dword [ebx + 0x3bc4]
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x18], xmm1
cmp byte [ebx + 0x5ac8], cl
jne 0x1003fb4a
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si ecx, xmm0
mov dword [esp + 0xc], ecx
test ecx, ecx
jle 0x1003fb4a
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jae 0x1003fb35
cmp eax, ecx
jge 0x1003fb1d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10054540
mov ebx, eax
add esp, 0xc
test ebx, ebx
cmove ebx, edi
test byte [ebp + 8], 1
jne 0x1003fb05
cmp esi, ebx
jne 0x1003faa3
xorps xmm1, xmm1
jmp 0x1003faf4
movss xmm3, dword [0x10099100]
lea eax, [esp + 0x34]
push 0
push ebx
push esi
push ecx
mov ecx, dword [0x100a3324]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x3bc4]
mov ecx, dword [ecx + 0x3bc0]
call fcn.1003a310
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x10099024]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x34], xmm1
movss xmm0, dword [esp + 0x24]
comiss xmm0, xmm1
jae 0x1003fb05
movss dword [esp + 0x24], xmm1
mov eax, dword [esp + 0x1c]
lea esi, [ebx + 1]
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jb 0x1003fa75
movss xmm4, dword [esp + 0x10]
movss xmm5, dword [esp + 0x20]
movss xmm3, dword [esp + 0x2c]
mov ebx, dword [0x100a3324]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x18], xmm1
cmp esi, edi
jae 0x1003fd75
movaps xmm3, xmm5
movss dword [esp + 0x30], xmm1
addss xmm3, dword [0x10099100]
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, xmm4
movss dword [esp + 0x34], xmm3
movss dword [esp + 0xc], xmm0
nop dword [eax]
mov eax, dword [ebx + 0x3e58]
comiss xmm0, dword [eax + 0x214]
jbe 0x1003fbb2
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm2
jbe 0x1003fbb2
comiss xmm3, dword [eax + 0x210]
jbe 0x1003fbb2
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm5
ja 0x1003fbbf
cmp byte [ebx + 0x5ac8], 0
je 0x1003fcad
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10054540
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x1c], eax
cmp esi, eax
jne 0x1003fbe1
xorps xmm1, xmm1
jmp 0x1003fc30
movss xmm3, dword [0x10099100]
movss xmm2, dword [ebx + 0x3bc4]
push 0
push eax
push esi
push ecx
mov ecx, dword [ebx + 0x3bc0]
lea eax, [esp + 0x4c]
mov dword [esp], 0xbf800000
push eax
call fcn.1003a310
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10099024]
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm0, dword [esp + 0x24]
comiss xmm0, xmm1
jae 0x1003fc41
movss dword [esp + 0x24], xmm1
push dword [esp + 0x18]
mov edx, eax
mov ecx, esi
push dword [esp + 0x18]
push 0
call fcn.10010570
movss xmm4, dword [esp + 0x1c]
add esp, 0xc
movss xmm2, dword [esp + 0x30]
movss xmm0, dword [esp + 0xc]
addss xmm2, xmm4
movss xmm1, dword [esp + 0x18]
addss xmm0, xmm4
mov esi, dword [esp + 0x1c]
addss xmm1, xmm4
inc esi
movss dword [esp + 0x30], xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x18], xmm1
cmp esi, edi
jae 0x1003fcad
movss xmm3, dword [esp + 0x34]
movss xmm5, dword [esp + 0x20]
mov ebx, dword [0x100a3324]
jmp 0x1003fb80
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, edi
jae 0x1003fd5c
and dword [ebp + 8], 1
nop
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10054540
mov ebx, eax
add esp, 0xc
test ebx, ebx
cmove ebx, edi
cmp dword [ebp + 8], 0
jne 0x1003fd48
cmp esi, ebx
jne 0x1003fce6
xorps xmm1, xmm1
jmp 0x1003fd37
movss xmm3, dword [0x10099100]
lea eax, [esp + 0x3c]
push 0
push ebx
push esi
push ecx
mov ecx, dword [0x100a3324]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x3bc4]
mov ecx, dword [ecx + 0x3bc0]
call fcn.1003a310
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10099024]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm0, dword [esp + 0x24]
comiss xmm0, xmm1
jae 0x1003fd48
movss dword [esp + 0x24], xmm1
mov eax, dword [esp + 0xc]
lea esi, [ebx + 1]
inc eax
mov dword [esp + 0xc], eax
cmp esi, edi
jb 0x1003fcc0
movss xmm3, dword [esp + 0x2c]
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x10]
addss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x20]
subss xmm1, xmm3
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [esp + 0x24]
lea ecx, [esp + 0x24]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x28], xmm1
addss xmm1, xmm3
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
call fcn.10021c90
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.10021e40
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10052338
mov esp, ebp
pop ebp
ret
test cl, cl
je 0x1003fe28
comiss xmm0, xmm1
ja 0x1003fe28
ucomiss xmm1, xmm0
mov ecx, edx
lahf
test ah, 0x44
jp 0x1003fe04
movss xmm1, dword [ecx + 0x1f8]
subss xmm1, xmm5
maxss xmm1, dword [0x1009902c]
jmp 0x1003fe2b
comiss xmm1, xmm0
jbe 0x1003fe1a
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x1009902c]
jmp 0x1003fe2b
xorps xmm1, xmm1
movss xmm2, dword [ebx + 0x3bc4]
movss dword [esp + 0x10], xmm1
cmp esi, edi
je 0x1003fe8a
movss xmm3, dword [0x10099100]
lea eax, [esp + 0x3c]
push 0
push edi
push esi
push ecx
mov ecx, dword [ebx + 0x3bc0]
movss dword [esp], xmm1
push eax
call fcn.1003a310
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10099024]
movss xmm2, dword [esp + 0x40]
movss xmm5, dword [esp + 0x20]
movss xmm3, dword [esp + 0x2c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x14], xmm0
addss xmm1, xmm0
movss dword [esp + 0x18], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x3c], xmm5
addss xmm0, xmm2
movss dword [esp + 0x40], xmm3
lea ecx, [esp + 0x14]
movss dword [esp + 0x44], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x48], xmm0
call fcn.10021c90
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.10021e40
add esp, 8
test al, al
je 0x1003fef8
push dword [esp + 0x40]
movss xmm2, dword [esp + 0x14]
mov edx, edi
push dword [esp + 0x40]
mov ecx, esi
call fcn.10010790
add esp, 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10052338
mov esp, ebp
pop ebp
ret