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

Disassembly:
sub esp, 0x60
mov ecx, dword [0x1010ef08]
xor edx, edx
inc edx
push edi
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], dl
mov edi, dword [ecx + 0x3e40]
mov dword [esp + 0x44], edi
cmp byte [edi + 0xaf], 0
je 0x1005c8d5
xor al, al
jmp 0x1005d107
mov eax, dword [esp + 0x6c]
shr eax, 1
push esi
mov esi, dword [0x1010ef08]
and al, dl
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], eax
jne 0x1005c91e
test dword [esp + 0x70], 0x400
jne 0x1005c91e
movss xmm0, dword [esi + 0x37dc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x128]
minss xmm0, dword [esi + 0x37e0]
movss dword [esp + 0x2c], xmm0
jmp 0x1005c932
mov eax, dword [esi + 0x37dc]
mov ecx, dword [esi + 0x37e0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x1005c952
push eax
push dword [esp + 0x78]
call fcn.100128e0
pop ecx
pop ecx
mov dword [esp + 0x78], eax
push ecx
mov dword [esp], 0xbf800000
push 0
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x40]
push eax
call fcn.10009ca9
movss xmm1, dword [esi + 0x37e0]
add esp, 0x14
mov ecx, dword [esp + 0x58]
addss xmm1, xmm1
movss xmm5, dword [0x100bbe40]
xorps xmm3, xmm3
movss xmm7, dword [ecx + 4]
addss xmm1, dword [esi + 0x3bd0]
movaps xmm0, xmm7
mulss xmm0, xmm5
minss xmm1, dword [edi + 0x11c]
addss xmm0, dword [esp + 0x34]
and dword [esp + 0x18], 0
test dword [esp + 0x70], 0x1000
maxss xmm1, xmm0
je 0x1005c9cb
movss xmm2, dword [edi + 0x1f0]
jmp 0x1005c9d3
movss xmm2, dword [edi + 0xf0]
cmp byte [esp + 0x4c], 0
movss xmm6, dword [0x100bbdf8]
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm1
movss xmm4, dword [edi + 0x1f8]
movss dword [esp + 0x20], xmm4
addss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x24], xmm0
je 0x1005ca67
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm6
subss xmm0, dword [0x100bbe20]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm6
movss xmm2, dword [ecx]
mulss xmm2, dword [0x100bbe48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 0x20], xmm0
jmp 0x1005ca6f
movss xmm2, dword [ecx]
mulss xmm2, xmm5
movss xmm4, dword [esi + 0x3bd0]
movss xmm6, dword [esp + 0x30]
movaps xmm0, xmm4
comiss xmm6, xmm3
addss xmm0, xmm2
movss xmm2, dword [edi + 0x128]
maxss xmm2, xmm7
movss dword [esp + 0x5c], xmm0
jbe 0x1005caa7
movss xmm3, dword [ecx]
mulss xmm3, xmm5
addss xmm3, xmm6
addss xmm2, dword [edi + 0xf4]
addss xmm0, dword [edi + 0xf0]
addss xmm4, xmm3
movss dword [esp + 0x44], xmm1
push ecx
lea eax, [esp + 0x44]
movss dword [esp], xmm7
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm4
call fcn.1000f657
cmp byte [esp + 0x54], 0
lea esi, [esp + 0x20]
lea edi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x54]
jne 0x1005cb2e
test dword [esp + 0x70], 0x1800
jne 0x1005cb2e
movss xmm0, dword [edi + 0x37ec]
movss xmm1, dword [esp + 0x50]
addss xmm0, xmm0
addss xmm1, dword [esp + 0x18]
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
mov eax, dword [esp + 0x70]
xor edx, edx
push dword [esp + 0x70]
mov esi, dword [esp + 0x70]
inc edx
shr eax, 8
and al, dl
push esi
mov dword [esp + 0x58], eax
call fcn.1005d150
mov byte [esp + 0x6f], al
pop ecx
pop ecx
test al, al
je 0x1005cb88
cmp byte [edi + 0x47f8], 0
jne 0x1005cb88
mov eax, dword [esp + 0x70]
and eax, 0x2008
cmp eax, 0x2000
jne 0x1005cb88
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x17c]
mov eax, dword [edx + 0x178]
bts ecx, eax
mov dword [edx + 0x17c], ecx
push 0
push 0
lea eax, [esp + 0x10]
push esi
push eax
call fcn.1000f7a8
add esp, 0x10
lea esi, [esp + 0x18]
push 2
pop edx
or dword [edi + 0x46bc], edx
add edi, 0x46e0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, al
jne 0x1005cbd6
mov al, byte [esp + 0x67]
test al, al
je 0x1005d106
test byte [esp + 0x70], 8
jne 0x1005d106
mov edx, dword [esp + 0x6c]
push edx
jmp 0x1005d0fc
mov eax, dword [esp + 0x70]
movss xmm1, dword [esp + 0x38]
and eax, 4
subss xmm1, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x44], eax
neg eax
sbb eax, eax
movss xmm2, dword [esi + 0x3804]
and eax, 0x1000
movss xmm3, dword [esi + 0xdc0]
movaps xmm0, xmm1
mov ecx, eax
subss xmm0, xmm2
or ecx, 0x200
cmp byte [esp + 0x50], 0
cmovne ecx, eax
comiss xmm3, xmm0
jb 0x1005cc52
mov eax, dword [esp + 0x58]
addss xmm1, xmm2
movss xmm0, dword [eax]
mulss xmm0, dword [0x100bbe40]
addss xmm0, dword [esi + 0x3bd0]
addss xmm0, xmm1
comiss xmm0, xmm3
jbe 0x1005cc52
xor edx, edx
inc edx
mov al, dl
jmp 0x1005cc57
xor edx, edx
xor al, al
inc edx
mov edi, dword [esp + 0x48]
mov byte [esp + 0x66], al
cmp edi, dword [esi + 0x3e44]
jne 0x1005cc6b
test al, al
jne 0x1005cc75
or ecx, 0x10000
test al, al
je 0x1005cc7a
or ecx, 0x10
jmp 0x1005cc8c
test byte [esp + 0x70], 0x40
je 0x1005cc89
or ecx, 0x120
jmp 0x1005cc8c
or ecx, 0x20
mov al, byte [esp + 0x70]
and al, dl
mov byte [esp + 0x63], al
lea eax, [esp + 0x64]
push ecx
push eax
lea eax, [esp + 0x6d]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x18]
push eax
call fcn.1005b9bb
xor cl, cl
add esp, 0x14
cmp byte [esp + 0x50], cl
jne 0x1005cdaf
test al, al
je 0x1005cd32
mov eax, dword [esp + 0x6c]
cmp dword [esi + 0x49b4], eax
je 0x1005cd21
test byte [esp + 0x70], 0xc0
je 0x1005ccdd
cmp dword [esi + 0x47cc], eax
jne 0x1005cce4
xor edx, edx
inc edx
mov cl, dl
jmp 0x1005cce7
xor edx, edx
inc edx
test byte [esp + 0x70], 0x80
je 0x1005cd06
cmp byte [esp + 0x66], 0
je 0x1005cd02
cmp byte [esi + 0x47fb], 0
jne 0x1005cd02
mov al, dl
jmp 0x1005cd04
xor al, al
or cl, al
test byte [esp + 0x70], 0x40
je 0x1005cd32
push 2
pop eax
cmp word [esi + 0x370a], ax
mov al, byte [esp + 0x67]
jne 0x1005cd36
mov cl, dl
jmp 0x1005cd36
mov al, byte [esp + 0x67]
push 1
test al, al
movzx ecx, cl
pop edx
cmove ecx, edx
jmp 0x1005cd36
mov al, byte [esp + 0x67]
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x47c4], edx
jne 0x1005cd5f
cmp dword [esi + 0x4824], 0
jne 0x1005cd5f
test al, al
je 0x1005cd5f
xor eax, eax
inc eax
mov byte [esp + 0x48], al
call fcn.10010f3b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
cmp dword [esi + 0x47c4], eax
jne 0x1005cd84
xor eax, eax
inc eax
cmp dword [esi + 0x4824], eax
jne 0x1005cd84
cmp byte [esp + 0x67], 0
jne 0x1005cd84
call fcn.10010f3b
jmp 0x1005cd88
test cl, cl
je 0x1005cdaf
mov al, byte [esp + 0x67]
xor ecx, ecx
inc ecx
xor al, cl
mov ecx, dword [edi + 0x18c]
mov byte [esp + 0x67], al
movzx eax, al
push eax
push dword [esp + 0x70]
call fcn.1000ba6a
or dword [esi + 0x46bc], 0x10
cmp dword [esp + 0x44], 0
je 0x1005cdbb
call fcn.10009860
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.10007cd0
cmp byte [esp + 0x54], 0
pop ecx
pop ecx
mov cl, byte [esp + 0x65]
mov dword [esp + 0x54], eax
je 0x1005cf83
cmp byte [esp + 0x64], 0
je 0x1005cdef
test cl, cl
je 0x1005cdef
push 0x1a
pop eax
jmp 0x1005cdf9
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10007cd0
movss xmm0, dword [esi + 0x37e4]
add esp, 4
xor ecx, ecx
inc ecx
movss dword [esp], xmm0
push ecx
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.10012432
push 2
pop eax
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x3c]
push eax
call fcn.1001269f
movss xmm0, dword [esp + 0x60]
add esp, 0x28
test dword [esp + 0x70], 0x200
je 0x1005cea9
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [0x100bbdfc]
push dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100bbdf8]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.1003cc4b
add esp, 0x10
jmp 0x1005cf07
cmp byte [esp + 0x50], 0
subss xmm0, dword [esp + 0x5c]
jne 0x1005cf01
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp], 0x3f800000
addss xmm0, dword [eax]
movzx eax, byte [esp + 0x6b]
lea eax, [eax*2 + 1]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x40]
push eax
push dword [esp + 0x5c]
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 0x264]
call fcn.1003cad6
add esp, 0x18
jmp 0x1005cf07
movss dword [esp + 0x38], xmm0
test dword [esp + 0x70], 0x100000
je 0x1005cf31
movss xmm1, dword [esi + 0x37dc]
addss xmm1, dword [esi + 0x3bd0]
movss xmm0, dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x20], xmm0
cmp byte [esi + 0x5a74], 0
je 0x1005cf48
mov eax, 0x100ba0d0
push eax
push eax
call fcn.1000ff9e
pop ecx
pop ecx
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
and dword [esp + 0x2c], 0
push 0
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x30]
push dword [esp + 0x84]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10011ec9
add esp, 0x1c
jmp 0x1005d0e9
test cl, cl
jne 0x1005cf8d
cmp byte [esp + 0x63], cl
je 0x1005cfd7
cmp byte [esp + 0x64], 0
je 0x1005cf9d
test cl, cl
je 0x1005cf9d
push 0x1a
pop eax
jmp 0x1005cfa7
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10007cd0
add esp, 4
and dword [esp], 0
push 0
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.10012432
add esp, 0x1c
push 2
pop eax
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x20]
push eax
call fcn.1001269f
add esp, 0xc
test dword [esp + 0x70], 0x200
je 0x1005d04c
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [0x100bbdf8]
movss xmm0, dword [esp + 0x38]
push dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100bbdf8]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.1003cc4b
add esp, 0x10
jmp 0x1005d0b8
cmp byte [esp + 0x50], 0
jne 0x1005d0b8
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp], 0x3f333333
addss xmm0, dword [eax]
movzx eax, byte [esp + 0x6b]
movss dword [esp + 0x44], xmm0
lea eax, [eax*2 + 1]
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100bbde4]
push eax
push dword [esp + 0x5c]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 0x264]
call fcn.1003cad6
add esp, 0x18
cmp byte [esi + 0x5a74], 0
je 0x1005d0cf
push 0
push 0x100bb620
call fcn.1000ff9e
pop ecx
pop ecx
push 0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.10011d32
add esp, 0x14
mov al, byte [esp + 0x67]
test al, al
je 0x1005d106
test byte [esp + 0x70], 8
jne 0x1005d106
push dword [esp + 0x6c]
call fcn.1005d10c
mov al, byte [esp + 0x6b]
pop ecx
pop esi
pop edi
add esp, 0x60
ret