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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x102a000c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x102a0b70]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x17fc]
mov dword [esp + 0x4c], ecx
mov byte [eax + 0x8e], 1
mov eax, dword [edi + 0x17fc]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x90], 0
je 0x1005b00a
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
mov eax, edx
xorps xmm5, xmm5
shr eax, 1
and al, 1
mov dword [esp + 0x50], eax
jne 0x1005b039
test edx, 0x400
jne 0x1005b039
movss xmm0, dword [edi + 0x1418]
movss dword [esp + 0x78], xmm0
mov dword [esp + 0x7c], 0
jmp 0x1005b051
mov ecx, dword [edi + 0x141c]
mov eax, dword [edi + 0x1418]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
movss xmm2, dword [eax + 4]
mov dword [esp + 0x94], eax
movss dword [esp + 0x24], xmm2
test esi, esi
jne 0x1005b087
mov esi, ecx
cmp ecx, 0xffffffff
jae 0x1005b087
mov al, byte [esi]
test al, al
je 0x1005b087
cmp al, 0x23
jne 0x1005b081
cmp byte [esi + 1], al
je 0x1005b087
inc esi
cmp esi, 0xffffffff
jb 0x1005b072
movss xmm1, dword [edi + 0x172c]
mov eax, dword [edi + 0x1728]
mov dword [esp + 0x98], eax
movss dword [esp + 0x28], xmm1
cmp ecx, esi
jne 0x1005b0ae
movaps xmm3, xmm5
movaps xmm6, xmm1
jmp 0x1005b11a
movss xmm3, dword [0x10293328]
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.10086e70
movss xmm1, dword [esp + 0x58]
xorps xmm5, xmm5
comiss xmm1, xmm5
jbe 0x1005b0f3
mov eax, dword [esp + 0x98]
movss xmm0, dword [esp + 0x28]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x102931cc]
movss xmm6, dword [edi + 0x172c]
movss xmm2, dword [esp + 0x24]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x5c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov edx, dword [esp + 0x20]
movaps xmm0, xmm2
mov eax, dword [edi + 0x17fc]
addss xmm2, xmm2
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa0], xmm3
maxss xmm0, dword [edx + 0xfc]
movss xmm4, dword [edx + 0xf8]
mov ecx, dword [eax + 0x1a0]
addss xmm2, xmm1
movss xmm1, dword [eax + 0x4c]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x141c]
addss xmm0, xmm0
addss xmm0, xmm6
minss xmm4, xmm0
maxss xmm4, xmm2
test ecx, ecx
je 0x1005b1c7
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x17fc]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [eax + 0x1a0]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0x20]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [edi + 0x17fc]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x54]
cmp byte [esp + 0x50], 0
movaps xmm0, xmm4
addss xmm0, dword [edx + 0xdc]
addss xmm1, dword [edx + 0x14]
movss xmm7, dword [edx + 0xd8]
movss xmm2, dword [edx + 0xdc]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x80], xmm7
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm0
je 0x1005b283
movss xmm0, dword [edx + 0x54]
mulss xmm0, dword [0x1029319c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x94]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x102931d8]
subss xmm7, xmm0
addss xmm0, xmm1
movss xmm1, dword [eax]
movaps xmm2, xmm1
mulss xmm2, dword [0x10293228]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x80], xmm7
addss xmm0, xmm1
jmp 0x1005b295
mov eax, dword [esp + 0x94]
movss xmm2, dword [eax]
addss xmm2, xmm2
movaps xmm0, xmm2
comiss xmm3, xmm5
movaps xmm1, xmm6
addss xmm1, xmm2
movss dword [esp + 0x54], xmm1
jbe 0x1005b2ad
addss xmm0, xmm3
jmp 0x1005b2b0
movaps xmm0, xmm5
movss xmm1, dword [esp + 0x58]
addss xmm6, xmm0
lea ecx, [esp + 0x98]
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0x98], xmm6
call fcn.10069fe0
cmp byte [esp + 0x50], 0
lea eax, [esp + 0x60]
je 0x1005b2f2
movaps xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x60], xmm0
jmp 0x1005b32a
movss xmm0, dword [esp + 0x24]
addss xmm6, xmm7
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 0x1428]
addss xmm0, xmm0
movss dword [esp + 0x60], xmm7
addss xmm0, xmm6
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x100
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x28], ecx
je 0x1005b34e
mov byte [esp + 0x10], 1
jmp 0x1005b486
mov ecx, dword [0x102a0b70]
mov dword [esp + 0xa8], ecx
cmp dword [ecx + 0x18cc], 0
mov edx, dword [ecx + 0x17fc]
mov dword [esp + 0x98], edx
mov edx, dword [edx + 0x138]
je 0x1005b427
test byte [ecx + 0x18cc], 1
je 0x1005b3b7
mov al, byte [ecx + 0x18ca]
mov ecx, edx
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x18]
call fcn.1006b700
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x18cc], 0
jmp 0x1005b449
push 0xffffffffffffffff
push dword [esp + 0x18]
mov ecx, edx
call fcn.1006b7f0
cmp eax, 0xffffffff
jne 0x1005b40b
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x98]
mov al, byte [eax + 0x18ca]
mov ecx, dword [ecx + 0x138]
mov dword [esp + 0x10], eax
movzx eax, al
push eax
push dword [esp + 0x18]
call fcn.1006b700
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x18cc], 0
jmp 0x1005b449
mov edx, dword [esp + 0xa8]
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
mov dword [edx + 0x18cc], 0
jmp 0x1005b449
shr eax, 5
mov ecx, edx
and eax, 1
push eax
push dword [esp + 0x18]
call fcn.1006b7f0
mov edx, dword [esp + 0xa8]
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
cmp byte [edx + 0x28f0], 0
je 0x1005b486
test byte [esp + 0x18], 0x10
jne 0x1005b486
mov eax, dword [esp + 0x98]
movzx ecx, cl
mov dword [esp + 0x98], 1
mov eax, dword [eax + 0x10c]
cmp eax, dword [edx + 0x2900]
cmovl ecx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x60]
call fcn.10069e60
test al, al
je 0x1005b927
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 4
mov edx, eax
mov dword [esp + 0xa8], ecx
or ecx, 0x140
shl ecx, 4
and edx, 0x40
mov dword [esp + 0x98], edx
je 0x1005b4d1
and eax, 0x80
or eax, 0x400
shr eax, 6
or ecx, eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1e]
push ecx
push eax
lea eax, [esp + 0x27]
push eax
lea ecx, [esp + 0x6c]
call fcn.1005ca00
add esp, 0xc
test al, al
je 0x1005b594
cmp dword [esp + 0x28], 0
jne 0x1005b594
mov eax, dword [esp + 0x18]
test al, 0xc0
sete cl
mov byte [esp + 0x1d], cl
test al, al
jns 0x1005b54f
movss xmm0, dword [esp + 0x60]
lea edx, [esp + 0xb0]
addss xmm0, dword [esp + 0x54]
push 1
lea ecx, [esp + 0x64]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xb8], xmm0
call fcn.10065930
mov cl, byte [esp + 0x21]
add esp, 4
or cl, al
cmp dword [esp + 0x98], 0
je 0x1005b55f
or cl, byte [edi + 0x371]
cmp byte [edi + 0x1af0], 0
mov eax, dword [esp + 0x10]
je 0x1005b570
test al, al
jne 0x1005b594
test cl, cl
je 0x1005b594
test al, al
sete al
mov dword [esp + 0x10], eax
movzx eax, al
push eax
mov eax, dword [esp + 0x24]
push dword [esp + 0x18]
mov ecx, dword [eax + 0x138]
call fcn.1006b700
cmp dword [esp + 0xa8], 0
je 0x1005b5a3
call fcn.10065400
cmp byte [esp + 0x1e], 0
mov dl, byte [esp + 0x1f]
je 0x1005b5b9
test dl, dl
je 0x1005b5b9
mov ecx, 0x1a
jmp 0x1005b5c3
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x18
movss xmm1, dword [0x102931d8]
call fcn.1006bde0
cmp byte [esp + 0x50], 0
movss xmm1, dword [esp + 0x54]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm1
movss xmm4, dword [esp + 0x24]
addss xmm0, xmm2
movss xmm3, dword [esp + 0x58]
mov dword [esp + 0x20], eax
movss dword [esp + 0xa8], xmm0
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xac], xmm0
je 0x1005b792
push dword [esp + 0x8c]
movss xmm2, dword [edi + 0x1420]
mov dl, 1
push dword [esp + 0x8c]
mov ecx, eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.100661a0
mov eax, dword [esp + 0xa4]
xor ecx, ecx
cmp byte [esp + 0x20], cl
movss xmm1, dword [0x102931d8]
setne cl
movss xmm0, dword [eax]
addss xmm0, dword [esp + 0x40]
lea ecx, [ecx*2 + 1]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10065f10
add esp, 0x18
lea ecx, [esp + 0xa8]
cmp byte [edi + 0x28f0], 0
je 0x1005b751
mov ax, word [0x100d7f50]
lea edx, [esp + 0x98]
mov word [esp + 0x94], ax
mov al, byte [0x100d7f52]
mov byte [esp + 0x96], al
lea eax, [esp + 0x9b]
push eax
mov dword [esp + 0x9c], 0x23230a
call fcn.100668a0
add esp, 4
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xb0]
mov dword [esp + 0xb4], 0
lea edx, [esp + 0x88]
lea ecx, [esp + 0xa8]
push 0
push eax
lea eax, [esp + 0xa8]
push eax
push esi
push dword [esp + 0x5c]
call fcn.100662c0
add esp, 0x14
lea eax, [esp + 0x97]
lea edx, [esp + 0x95]
lea ecx, [esp + 0xa8]
push eax
call fcn.100668a0
add esp, 4
jmp 0x1005b927
push 0
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], 0
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xbc], 0
push eax
push esi
push dword [esp + 0x5c]
lea edx, [esp + 0x9c]
call fcn.100662c0
add esp, 0x14
jmp 0x1005b927
test dl, dl
jne 0x1005b7a2
mov eax, dword [esp + 0x18]
test al, 1
je 0x1005b82a
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa0], eax
mov eax, dword [0x102a0b70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x84]
push 0xf
mov dword [esp + 0xa8], ecx
mov ecx, dword [eax + 0x17fc]
lea eax, [esp + 0xb4]
push ecx
mov dword [esp], 0
push dword [esp + 0x28]
mov ecx, dword [ecx + 0x254]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.10089260
movss xmm1, dword [esp + 0x54]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x58]
movss xmm4, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test eax, 0x200
je 0x1005b87c
movss xmm0, dword [edi + 0x172c]
mulss xmm0, dword [0x1029319c]
mulss xmm1, dword [0x1029319c]
addss xmm0, xmm3
addss xmm1, xmm2
addss xmm0, xmm4
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10065e70
jmp 0x1005b8e7
cmp dword [esp + 0x28], 0
jne 0x1005b8ea
mov eax, dword [esp + 0x94]
xor ecx, ecx
cmp byte [esp + 0x10], cl
movss xmm1, dword [0x102931b0]
setne cl
movss xmm0, dword [eax]
addss xmm0, xmm2
lea ecx, [ecx*2 + 1]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 0x172c]
mulss xmm0, dword [0x1029317c]
addss xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10065f10
add esp, 8
cmp byte [edi + 0x28f0], 0
je 0x1005b909
push 0
mov edx, 0x100d7f54
lea ecx, [esp + 0xac]
call fcn.100668a0
add esp, 4
push dword [esp + 0xac]
mov ecx, dword [esp + 0x50]
mov edx, esi
push dword [esp + 0xac]
push 0
call fcn.10066770
add esp, 0xc
mov eax, dword [esp + 0x10]
test al, al
je 0x1005b943
test byte [esp + 0x18], 8
jne 0x1005b943
mov ecx, dword [esp + 0x14]
call fcn.100480a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret