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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, dword [0x10091850]
mov esi, ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x68], edi
mov eax, dword [edi + 0x1a78]
mov ecx, eax
and eax, 0xffffffef
shr ecx, 4
mov dword [edi + 0x1a78], eax
and ecx, 0xffffff01
mov eax, dword [edi + 0x19f8]
mov dword [esp + 0x58], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [edi + 0x19f8]
mov dword [esp + 0x3c], eax
cmp byte [eax + 0x7f], 0
jne 0x5f5e3d
mov eax, dword [ebp + 8]
and eax, 0x60
cmp al, 0x60
jne 0x5f57bf
push 0x6c2
push 0x10088f60
push 0x10089260
call dword [0x1005d2e0]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x40]
push esi
call fcn.005c8c0c
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [0x10091850]
mov dword [esp + 0x40], eax
mov eax, edx
and eax, 0x20
mov dword [esp + 0x44], eax
je 0x5f57ed
movss dword [esp + 0x60], xmm0
jmp 0x5f5807
movss xmm1, dword [esi + 0x154c]
addss xmm1, xmm1
addss xmm1, dword [esi + 0x18c8]
movss dword [esp + 0x60], xmm1
mov ecx, dword [esp + 0x50]
mov eax, ecx
cmp ecx, 0xffffffff
jae 0x5f582c
mov cl, byte [eax]
test cl, cl
je 0x5f5828
cmp cl, 0x23
jne 0x5f5822
cmp byte [eax + 1], cl
je 0x5f5828
inc eax
cmp eax, 0xffffffff
jb 0x5f5812
mov ecx, dword [esp + 0x50]
movss xmm6, dword [esi + 0x18c8]
cmp ecx, eax
jne 0x5f583d
movaps xmm3, xmm0
jmp 0x5f588f
movss xmm3, dword [0x1008b38c]
movaps xmm2, xmm6
push 0
push eax
push ecx
push ecx
mov ecx, dword [esi + 0x18c4]
lea eax, [esp + 0x20]
mov dword [esp], 0xbf800000
push eax
call fcn.005ee4ac
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x1008b274]
movss xmm6, dword [esp + 0x14]
mov esi, dword [0x10091850]
mov edx, dword [ebp + 8]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
test byte [esi + 0x1ad0], 1
mov ecx, dword [esi + 0x19f8]
movss dword [esp + 0x6c], xmm3
je 0x5f58ae
movss xmm1, dword [esi + 0x1ad4]
jmp 0x5f58b6
movss xmm1, dword [ecx + 0x1a8]
comiss xmm0, xmm1
jbe 0x5f58ee
mov eax, ecx
cmp dword [eax + 0x190], 0
movss xmm2, dword [eax + 0x244]
je 0x5f58d6
movss xmm2, dword [eax + 0x224]
subss xmm2, dword [ecx + 0xc8]
addss xmm2, xmm1
movss xmm1, dword [0x1008b278]
maxss xmm1, xmm2
mov eax, edx
and eax, 0x40
mov dword [esp + 0x18], eax
je 0x5f5901
movss xmm1, dword [esp + 0x60]
jmp 0x5f590c
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm3, xmm0
mov eax, dword [esp + 0x3c]
movss xmm4, dword [eax + 0xc8]
movss xmm7, dword [edi + 0x154c]
movaps xmm2, xmm4
movss xmm5, dword [eax + 0xcc]
addss xmm2, xmm1
movss dword [esp + 0x54], xmm1
movaps xmm1, xmm7
addss xmm1, xmm7
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x34], xmm2
addss xmm1, xmm6
addss xmm1, xmm5
movss dword [esp + 0x38], xmm1
jbe 0x5f5971
movss xmm3, dword [edi + 0x1560]
addss xmm3, dword [esp + 0x6c]
jmp 0x5f5974
movaps xmm3, xmm0
addss xmm1, xmm0
movss dword [esp + 0x70], xmm4
addss xmm2, xmm3
movss dword [esp + 0x74], xmm5
lea ecx, [esp + 0x10]
movss dword [esp + 0x7c], xmm1
subss xmm1, xmm5
movss dword [esp + 0x78], xmm2
subss xmm2, xmm4
movss dword [esp + 0x14], xmm1
movaps xmm1, xmm7
movss dword [esp + 0x10], xmm2
call fcn.005c90dc
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x2c]
push eax
mov edx, esi
lea ecx, [esp + 0x74]
call fcn.005c920c
add esp, 4
test al, al
je 0x5f5e3d
push 0
lea eax, [esp + 0x12]
mov edx, esi
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x38]
call fcn.005f0ecc
mov esi, dword [0x10091850]
add esp, 0xc
mov byte [esp + 0xe], al
mov ecx, dword [esi + 0x1b14]
cmp dword [esi + 0x1b08], ecx
jle 0x5f5a1e
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x1b10]
mov esi, dword [esp + 0x40]
cmp dword [ecx + edx*4], esi
jne 0x5f5a22
mov byte [esp + 0xd], 1
jmp 0x5f5a27
mov esi, dword [esp + 0x40]
mov byte [esp + 0xd], 0
movss xmm1, dword [0x1008b278]
xor ecx, ecx
cmp byte [esp + 0xf], cl
setne cl
add ecx, 7
call fcn.005c6d6c
movss xmm0, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x2c]
mov edx, esi
push 1
mov dword [esp + 0x14], eax
maxss xmm1, xmm0
movss dword [esp + 0x50], xmm1
call fcn.005c800c
mov esi, dword [esp + 0x1c]
add esp, 4
mov ecx, 0xf
test esi, esi
jne 0x5f5acd
movss xmm0, dword [esp + 0x4c]
mov eax, 5
cmp dword [esp + 0x44], esi
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x38]
cmovne eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x20]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x1550]
movss dword [esp], xmm0
push dword [esp + 0x18]
mov ecx, dword [ecx + 0x278]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005e97fc
cmp dword [esp + 0x44], 0
jne 0x5f5c5f
cmp byte [esp + 0xd], 0
jne 0x5f5aee
cmp byte [esp + 0xf], 0
mov dword [esp + 0x44], 0x15
je 0x5f5af6
mov dword [esp + 0x44], 0x16
movss xmm1, dword [0x1008b278]
xor ecx, ecx
call fcn.005c6d6c
movss xmm0, dword [esp + 0x4c]
mov edx, 0xa
movss xmm1, dword [0x1008b278]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x60]
comiss xmm0, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, 0xf
movss xmm0, dword [edi + 0x1550]
cmovae edx, eax
push edx
push ecx
mov ecx, dword [esp + 0x4c]
movss dword [esp], xmm0
call fcn.005c6d6c
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x278]
call fcn.005e97fc
movss xmm1, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x34]
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x60]
subss xmm0, dword [edi + 0x1548]
comiss xmm2, xmm0
jb 0x5f5c5f
mov eax, dword [esp + 0x3c]
movss xmm6, dword [edi + 0x154c]
push dword [esp + 0x10]
movaps xmm5, xmm6
mov ecx, dword [eax + 0x278]
addss xmm5, xmm1
addss xmm6, dword [esp + 0x34]
mov eax, dword [ecx + 0x28]
movss xmm0, dword [eax + 0xc]
lea eax, [esp + 0x1c]
movaps xmm4, xmm0
mulss xmm0, dword [0x1008b208]
push eax
mulss xmm4, dword [0x1008b1f8]
lea eax, [esp + 0x4c]
push eax
addss xmm5, xmm0
addss xmm6, xmm0
movaps xmm2, xmm4
lea eax, [esp + 0x6c]
mulss xmm2, dword [0x1008b130]
movaps xmm3, xmm4
push eax
mulss xmm3, dword [0x1008b244]
movaps xmm1, xmm4
mulss xmm1, dword [0x1008b3a8]
movaps xmm0, xmm4
mulss xmm0, dword [0x1008b25c]
addss xmm2, xmm5
mulss xmm4, dword [0x1008b3a4]
addss xmm3, xmm6
addss xmm0, xmm5
addss xmm1, xmm5
movss dword [esp + 0x70], xmm2
addss xmm4, xmm6
movss dword [esp + 0x74], xmm3
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x58], xmm4
call fcn.005e9eac
push dword [esp + 0x38]
movss xmm0, dword [edi + 0x1550]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.005c79ec
mov ecx, dword [esp + 0x9c]
add esp, 0x10
movss xmm2, dword [esp + 0x30]
test ecx, ecx
je 0x5f5d5c
test esi, esi
jne 0x5f5d5c
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x1548]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0x154c]
mov edi, ecx
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
cmp ecx, 0xffffffff
jae 0x5f5d01
nop dword [eax]
mov al, byte [edi]
test al, al
je 0x5f5d01
cmp al, 0x23
jne 0x5f5cfb
cmp byte [edi + 1], al
je 0x5f5d01
inc edi
cmp edi, 0xffffffff
jb 0x5f5cec
mov eax, edi
sub eax, ecx
je 0x5f5d58
mov esi, dword [0x10091850]
lea eax, [esp + 0x18]
push 0
push eax
push 0
push edi
push ecx
mov ecx, dword [esi + 0x19f8]
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0x28]
mov ecx, dword [ecx + 0x278]
call fcn.005c6fdc
add esp, 0x18
cmp byte [esi + 0x2db4], 0
je 0x5f5d52
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x10]
push edi
call fcn.005d890c
add esp, 4
movss xmm2, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
movss xmm0, dword [esp + 0x6c]
comiss xmm0, dword [0x1008b130]
jbe 0x5f5e23
movss xmm1, dword [edi + 0x1560]
movss xmm0, dword [edi + 0x154c]
addss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
addss xmm0, xmm2
mov edx, dword [0x10091850]
mov esi, ecx
mov dword [esp + 0x10], edx
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm0
cmp ecx, 0xffffffff
jae 0x5f5e23
nop
mov al, byte [esi]
test al, al
je 0x5f5dc1
cmp al, 0x23
jne 0x5f5dbb
cmp byte [esi + 1], al
je 0x5f5dc1
inc esi
cmp esi, 0xffffffff
jb 0x5f5dac
cmp ecx, esi
je 0x5f5e23
movss xmm1, dword [0x1008b278]
push 0
push ecx
mov dword [esp], 0
push esi
push ecx
xor ecx, ecx
call fcn.005c6d6c
mov ecx, dword [edx + 0x19f8]
movss xmm2, dword [edx + 0x18c8]
push eax
lea eax, [esp + 0x2c]
mov ecx, dword [ecx + 0x278]
push eax
push dword [edx + 0x18c4]
call fcn.005ea31c
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x2db4], 0
je 0x5f5e23
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x18]
push esi
call fcn.005d890c
add esp, 4
cmp byte [esp + 0xe], 0
mov ecx, dword [esp + 0x40]
jne 0x5f5e45
cmp dword [edi + 0x1b2c], ecx
je 0x5f5e45
cmp byte [esp + 0xd], 0
jne 0x5f5e64
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xd], 0
jne 0x5f5e64
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x134], 0
jne 0x5f5e5f
mov dword [eax + 0x308], ecx
call fcn.005d3cdc
cmp byte [esp + 0x58], 0
je 0x5f5e8d
movss xmm0, dword [edi + 0x1aac]
maxss xmm0, dword [esp + 0x54]
or dword [edi + 0x1a78], 0x10
movss dword [edi + 0x1aac], xmm0
jmp 0x5f5f58
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, edx
or ecx, 4
and al, 0x1e
cmovne ecx, edx
mov edx, ecx
mov dword [ebp + 8], ecx
and edx, 0x1e
je 0x5f5ead
lea eax, [edx - 1]
test edx, eax
je 0x5f5ec8
push 0x6fc
push 0x10088f60
push 0x10089370
call dword [0x1005d2e0]
mov ecx, dword [ebp + 8]
add esp, 0xc
test cl, 4
je 0x5f601a
mov edx, 8
mov ecx, dword [0x10091850]
movss xmm1, dword [ecx + 0x155c]
movss xmm3, dword [ecx + 0x18c8]
movss xmm2, dword [ecx + 0x1518]
addss xmm3, xmm1
movd xmm0, edx
addss xmm2, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
subss xmm3, xmm1
addss xmm3, xmm2
movss xmm0, dword [esp + 0x54]
or dword [ecx + 0x1a78], 0x10
movss dword [esp + 0x70], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x7f7fffff
movss dword [esp + 0x7c], xmm3
movups xmm0, xmmword [esp + 0x70]
mov dword [ecx + 0x1abc], 0
mov dword [ecx + 0x1ac0], 0
movups xmmword [ecx + 0x1aac], xmm0
push dword [edi + 0x1b14]
lea eax, [esp + 0x94]
push 0x100893d8
push 0x10
push eax
call fcn.005c5d6c
add esp, 0x10
lea ecx, [esp + 0x90]
call fcn.005cd15c
mov esi, eax
test esi, esi
je 0x5f611d
cmp byte [esi + 0x7b], 0
je 0x5f611d
mov edx, esi
lea ecx, [esp + 0x10]
call fcn.005cd79c
mov eax, ecx
lea ecx, [esp + 0x58]
push eax
call fcn.005cd84c
add esp, 4
lea ecx, [esp + 0x18]
mov edx, esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.005cd59c
add esp, 8
lea eax, [esi + 0x94]
test byte [ebp + 8], 1
je 0x5f5fd7
mov dword [eax], 0
mov esi, dword [0x10091850]
xorps xmm2, xmm2
movss xmm7, dword [0x1008ce20]
movss xmm4, dword [esi + 0x15b0]
movss xmm6, dword [esi + 0x14]
movaps xmm0, xmm4
movss xmm3, dword [esi + 0x15ac]
addss xmm0, xmm4
movss xmm5, dword [esi + 0x10]
movaps xmm1, xmm6
subss xmm1, xmm2
comiss xmm1, xmm0
jbe 0x5f6056
xorps xmm4, xmm7
jmp 0x5f6059
test cl, 2
je 0x5f6029
mov edx, 4
jmp 0x5f5ed6
mov eax, ecx
mov edx, 0x14
mov ecx, dword [0x10091850]
and eax, 8
mov esi, 0xffffffff
cmove edx, esi
test eax, eax
jne 0x5f5edc
movss xmm3, dword [0x1008b38c]
jmp 0x5f5f0f
xorps xmm4, xmm4
movaps xmm1, xmm5
movaps xmm0, xmm3
subss xmm1, xmm2
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x5f6071
xorps xmm3, xmm7
jmp 0x5f6074
xorps xmm3, xmm3
xorps xmm0, xmm0
lea ecx, [esp + 0x2c]
subss xmm0, xmm3
push 1
push ecx
lea ecx, [esp + 0x78]
push ecx
movss dword [esp + 0x7c], xmm0
subss xmm2, xmm4
movss xmm0, dword [esp + 0x38]
addss xmm5, xmm3
addss xmm6, xmm4
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x44]
lea edx, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x84], xmm2
push eax
lea ecx, [esp + 0x24]
movss dword [esp + 0x8c], xmm5
movss dword [esp + 0x90], xmm6
movss dword [esp + 0x70], xmm0
call fcn.005d468c
mov eax, dword [esp + 0x24]
add esp, 0x14
or dword [esi + 0x1a78], 1
mov dword [esi + 0x1a88], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1a8c], eax
mov dword [esi + 0x1a90], 0
mov dword [esi + 0x1a94], 0
mov dword [esi + 0x1a7c], 1
jmp 0x5f6123
mov esi, dword [0x10091850]
movss xmm0, dword [edi + 0x1548]
lea eax, [esp + 0x18]
movss xmm1, dword [esi + 0x1514]
lea ecx, [esi + 0x1af0]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x1518]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x1518]
push eax
mov dword [esp + 0x1c], 1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm0
call fcn.005da8ac
movss xmm0, dword [esp + 0x58]
lea ecx, [esp + 0x90]
movss dword [esi + 0x1514], xmm0
xor edx, edx
movss xmm0, dword [esp + 0x10]
push 0x4000147
movss dword [esi + 0x1518], xmm0
call fcn.005cf3fc
add esp, 4
mov byte [esp + 0xe], al
mov ecx, 1
call fcn.005d280c
cmp byte [esp + 0xe], 0
jne 0x5f61df
call fcn.005d44ec
push 0x71d
push 0x10088f60
push 0x1005d510
call dword [0x1005d2e0]
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret