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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [0x10256160]
xorps xmm1, xmm1
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x353], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x10059f39
test byte [esi + 0xc], 1
je 0x10059f39
movss xmm0, dword [esi + 0x2fc]
lea ecx, [esi + 0x2fc]
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x10059f2d
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x10059f2d
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x10059f2d
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
jbe 0x10059f43
mov dword [esi + 0x1ac4], 4
jmp 0x10059f43
mov byte [ebp - 1], 0
lea ecx, [esi + 0x2fc]
test al, al
je 0x1005a08a
mov eax, dword [esi + 0x64]
test eax, eax
js 0x10059f6d
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x10059f6d
mov dword [ecx], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x10059f93
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x10059f93
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x10059fb9
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x10059fb9
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x10059fdf
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x10059fdf
mov dword [esi + 0x340], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1005a005
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1005a005
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1005a02b
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1005a02b
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1005a051
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1005a051
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1ac4], 3
cmp byte [esi + 0xf8], 0
je 0x1005a064
mov dword [esi + 0x334], 0x3f800000
cmp byte [esi + 0xf9], 0
je 0x1005a077
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfa], 0
je 0x1005a08a
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1448]
mov eax, dword [esi + 0x1498]
lea ecx, [esi + 0x1448]
movss xmm2, dword [0x1016af10]
movups xmmword [esi + 0x149c], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14dc], xmm0
mov dword [esi + 0x14ec], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x114c]
comiss xmm0, xmm1
jbe 0x1005a105
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1005a0fe
movaps xmm0, xmm1
jmp 0x1005a108
addss xmm0, dword [esi + 0x18]
jmp 0x1005a108
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1005a0e3
mov edx, dword [esi + 0x1b04]
test edx, edx
je 0x1005a1b9
cmp byte [esi + 0x1afe], al
je 0x1005a13e
cmp byte [esi + 0x1b02], al
je 0x1005a1b9
mov ecx, dword [esi + 0x1af4]
jmp 0x1005a14d
cmp byte [esi + 0x1b02], 0
mov ecx, dword [esi + 0x1af4]
je 0x1005a189
mov eax, dword [esi + 0x1a9c]
mov dword [esi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
add ecx, ecx
mov eax, dword [esi + 0x1a9c]
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
mov word [esi + 0x1afd], 1
mov byte [esi + 0x1aff], 1
jmp 0x1005a19c
mov eax, dword [esi + 0x1a9c]
mov dword [esi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
mov ecx, dword [esi + 0x1af4]
mov eax, dword [esi + 0x1a9c]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
cmp byte [esi + 0x1b19], 0
mov word [esi + 0x1b01], 0
mov dword [esi + 0x1b04], 0
mov dword [esi + 0x1ab8], 0
je 0x1005a1e4
call fcn.1005adc0
cmp dword [esi + 0x1b20], 2
jne 0x1005a210
cmp dword [esi + 0x1b30], 0
jne 0x1005a206
cmp dword [esi + 0x1b80], 0
jne 0x1005a206
mov byte [esi + 0x1afe], 0
mov dword [esi + 0x1b20], 0
cmp byte [esi + 0x1afd], 0
je 0x1005a288
cmp byte [esi + 0x1afc], 0
je 0x1005a288
test byte [esi + 8], 4
je 0x1005a281
test byte [esi + 0xc], 4
je 0x1005a281
cmp byte [esi + 0x1afe], 0
jne 0x1005a281
cmp byte [esi + 0x1aff], 0
je 0x1005a281
cmp dword [esi + 0x1a9c], 0
je 0x1005a281
lea ecx, [ebp - 0x18]
call fcn.10059ae0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x378], xmm0
movss dword [esi + 0x37c], xmm1
movss dword [esi + 0xe0], xmm0
movss dword [esi + 0xe4], xmm1
mov byte [esi + 0x353], 1
mov byte [esi + 0x1afd], 0
mov edx, dword [esi + 0x1a9c]
mov byte [esi + 0x1afc], 0
mov dword [esi + 0x1ab4], 0
test edx, edx
je 0x1005a2d5
mov ecx, edx
nop word [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1005a2cb
mov ecx, dword [ecx + 0x2ec]
test ecx, ecx
jne 0x1005a2b0
jmp 0x1005a2d5
cmp ecx, edx
je 0x1005a2d5
mov dword [ecx + 0x2fc], edx
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1005a2fb
cmp dword [eax + 0x2fc], 0
je 0x1005a2fb
cmp dword [esi + 0x1af4], 0
jne 0x1005a2fb
mov dword [eax + 0x2fc], 0
call fcn.1005b5b0
cmp byte [ebp - 2], 0
jne 0x1005a30c
cmp byte [ebp - 1], 0
je 0x1005a378
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1005a378
test dword [eax + 8], 0x40000
jne 0x1005a378
cmp dword [esi + 0x1aa0], 0
mov byte [esi + 0x355], 1
je 0x1005a37f
cmp byte [esi + 0x1afe], 0
jne 0x1005a37f
mov al, 1
mov edx, 1
mov byte [esi + 0x356], al
mov ecx, edx
call fcn.10059c10
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1005a4e1
cmp dword [esi + 0x19ac], 0
je 0x1005a38c
test byte [esi + 0x19c8], 2
jne 0x1005a4e1
call fcn.1004f980
jmp 0x1005a4e1
mov byte [esi + 0x355], 0
cmp dword [esi + 0x1adc], 0
jne 0x1005a338
xor al, al
jmp 0x1005a33a
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1005a3f2
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005a3f2
mov ecx, dword [edi + 0x2ec]
test ecx, ecx
je 0x1005a3f2
call fcn.10057690
mov edx, dword [0x10256160]
xorps xmm6, xmm6
mov ecx, dword [edi + 0x54]
mov eax, dword [edx + 0x1a9c]
mov dword [edx + 0x1aa0], ecx
mov dword [eax + 0x300], ecx
cmp byte [esi + 0x1aff], 0
mov byte [esi + 0x1afc], 0
je 0x1005a4e7
mov byte [esi + 0x1afd], 1
jmp 0x1005a4e7
mov edx, dword [esi + 0x1a18]
test edx, edx
jle 0x1005a4a6
mov eax, dword [esi + 0x1a20]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1005a4e1
lea ecx, [edx - 1]
mov edx, dword [0x10256160]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, dword [edx + 0x1a20]
test ecx, ecx
jle 0x1005a43c
lea eax, [ecx + ecx*8]
mov edi, dword [edi + eax*4 - 0x20]
jmp 0x1005a43f
mov edi, dword [edi + 8]
mov eax, dword [edx + 0x1a1c]
cmp ecx, eax
jle 0x1005a480
test eax, eax
je 0x1005a45f
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 8]
sar edx, 1
add edx, dword [eax + 0x1a1c]
jmp 0x1005a464
mov edx, 8
mov eax, ecx
cmp edx, ecx
mov ecx, dword [ebp - 8]
cmovg eax, edx
push eax
lea ecx, [ecx + 0x1a18]
call fcn.1005de90
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1a18], ecx
cmp dword [edx + 0x1af4], 0
jne 0x1005a49a
mov eax, dword [edi + 0x2fc]
test eax, eax
cmovne edi, eax
mov ecx, edi
call fcn.10057690
xorps xmm6, xmm6
jmp 0x1005a4e1
cmp dword [esi + 0x1af4], 0
je 0x1005a4b8
xor ecx, ecx
call fcn.10059a10
jmp 0x1005a4e1
test edi, edi
je 0x1005a4d7
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1005a4cd
test eax, 0x1000000
jne 0x1005a4d7
mov dword [edi + 0x300], 0
mov dword [esi + 0x1aa0], 0
mov edx, dword [0x10256160]
mov edi, dword [esi + 0x1aa0]
mov dword [esi + 0x1ab0], 0
mov dword [esi + 0x1aac], 0
mov dword [esi + 0x1aa8], 0
mov dword [esi + 0x1aa4], 0
test edi, edi
je 0x1005a5ec
cmp byte [esi + 0x1afe], 0
jne 0x1005a5ec
cmp dword [esi + 0x1adc], 0
jne 0x1005a5ec
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1005a5ec
test dword [eax + 8], 0x40000
jne 0x1005a5ec
movss xmm0, dword [edx + 0x2fc]
comiss xmm0, xmm6
seta al
mov byte [ebp - 1], al
test al, al
je 0x1005a578
mov edx, 1
xor ecx, ecx
call fcn.10059c10
comiss xmm0, xmm6
ja 0x1005a57a
xor dl, dl
mov ecx, dword [esi + 0x19ac]
test ecx, ecx
jne 0x1005a590
test dl, dl
je 0x1005a594
mov dword [esi + 0x1aa4], edi
jmp 0x1005a594
cmp ecx, edi
jne 0x1005a5aa
cmp byte [ebp - 1], 0
je 0x1005a5a6
mov eax, dword [esi + 0x1aa0]
mov dword [esi + 0x1aa8], eax
test ecx, ecx
je 0x1005a5b2
cmp ecx, dword [esi + 0x1aa0]
jne 0x1005a5ec
test dl, dl
je 0x1005a5c2
mov eax, dword [esi + 0x1aa0]
mov dword [esi + 0x1aac], eax
test ecx, ecx
je 0x1005a5ce
cmp ecx, dword [esi + 0x1aa0]
jne 0x1005a5ec
mov edx, 1
lea ecx, [edx + 1]
call fcn.10059c10
comiss xmm0, xmm6
jbe 0x1005a5ec
mov eax, dword [esi + 0x1aa0]
mov dword [esi + 0x1ab0], eax
mov ecx, dword [esi + 0x1a9c]
test ecx, ecx
je 0x1005a606
test dword [ecx + 8], 0x40000
je 0x1005a606
mov byte [esi + 0x1afe], 1
mov eax, dword [esi + 0x1ac0]
mov byte [esi + 0x1b19], 0
test eax, eax
je 0x1005a62f
mov dword [esi + 0x1ab0], eax
mov dword [esi + 0x1aac], eax
mov dword [esi + 0x1aa8], eax
mov dword [esi + 0x1aa4], eax
cmp dword [esi + 0x19ac], 0
mov dword [esi + 0x1ac0], 0
jne 0x1005a647
or eax, 0xffffffff
jmp 0x1005a64d
mov eax, dword [esi + 0x19c4]
cmp dword [esi + 0x1b20], 0
mov dword [ebp - 8], eax
jne 0x1005a786
or edi, 0xffffffff
mov dword [esi + 0x1b24], 0xffffffff
mov dword [esi + 0x1b1c], 0
test ecx, ecx
je 0x1005a77e
or edi, edi
cmp dword [esi + 0x1adc], 0
jne 0x1005a77e
or edi, 0xffffffff
test eax, eax
je 0x1005a77e
mov eax, dword [esi + 0x1a9c]
or edi, edi
test dword [eax + 8], 0x40000
jne 0x1005a77e
mov eax, dword [ebp - 8]
or edi, 0xffffffff
test al, 1
je 0x1005a6e7
mov edx, 3
or edi, edi
lea ecx, [edx + 0xe]
call fcn.10059c10
lea ecx, [edx + 1]
movaps xmm5, xmm0
call fcn.10059c10
mov eax, dword [ebp - 8]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1005a6e7
mov dword [esi + 0x1b24], 0
xor edi, edi
test al, 2
je 0x1005a71c
mov edx, 3
lea ecx, [edx + 0xf]
call fcn.10059c10
lea ecx, [edx + 2]
movaps xmm5, xmm0
call fcn.10059c10
mov eax, dword [ebp - 8]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1005a71c
mov dword [esi + 0x1b24], 1
lea edi, [edx - 2]
test al, 4
je 0x1005a751
mov edx, 3
lea ecx, [edx + 0x10]
call fcn.10059c10
lea ecx, [edx + 3]
movaps xmm5, xmm0
call fcn.10059c10
mov eax, dword [ebp - 8]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1005a751
mov dword [esi + 0x1b24], 2
lea edi, [edx - 1]
test al, 8
je 0x1005a77e
mov edx, 3
lea ecx, [edx + 0x11]
call fcn.10059c10
lea ecx, [edx + 4]
movaps xmm5, xmm0
call fcn.10059c10
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1005a77e
mov dword [esi + 0x1b24], edx
mov edi, edx
mov dword [esi + 0x1b2c], edi
jmp 0x1005a790
mov dword [esi + 0x1b20], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
je 0x1005a7ab
mov ecx, dword [ebp - 8]
call fcn.1005b110
movss dword [ebp - 0xc], xmm0
mov eax, dword [esi + 0x1b24]
cmp eax, 0xffffffff
je 0x1005a7c3
mov byte [esi + 0x1b19], 1
mov dword [esi + 0x1b28], eax
cmp byte [esi + 0x1b19], 0
je 0x1005a7ef
cmp dword [esi + 0x1aa0], 0
jne 0x1005a7ef
mov word [esi + 0x1b01], 0x101
mov dword [esi + 0x1b04], 0
mov byte [esi + 0x1afe], 0
mov ecx, dword [0x10256160]
cmp byte [ecx + 0x1b19], 0
jne 0x1005a80b
cmp byte [ecx + 0x1b01], 0
jne 0x1005a80b
xor al, al
jmp 0x1005a80d
mov al, 1
movss xmm2, dword [0x1016a500]
mov byte [ecx + 0x1b00], al
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1005aa50
test dword [edi + 8], 0x40000
jne 0x1005aa50
cmp dword [esi + 0x1adc], 0
jne 0x1005aa50
cmp dword [edi + 0x13c], 0
movss xmm0, dword [ecx + 0x18b0]
mulss xmm0, dword [edi + 0x26c]
mulss xmm0, dword [0x1016ae04]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [ebp - 8], xmm3
jne 0x1005a942
cmp byte [edi + 0x145], 0
je 0x1005a942
cmp byte [esi + 0x1b19], 0
je 0x1005a942
mov eax, dword [esi + 0x1b24]
test eax, eax
je 0x1005a8b4
cmp eax, 1
jne 0x1005a8ee
movss xmm2, dword [0x1016a544]
jmp 0x1005a8bc
movss xmm2, dword [0x1016af10]
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm2, xmm3
addss xmm2, dword [edi + 0x58]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 2
je 0x1005a908
cmp eax, 3
jne 0x1005a942
movss xmm2, dword [0x1016a544]
jmp 0x1005a910
movss xmm2, dword [0x1016af10]
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm2, xmm3
addss xmm2, dword [edi + 0x5c]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
xor edx, edx
lea ecx, [edx + 9]
call fcn.10059c10
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.10059c10
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm6
call fcn.10059c10
lea ecx, [edx + 0xa]
movaps xmm5, xmm0
call fcn.10059c10
mov ecx, dword [0x10256160]
subss xmm5, xmm0
movss xmm1, dword [ecx + 0x334]
comiss xmm1, xmm6
addss xmm5, xmm6
jbe 0x1005a99d
mulss xmm7, dword [0x1016a4b8]
mulss xmm5, dword [0x1016a4b8]
movss xmm0, dword [ecx + 0x338]
comiss xmm0, xmm6
jbe 0x1005a9ba
mulss xmm7, dword [0x1016a960]
mulss xmm5, dword [0x1016a960]
movss xmm2, dword [ebp - 8]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jnp 0x1005aa06
cmp byte [edi + 0x78], dl
je 0x1005aa06
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm7, xmm2
addss xmm7, dword [edi + 0x58]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov byte [esi + 0x1b18], 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1005aa48
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm5, xmm2
addss xmm5, dword [edi + 0x5c]
cvttss2si eax, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
mov byte [esi + 0x1b18], 1
movss xmm2, dword [0x1016a500]
movaps xmm0, xmmword [0x1016b500]
mov dword [esi + 0x1b34], 0
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b44], 0x7f7fffff
mov dword [esi + 0x1b40], 0x7f7fffff
mov dword [esi + 0x1b3c], 0x7f7fffff
movups xmmword [esi + 0x1b48], xmm0
mov dword [esi + 0x1b5c], 0
mov dword [esi + 0x1b58], 0
mov dword [esi + 0x1b60], 0
mov dword [esi + 0x1b6c], 0x7f7fffff
mov dword [esi + 0x1b68], 0x7f7fffff
mov dword [esi + 0x1b64], 0x7f7fffff
movups xmmword [esi + 0x1b70], xmm0
mov dword [esi + 0x1b84], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b88], 0
mov dword [esi + 0x1b94], 0x7f7fffff
mov dword [esi + 0x1b90], 0x7f7fffff
mov dword [esi + 0x1b8c], 0x7f7fffff
movups xmmword [esi + 0x1b98], xmm0
cmp byte [esi + 0x1b19], 0
je 0x1005ac8c
cmp byte [esi + 0x1b18], 0
je 0x1005ac8c
mov edx, dword [esi + 0x1af4]
test edx, edx
jne 0x1005ac8c
mov eax, dword [esi + 0x1a9c]
movss xmm4, dword [0x1016a544]
movss xmm5, dword [eax + 0x1f4]
movss xmm7, dword [eax + 0x1f8]
movss xmm3, dword [eax + 0x1ec]
subss xmm5, dword [eax + 0xc]
subss xmm7, dword [eax + 0x10]
subss xmm3, dword [eax + 0xc]
movss xmm0, dword [eax + 0x308]
movss dword [ebp - 0x14], xmm0
addss xmm5, xmm4
addss xmm7, xmm4
subss xmm3, xmm4
movss xmm4, dword [eax + 0x1f0]
subss xmm4, dword [eax + 0x10]
comiss xmm0, xmm3
subss xmm4, dword [0x1016a544]
movss dword [ebp - 8], xmm3
jb 0x1005abd8
movss xmm0, dword [eax + 0x30c]
comiss xmm0, xmm4
jb 0x1005abd8
comiss xmm5, dword [eax + 0x310]
jb 0x1005abd8
comiss xmm7, dword [eax + 0x314]
jae 0x1005ac85
movss xmm1, dword [ecx + 0x18b0]
add edx, edx
mulss xmm1, dword [eax + 0x26c]
movss xmm0, dword [ebp - 8]
mulss xmm1, xmm2
movaps xmm2, xmm5
subss xmm2, xmm3
movaps xmm3, xmm7
subss xmm3, xmm4
minss xmm2, xmm1
minss xmm3, xmm1
movss xmm1, dword [ebp - 0x14]
xorps xmm2, xmmword [0x1016b4c0]
xorps xmm3, xmmword [0x1016b4c0]
subss xmm0, xmm2
subss xmm4, xmm3
addss xmm2, xmm5
addss xmm3, xmm7
maxss xmm1, xmm0
movss xmm0, dword [eax + edx*8 + 0x30c]
maxss xmm0, xmm4
movss dword [eax + edx*8 + 0x308], xmm1
movss dword [eax + edx*8 + 0x30c], xmm0
movss xmm1, dword [eax + edx*8 + 0x310]
movss xmm0, dword [eax + edx*8 + 0x314]
minss xmm1, xmm2
minss xmm0, xmm3
movss dword [eax + edx*8 + 0x310], xmm1
movss dword [eax + edx*8 + 0x314], xmm0
mov dword [esi + 0x1aa0], 0
mov byte [esi + 0x1b18], 0
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1005acdc
mov edx, dword [esi + 0x1af4]
add edx, edx
movss xmm0, dword [eax + edx*8 + 0x308]
comiss xmm0, dword [eax + edx*8 + 0x310]
ja 0x1005acdc
movss xmm0, dword [eax + edx*8 + 0x30c]
comiss xmm0, dword [eax + edx*8 + 0x314]
ja 0x1005acdc
movups xmm0, xmmword [eax + edx*8 + 0x308]
movups xmmword [ebp - 0x20], xmm0
movss xmm6, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x20]
jmp 0x1005acf1
mov dword [ebp - 0x1c], 0
xorps xmm3, xmm3
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1005ad25
movss xmm2, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x1c]
addss xmm6, dword [eax + 0xc]
addss xmm2, dword [eax + 0x10]
addss xmm3, dword [eax + 0xc]
addss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm0
jmp 0x1005ad47
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ecx + 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1ac8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1acc]
addss xmm1, dword [esi + 0x1ad4]
movss dword [esi + 0x1acc], xmm0
movss dword [esi + 0x1ad4], xmm1
movss xmm0, dword [esi + 0x1ac8]
addss xmm0, dword [0x1016a544]
mov dword [esi + 0x1ad8], 0
minss xmm0, dword [esi + 0x1ad0]
movss dword [esi + 0x1ac8], xmm0
movss dword [esi + 0x1ad0], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret