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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [0x102a0b70]
mov eax, dword [edx + 0x17fc]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x17fc]
cmp byte [ecx + 0x90], 0
jne 0x1005d71a
test edi, edi
jne 0x1005d102
mov ecx, esi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d0f0
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [edx + 0x17fc]
movss xmm1, dword [ecx + 0x148]
xorps xmm7, xmm7
movss xmm3, dword [ecx + 0xfc]
mov eax, edi
addss xmm3, dword [ecx + 0xdc]
movss xmm5, dword [ecx + 0xd8]
comiss xmm1, xmm7
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x1c], xmm3
setae byte [esp + 0x17]
sub eax, esi
cmp eax, 0x7d0
jle 0x1005d445
cmp byte [esp + 0x17], 0
jne 0x1005d450
movups xmm0, xmmword [ecx + 0x1b0]
movss xmm4, dword [edx + 0x172c]
xorps xmm2, xmm2
movaps xmmword [esp + 0x40], xmm0
xorps xmm1, xmm1
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm3
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x18], xmm2
jb 0x1005d3f4
cmp byte [edx + 0x28f0], 0
movaps xmm1, xmm3
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm1
jne 0x1005d214
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si ecx, xmm0
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x1005d214
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x1005d1ff
cmp eax, ecx
jge 0x1005d1ea
push 0xa
push esi
call fcn.100217d0
mov ecx, dword [esp + 0x2c]
add esp, 8
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp esi, edi
jb 0x1005d1c2
movss xmm3, dword [esp + 0x1c]
xorps xmm7, xmm7
movss xmm4, dword [esp + 0x20]
movss xmm5, dword [esp + 0x2c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x54], xmm1
cmp esi, edi
jae 0x1005d3e0
movaps xmm0, xmm5
movss dword [esp + 0x24], xmm1
addss xmm0, dword [0x10293328]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x10], xmm0
push 0xa
push esi
call fcn.100217d0
mov edx, dword [0x102a0b70]
add esp, 8
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 0x17fc]
comiss xmm0, dword [ecx + 0x1b4]
jbe 0x1005d297
movss xmm0, dword [ecx + 0x1bc]
comiss xmm0, dword [esp + 0x24]
jbe 0x1005d297
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [ecx + 0x1b0]
jbe 0x1005d297
movss xmm0, dword [ecx + 0x1b8]
comiss xmm0, dword [esp + 0x2c]
ja 0x1005d2a4
cmp byte [edx + 0x28f0], 0
je 0x1005d39a
movss xmm0, dword [edx + 0x172c]
mov ecx, dword [esp + 0x38]
mov eax, dword [edx + 0x1728]
mov dword [esp + 0x30], eax
movss dword [esp + 0x28], xmm0
cmp esi, ecx
jne 0x1005d2c9
xorps xmm1, xmm1
jmp 0x1005d329
movss xmm3, dword [0x10293328]
movaps xmm2, xmm0
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x78]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10086e70
movss xmm0, dword [esp + 0x68]
comiss xmm0, dword [0x10293130]
jbe 0x1005d30c
mov eax, dword [esp + 0x30]
movss xmm1, dword [esp + 0x28]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x102931cc]
mov ecx, dword [esp + 0x38]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x68], xmm1
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm1
jae 0x1005d33a
movss dword [esp + 0x18], xmm1
push dword [esp + 0x54]
mov edx, ecx
mov ecx, esi
push dword [esp + 0x54]
push 0
call fcn.10066770
movss xmm0, dword [esp + 0x30]
add esp, 0xc
movss xmm1, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
addss xmm0, xmm1
test eax, eax
cmove eax, edi
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, xmm1
lea esi, [eax + 1]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm1
movss dword [esp + 0x54], xmm0
cmp esi, edi
jb 0x1005d240
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x1005d3c4
push 0xa
push esi
call fcn.100217d0
add esp, 8
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp esi, edi
jb 0x1005d3a4
movss xmm3, dword [esp + 0x1c]
xorps xmm7, xmm7
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x20]
addss xmm1, dword [esp + 0x54]
movss xmm2, dword [esp + 0x18]
subss xmm1, xmm3
movss xmm5, dword [esp + 0x2c]
addss xmm1, xmm7
addss xmm1, xmm3
movss dword [esp + 0x40], xmm5
addss xmm2, xmm5
movss dword [esp + 0x44], xmm3
lea ecx, [esp + 0x68]
movss dword [esp + 0x4c], xmm1
subss xmm1, xmm3
movss dword [esp + 0x48], xmm2
subss xmm2, xmm5
movss dword [esp + 0x6c], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x68], xmm2
call fcn.10069fe0
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.10069e60
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x17], 0
je 0x1005d4f6
comiss xmm7, xmm1
ja 0x1005d4f6
mov ecx, dword [edx + 0x17fc]
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1005d4d5
mov eax, dword [ecx + 0x1a0]
movss xmm1, dword [ecx + 0x4c]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1005d4c2
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
movss xmm0, dword [ecx + 0x14]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x18]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [0x102a0b70]
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [edx + 0x17fc]
addss xmm1, xmm0
subss xmm1, dword [ecx + 0x54]
addss xmm1, dword [ecx + 0x14]
subss xmm1, xmm5
maxss xmm1, dword [0x102931d8]
jmp 0x1005d4f9
comiss xmm1, xmm7
jbe 0x1005d4e8
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x68]
addss xmm1, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x102931d8]
jmp 0x1005d4f9
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x172c]
mov eax, dword [edx + 0x1728]
movss dword [esp + 0x18], xmm1
mov dword [esp + 0x28], eax
movss dword [esp + 0x30], xmm0
cmp esi, edi
jne 0x1005d520
xorps xmm1, xmm1
jmp 0x1005d585
movss xmm3, dword [0x10293328]
movaps xmm2, xmm0
push ecx
push edi
push esi
push ecx
lea ecx, [esp + 0x78]
movss dword [esp], xmm1
push ecx
mov ecx, eax
call fcn.10086e70
movss xmm1, dword [esp + 0x68]
xorps xmm7, xmm7
comiss xmm1, xmm7
jbe 0x1005d560
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x30]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x102931cc]
movss xmm0, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x2c]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x50], xmm1
lea ecx, [esp + 0x50]
addss xmm1, xmm5
movss dword [esp + 0x54], xmm0
addss xmm0, xmm3
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.10069fe0
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.10069e60
test al, al
je 0x1005d71a
mov edx, dword [0x102a0b70]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [edx + 0x17fc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], edx
test edi, edi
jne 0x1005d612
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d600
sub ecx, edi
lea edi, [ecx + esi]
mov ecx, dword [edx + 0x17fc]
mov eax, edi
sub eax, esi
test eax, eax
jle 0x1005d71a
mov eax, dword [ecx + 0x254]
xor ecx, ecx
movss xmm1, dword [0x102931d8]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x1728]
mov dword [esp + 0x10], eax
call fcn.1006bde0
mov ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ecx
mov eax, edi
test ecx, 0xff000000
je 0x1005d702
test edi, edi
jne 0x1005d678
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d666
sub ecx, dword [esp + 0x30]
lea eax, [ecx + esi]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x1005d702
cmp dword [edx + 0x1728], 0
mov ecx, dword [esp + 0x1c]
jne 0x1005d697
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
movss xmm2, dword [edx + 0x172c]
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x1005d6b9
mov eax, dword [ecx + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x30], xmm0
movaps xmm2, xmm0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x3c]
shl ecx, 4
push 0
mov eax, dword [edx + 0x44]
push ecx
movups xmm0, xmmword [ecx + eax - 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
movups xmmword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
push dword [esp + 0x28]
push esi
push eax
push dword [esp + 0x3c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push edx
call fcn.10079ac0
mov edx, dword [esp + 0x3c]
cmp byte [edx + 0x28f0], 0
je 0x1005d71a
push edi
mov edx, esi
lea ecx, [esp + 0x6c]
call fcn.100668a0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret