Function at 0x1005d620
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 0x1005dc8a
test edi, edi
jne 0x1005d672
mov ecx, esi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d660
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 0x1005d9b5
cmp byte [esp + 0x17], 0
jne 0x1005d9c0
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 0x1005d964
cmp byte [edx + 0x28f0], 0
movaps xmm1, xmm3
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm1
jne 0x1005d784
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si ecx, xmm0
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x1005d784
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x1005d76f
cmp eax, ecx
jge 0x1005d75a
push 0xa
push esi
call fcn.10021c90
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 0x1005d732
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 0x1005d950
movaps xmm0, xmm5
movss dword [esp + 0x24], xmm1
addss xmm0, dword [0x10293f48]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x10], xmm0
push 0xa
push esi
call fcn.10021c90
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 0x1005d807
movss xmm0, dword [ecx + 0x1bc]
comiss xmm0, dword [esp + 0x24]
jbe 0x1005d807
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [ecx + 0x1b0]
jbe 0x1005d807
movss xmm0, dword [ecx + 0x1b8]
comiss xmm0, dword [esp + 0x2c]
ja 0x1005d814
cmp byte [edx + 0x28f0], 0
je 0x1005d90a
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 0x1005d839
xorps xmm1, xmm1
jmp 0x1005d899
movss xmm3, dword [0x10293f48]
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.100873e0
movss xmm0, dword [esp + 0x68]
comiss xmm0, dword [0x10293d48]
jbe 0x1005d87c
mov eax, dword [esp + 0x30]
movss xmm1, dword [esp + 0x28]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10293de4]
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 0x1005d8aa
movss dword [esp + 0x18], xmm1
push dword [esp + 0x54]
mov edx, ecx
mov ecx, esi
push dword [esp + 0x54]
push 0
call fcn.10066ce0
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 0x1005d7b0
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x1005d934
push 0xa
push esi
call fcn.10021c90
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 0x1005d914
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.1006a550
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.1006a3d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x17], 0
je 0x1005da66
comiss xmm7, xmm1
ja 0x1005da66
mov ecx, dword [edx + 0x17fc]
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1005da45
mov eax, dword [ecx + 0x1a0]
movss xmm1, dword [ecx + 0x4c]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1005da32
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 [0x10293df0]
jmp 0x1005da69
comiss xmm1, xmm7
jbe 0x1005da58
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x68]
addss xmm1, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x10293df0]
jmp 0x1005da69
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 0x1005da90
xorps xmm1, xmm1
jmp 0x1005daf5
movss xmm3, dword [0x10293f48]
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.100873e0
movss xmm1, dword [esp + 0x68]
xorps xmm7, xmm7
comiss xmm1, xmm7
jbe 0x1005dad0
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x30]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x10293de4]
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.1006a550
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.1006a3d0
test al, al
je 0x1005dc8a
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 0x1005db82
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005db70
sub ecx, edi
lea edi, [ecx + esi]
mov ecx, dword [edx + 0x17fc]
mov eax, edi
sub eax, esi
test eax, eax
jle 0x1005dc8a
mov eax, dword [ecx + 0x254]
xor ecx, ecx
movss xmm1, dword [0x10293df0]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x1728]
mov dword [esp + 0x10], eax
call fcn.1006c350
mov ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ecx
mov eax, edi
test ecx, 0xff000000
je 0x1005dc72
test edi, edi
jne 0x1005dbe8
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dbd6
sub ecx, dword [esp + 0x30]
lea eax, [ecx + esi]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x1005dc72
cmp dword [edx + 0x1728], 0
mov ecx, dword [esp + 0x1c]
jne 0x1005dc07
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 0x1005dc29
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.1007a030
mov edx, dword [esp + 0x3c]
cmp byte [edx + 0x28f0], 0
je 0x1005dc8a
push edi
mov edx, esi
lea ecx, [esp + 0x6c]
call fcn.10066e10
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret