Function at 0x1005a1a0
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, 0x38
push esi
mov esi, dword [0x1014dbf4]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x35b], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x1005a229
test byte [esi + 0xc], 1
je 0x1005a229
movss xmm0, dword [esi + 0x304]
lea ecx, [esi + 0x304]
xorps xmm1, xmm1
mov byte [ebp - 1], 1
comiss xmm0, xmm1
ja 0x1005a21d
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x1005a21d
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x1005a21d
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x1005a236
mov dword [esi + 0x1af8], 4
jmp 0x1005a236
mov byte [ebp - 1], 0
lea ecx, [esi + 0x304]
xorps xmm1, xmm1
test al, al
je 0x1005a382
mov eax, dword [esi + 0x64]
test eax, eax
js 0x1005a260
mov al, byte [esi + eax + 0x104]
test al, al
je 0x1005a260
mov dword [ecx], 0x3f800000
mov dword [esi + 0x1af8], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x1005a286
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1005a286
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1af8], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1005a2ac
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1005a2ac
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1af8], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x1005a2d2
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1005a2d2
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1af8], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1005a2f8
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1005a2f8
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1af8], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1005a31e
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1005a31e
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1af8], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1005a344
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1005a344
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1af8], 3
mov al, byte [esi + 0x100]
test al, al
je 0x1005a358
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x1005a36b
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x1005a382
test al, al
jne 0x1005a382
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x1012d994]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14dc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14ec], xmm0
mov dword [esi + 0x14fc], eax
mov eax, 0x15
nop dword [eax + eax]
movss xmm0, dword [ecx - 0x1154]
comiss xmm0, xmm1
jbe 0x1005a402
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1005a3fb
movaps xmm0, xmm1
jmp 0x1005a405
addss xmm0, dword [esi + 0x18]
jmp 0x1005a405
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1005a3e0
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x1005a49b
cmp byte [esi + 0x1b32], 0
je 0x1005a431
cmp byte [esi + 0x1b36], 0
je 0x1005a49b
mov edx, dword [esi + 0x1ad0]
test edx, edx
je 0x1005a49b
mov ecx, dword [esi + 0x1b28]
cmp byte [esi + 0x1b36], 0
mov dword [esi + 0x1ad4], eax
mov dword [edx + ecx*4 + 0x304], eax
je 0x1005a47e
mov eax, dword [esi + 0x1ad0]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b3c]
movups xmmword [eax + ecx*8 + 0x30c], xmm0
mov word [esi + 0x1b31], 1
mov byte [esi + 0x1b33], 1
mov ecx, dword [esi + 0x1b28]
mov eax, dword [esi + 0x1ad0]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b3c]
movups xmmword [eax + ecx*8 + 0x30c], xmm0
cmp byte [esi + 0x1b4d], 0
mov word [esi + 0x1b35], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1aec], 0
je 0x1005a4c6
call fcn.1005b0b0
cmp dword [esi + 0x1b54], 2
jne 0x1005a4f2
cmp dword [esi + 0x1b64], 0
jne 0x1005a4e8
cmp dword [esi + 0x1bb4], 0
jne 0x1005a4e8
mov byte [esi + 0x1b32], 0
mov dword [esi + 0x1b54], 0
cmp byte [esi + 0x1b31], 0
je 0x1005a56a
cmp byte [esi + 0x1b30], 0
je 0x1005a56a
test byte [esi + 8], 4
je 0x1005a563
test byte [esi + 0xc], 4
je 0x1005a563
cmp byte [esi + 0x1b32], 0
jne 0x1005a563
cmp byte [esi + 0x1b33], 0
je 0x1005a563
cmp dword [esi + 0x1ad0], 0
je 0x1005a563
lea ecx, [ebp - 0x14]
call fcn.10059f00
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x380], xmm0
movss dword [esi + 0x384], xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
mov byte [esi + 0x35b], 1
mov byte [esi + 0x1b31], 0
mov edx, dword [esi + 0x1ad0]
mov byte [esi + 0x1b30], 0
mov dword [esi + 0x1ae8], 0
test edx, edx
je 0x1005a5b5
mov ecx, edx
nop word [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1005a5ab
mov ecx, dword [ecx + 0x2f0]
test ecx, ecx
jne 0x1005a590
jmp 0x1005a5b5
cmp ecx, edx
je 0x1005a5b5
mov dword [ecx + 0x300], edx
mov eax, dword [esi + 0x1ad0]
test eax, eax
je 0x1005a5db
cmp dword [eax + 0x300], 0
je 0x1005a5db
cmp dword [esi + 0x1b28], 0
jne 0x1005a5db
mov dword [eax + 0x300], 0
call fcn.1005b700
cmp byte [ebp - 2], 0
jne 0x1005a5ec
cmp byte [ebp - 1], 0
je 0x1005a661
mov eax, dword [esi + 0x1ad0]
test eax, eax
je 0x1005a661
test dword [eax + 8], 0x40000
jne 0x1005a661
cmp dword [esi + 0x1ad4], 0
mov byte [esi + 0x35d], 1
je 0x1005a668
cmp byte [esi + 0x1b32], 0
jne 0x1005a668
mov al, 1
mov edx, 1
mov byte [esi + 0x35e], al
mov ecx, edx
call fcn.1005a020
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x1005a7af
cmp dword [esi + 0x19e4], 0
je 0x1005a675
mov edi, dword [0x1014dbf4]
mov eax, dword [edi + 0x19fc]
shr eax, 1
test dl, al
jne 0x1005a7b5
call fcn.10050530
jmp 0x1005a7b5
mov byte [esi + 0x35d], 0
cmp dword [esi + 0x1b10], 0
jne 0x1005a618
xor al, al
jmp 0x1005a61a
mov edi, dword [esi + 0x1ad0]
test edi, edi
je 0x1005a6db
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005a6db
mov ecx, dword [edi + 0x2f0]
test ecx, ecx
je 0x1005a6db
call fcn.10058270
mov ecx, dword [edi + 0x4c]
xorps xmm5, xmm5
mov edi, dword [0x1014dbf4]
mov eax, dword [edi + 0x1ad0]
mov dword [edi + 0x1ad4], ecx
mov dword [eax + 0x304], ecx
cmp byte [esi + 0x1b33], 0
mov byte [esi + 0x1b30], 0
je 0x1005a7b5
mov byte [esi + 0x1b31], 1
jmp 0x1005a7b5
mov edx, dword [esi + 0x1ab8]
test edx, edx
jle 0x1005a711
mov eax, dword [esi + 0x1ac0]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1005a7af
lea ecx, [edx - 1]
mov dl, 1
call fcn.10058f00
xorps xmm5, xmm5
jmp 0x1005a7af
cmp dword [esi + 0x1b28], 0
je 0x1005a786
mov edi, dword [0x1014dbf4]
mov ecx, dword [edi + 0x1ad0]
mov dword [edi + 0x1b28], 0
mov eax, dword [ecx + 0x300]
test eax, eax
cmovne ecx, eax
mov dword [edi + 0x1ad0], ecx
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x1005a77d
mov dword [edi + 0x1ad4], eax
mov dword [ecx + 0x304], eax
movups xmm0, xmmword [ecx + 0x30c]
mov eax, dword [edi + 0x1ad0]
movups xmmword [eax + 0x30c], xmm0
mov word [edi + 0x1b31], 1
mov byte [edi + 0x1b33], 1
jmp 0x1005a7b5
mov dl, 1
call fcn.10059e30
jmp 0x1005a7b5
test edi, edi
je 0x1005a7a5
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1005a79b
test eax, 0x1000000
jne 0x1005a7a5
mov dword [edi + 0x304], 0
mov dword [esi + 0x1ad4], 0
mov edi, dword [0x1014dbf4]
cmp dword [esi + 0x1ad4], 0
mov dword [esi + 0x1ae4], 0
mov dword [esi + 0x1ae0], 0
mov dword [esi + 0x1adc], 0
mov dword [esi + 0x1ad8], 0
je 0x1005a8c3
cmp byte [esi + 0x1b32], 0
jne 0x1005a8c3
cmp dword [esi + 0x1b10], 0
jne 0x1005a8c3
mov eax, dword [esi + 0x1ad0]
test eax, eax
je 0x1005a8c3
test dword [eax + 8], 0x40000
jne 0x1005a8c3
movss xmm0, dword [edi + 0x304]
comiss xmm0, xmm5
seta al
mov byte [ebp - 1], al
test al, al
je 0x1005a845
mov edx, 1
xor ecx, ecx
call fcn.1005a020
comiss xmm0, xmm5
ja 0x1005a847
xor dl, dl
mov ecx, dword [esi + 0x19e4]
test ecx, ecx
jne 0x1005a863
test dl, dl
je 0x1005a86b
mov eax, dword [esi + 0x1ad4]
mov dword [esi + 0x1ad8], eax
jmp 0x1005a86b
cmp ecx, dword [esi + 0x1ad4]
jne 0x1005a8c3
cmp byte [ebp - 1], 0
je 0x1005a87d
mov eax, dword [esi + 0x1ad4]
mov dword [esi + 0x1adc], eax
test ecx, ecx
je 0x1005a889
cmp ecx, dword [esi + 0x1ad4]
jne 0x1005a8c3
test dl, dl
je 0x1005a899
mov eax, dword [esi + 0x1ad4]
mov dword [esi + 0x1ae0], eax
test ecx, ecx
je 0x1005a8a5
cmp ecx, dword [esi + 0x1ad4]
jne 0x1005a8c3
mov edx, 1
lea ecx, [edx + 1]
call fcn.1005a020
comiss xmm0, xmm5
jbe 0x1005a8c3
mov eax, dword [esi + 0x1ad4]
mov dword [esi + 0x1ae4], eax
mov ecx, dword [esi + 0x1ad0]
test ecx, ecx
je 0x1005a8dd
test dword [ecx + 8], 0x40000
je 0x1005a8dd
mov byte [esi + 0x1b32], 1
mov eax, dword [esi + 0x1af4]
mov byte [esi + 0x1b4d], 0
test eax, eax
je 0x1005a906
mov dword [esi + 0x1ae4], eax
mov dword [esi + 0x1ae0], eax
mov dword [esi + 0x1adc], eax
mov dword [esi + 0x1ad8], eax
cmp dword [esi + 0x1b54], 0
mov dword [esi + 0x1af4], 0
jne 0x1005aa75
or eax, 0xffffffff
mov dword [esi + 0x1b58], 0xffffffff
mov dword [esi + 0x1b50], 0
test ecx, ecx
je 0x1005aa6d
or eax, eax
cmp dword [esi + 0x1b10], 0
jne 0x1005aa6d
or eax, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x1005aa6d
test byte [edi + 0x19f8], 1
mov dword [ebp - 8], eax
jne 0x1005a99c
lea edx, [eax + 4]
lea ecx, [eax + 5]
call fcn.1005a020
comiss xmm5, xmm0
jb 0x1005a98b
lea ecx, [edx + 0xe]
mov dword [ebp - 8], 0xffffffff
call fcn.1005a020
comiss xmm0, xmm5
jbe 0x1005a99c
mov dword [esi + 0x1b58], 0
mov dword [ebp - 8], 0
mov eax, dword [edi + 0x19f8]
shr eax, 1
test al, 1
jne 0x1005a9de
mov edx, 3
lea ecx, [edx + 2]
call fcn.1005a020
comiss xmm5, xmm0
jb 0x1005a9cd
mov eax, dword [ebp - 8]
lea ecx, [edx + 0xf]
mov dword [ebp - 8], eax
call fcn.1005a020
comiss xmm0, xmm5
jbe 0x1005a9de
mov dword [esi + 0x1b58], 1
mov dword [ebp - 8], 1
mov eax, dword [edi + 0x19f8]
shr eax, 2
test al, 1
jne 0x1005aa21
mov edx, 3
lea ecx, [edx + 3]
call fcn.1005a020
comiss xmm5, xmm0
jb 0x1005aa10
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x10]
mov dword [ebp - 8], eax
call fcn.1005a020
comiss xmm0, xmm5
jbe 0x1005aa21
mov dword [esi + 0x1b58], 2
mov dword [ebp - 8], 2
mov eax, dword [edi + 0x19f8]
shr eax, 3
test al, 1
jne 0x1005aa6a
mov edx, 3
lea ecx, [edx + 4]
call fcn.1005a020
comiss xmm5, xmm0
jb 0x1005aa53
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x11]
mov dword [ebp - 8], eax
call fcn.1005a020
comiss xmm0, xmm5
jbe 0x1005aa6a
mov eax, 3
mov dword [esi + 0x1b58], 3
mov dword [esi + 0x1b60], eax
jmp 0x1005aa7f
mov eax, dword [ebp - 8]
mov dword [esi + 0x1b60], eax
jmp 0x1005aa7f
mov dword [esi + 0x1b54], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
je 0x1005aa9a
call fcn.1005b2c0
movss dword [ebp - 0x10], xmm0
xorps xmm5, xmm5
mov eax, dword [esi + 0x1b58]
cmp eax, 0xffffffff
je 0x1005aab2
mov byte [esi + 0x1b4d], 1
mov dword [esi + 0x1b5c], eax
cmp byte [esi + 0x1b4d], 0
je 0x1005aade
cmp dword [esi + 0x1ad4], 0
jne 0x1005aade
mov word [esi + 0x1b35], 0x101
mov dword [esi + 0x1b38], 0
mov byte [esi + 0x1b32], 0
cmp byte [edi + 0x1b4d], 0
jne 0x1005aaf4
cmp byte [edi + 0x1b35], 0
jne 0x1005aaf4
xor al, al
jmp 0x1005aaf6
mov al, 1
movss xmm7, dword [0x1012d64c]
mov byte [edi + 0x1b34], al
mov ecx, dword [esi + 0x1ad0]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1005acf3
test dword [ecx + 8], 0x40000
jne 0x1005acf3
cmp dword [esi + 0x1b10], 0
jne 0x1005acf3
movss xmm0, dword [edi + 0x18c8]
mov eax, dword [ecx + 0x2f0]
mulss xmm0, dword [ecx + 0x26c]
test eax, eax
je 0x1005ab51
mulss xmm0, dword [eax + 0x26c]
cmp dword [ecx + 0x138], 0
mulss xmm0, dword [0x1012d874]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x1005ac1c
cmp byte [ecx + 0x141], 0
je 0x1005ac1c
cmp byte [esi + 0x1b4d], 0
je 0x1005ac1c
mov eax, dword [esi + 0x1b58]
test eax, eax
je 0x1005abb2
cmp eax, 1
jne 0x1005abda
movss xmm0, dword [0x1012d6b4]
jmp 0x1005abba
movss xmm0, dword [0x1012d994]
mulss xmm0, xmm1
mov dword [ecx + 0x68], 0
addss xmm0, dword [ecx + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x60], xmm0
mov eax, dword [esi + 0x1b58]
cmp eax, 2
je 0x1005abf4
cmp eax, 3
jne 0x1005ac1c
movss xmm0, dword [0x1012d6b4]
jmp 0x1005abfc
movss xmm0, dword [0x1012d994]
mulss xmm0, xmm1
mov dword [ecx + 0x6c], 0
addss xmm0, dword [ecx + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x64], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.1005a020
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.1005a020
lea ecx, [edx + 0xb]
subss xmm7, xmm0
call fcn.1005a020
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.1005a020
movss xmm1, dword [edi + 0x33c]
subss xmm6, xmm0
comiss xmm1, xmm5
jbe 0x1005ac69
mulss xmm7, dword [0x1012d5dc]
mulss xmm6, dword [0x1012d5dc]
movss xmm0, dword [edi + 0x340]
comiss xmm0, xmm5
jbe 0x1005ac86
mulss xmm7, dword [0x1012d7b0]
mulss xmm6, dword [0x1012d7b0]
mov ecx, dword [ebp - 0xc]
movss xmm1, dword [ebp - 8]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x1005acbf
cmp byte [ecx + 0x78], dl
je 0x1005acbf
mulss xmm7, xmm1
mov dword [ecx + 0x68], edx
addss xmm7, dword [ecx + 0x50]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x60], xmm0
mov byte [esi + 0x1b4c], 1
movss xmm7, dword [0x1012d64c]
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x1005acf3
mulss xmm6, xmm1
mov dword [ecx + 0x6c], edx
addss xmm6, dword [ecx + 0x54]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x64], xmm0
mov byte [esi + 0x1b4c], 1
mov dword [esi + 0x1b68], 0
mov dword [esi + 0x1b64], 0
mov dword [esi + 0x1b6c], 0
mov dword [esi + 0x1b78], 0x7f7fffff
mov dword [esi + 0x1b74], 0x7f7fffff
mov dword [esi + 0x1b70], 0x7f7fffff
mov dword [esi + 0x1b7c], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b84], 0
mov dword [esi + 0x1b88], 0
mov dword [esi + 0x1b90], 0
mov dword [esi + 0x1b8c], 0
mov dword [esi + 0x1b94], 0
mov dword [esi + 0x1ba0], 0x7f7fffff
mov dword [esi + 0x1b9c], 0x7f7fffff
mov dword [esi + 0x1b98], 0x7f7fffff
mov dword [esi + 0x1ba4], 0
mov dword [esi + 0x1ba8], 0
mov dword [esi + 0x1bac], 0
mov dword [esi + 0x1bb0], 0
mov dword [esi + 0x1bb8], 0
mov dword [esi + 0x1bb4], 0
mov dword [esi + 0x1bbc], 0
mov dword [esi + 0x1bc8], 0x7f7fffff
mov dword [esi + 0x1bc4], 0x7f7fffff
mov dword [esi + 0x1bc0], 0x7f7fffff
mov dword [esi + 0x1bcc], 0
mov dword [esi + 0x1bd0], 0
mov dword [esi + 0x1bd4], 0
mov dword [esi + 0x1bd8], 0
cmp byte [esi + 0x1b4d], 0
je 0x1005af76
cmp byte [esi + 0x1b4c], 0
je 0x1005af76
mov ecx, dword [esi + 0x1b28]
test ecx, ecx
jne 0x1005af76
mov eax, dword [esi + 0x1ad0]
movss xmm2, dword [0x1012d6b4]
movss xmm6, dword [eax + 0x1d4]
subss xmm6, dword [eax + 0xc]
movss xmm5, dword [eax + 0x1dc]
movss xmm4, dword [eax + 0x1e0]
movss xmm3, dword [eax + 0x1d8]
subss xmm5, dword [eax + 0xc]
subss xmm4, dword [eax + 0x10]
subss xmm3, dword [eax + 0x10]
movss xmm0, dword [eax + 0x30c]
subss xmm6, xmm2
addss xmm5, xmm2
addss xmm4, xmm2
subss xmm3, xmm2
comiss xmm0, xmm6
jb 0x1005aec9
movss xmm0, dword [eax + 0x310]
comiss xmm0, xmm3
jb 0x1005aec9
comiss xmm5, dword [eax + 0x314]
jb 0x1005aec9
comiss xmm4, dword [eax + 0x318]
jae 0x1005af6f
movss xmm2, dword [edi + 0x18c8]
mov edx, dword [eax + 0x2f0]
mulss xmm2, dword [eax + 0x26c]
test edx, edx
je 0x1005aeeb
mulss xmm2, dword [edx + 0x26c]
movaps xmm1, xmm5
mulss xmm2, xmm7
add ecx, ecx
subss xmm1, xmm6
movaps xmm0, xmm4
subss xmm0, xmm3
minss xmm1, xmm2
minss xmm0, xmm2
xorps xmm1, xmmword [0x1012dba0]
subss xmm6, xmm1
addss xmm3, xmm0
addss xmm1, xmm5
subss xmm4, xmm0
maxss xmm6, dword [eax + 0x30c]
maxss xmm3, dword [eax + ecx*8 + 0x310]
movss dword [eax + ecx*8 + 0x30c], xmm6
movss dword [eax + ecx*8 + 0x310], xmm3
minss xmm1, dword [eax + ecx*8 + 0x314]
minss xmm4, dword [eax + ecx*8 + 0x318]
movss dword [eax + ecx*8 + 0x314], xmm1
movss dword [eax + ecx*8 + 0x318], xmm4
mov dword [esi + 0x1ad4], 0
mov byte [esi + 0x1b4c], 0
mov eax, dword [esi + 0x1ad0]
test eax, eax
je 0x1005afc6
mov ecx, dword [esi + 0x1b28]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x30c]
comiss xmm0, dword [eax + ecx*8 + 0x314]
ja 0x1005afc6
movss xmm0, dword [eax + ecx*8 + 0x310]
comiss xmm0, dword [eax + ecx*8 + 0x318]
ja 0x1005afc6
movups xmm0, xmmword [eax + ecx*8 + 0x30c]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
jmp 0x1005afdb
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x1005b015
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x28]
addss xmm2, dword [ebp - 0x30]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x2c], xmm0
jmp 0x1005b037
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [edi + 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movss dword [ebp - 0x24], xmm0
movss xmm1, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1afc], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1b00]
addss xmm1, dword [esi + 0x1b08]
movss dword [esi + 0x1b00], xmm0
movss dword [esi + 0x1b08], xmm1
movss xmm0, dword [esi + 0x1afc]
addss xmm0, dword [0x1012d6b4]
mov dword [esi + 0x1b0c], 0
minss xmm0, dword [esi + 0x1b04]
movss dword [esi + 0x1afc], xmm0
movss dword [esi + 0x1b04], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret