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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
push esi
push edi
mov edi, edx
mov dword [esp + 0x5c], 1
mov edx, ecx
mov dword [esp + 0x94], edi
sub esp, 0xc
mov dword [esp + 0x90], edx
mov ecx, esp
mov dword [esp + 0x64], 0
mov dword [esp + 0x74], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0xa8], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0xb0], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xb4]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x90], 0
call fcn.10056af0
movss xmm2, dword [esp + 0xf0]
add esp, 0x10
movss xmm3, dword [esp + 0xd0]
xorps xmm7, xmm7
movss xmm5, dword [esp + 0xcc]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0xc4]
movss xmm6, dword [esp + 0xbc]
movss xmm4, dword [esp + 0xb8]
movq qword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xdc]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xc0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x98], 0x46b
mov dword [esp + 0x34], eax
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x3c], xmm6
movss dword [esp + 0x38], xmm4
nop dword [eax]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], ecx
cmp edx, edi
jge case.default.0x100593cf
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x74], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ecx
lea esi, [eax - 1]
mov dword [esp + 0x50], edx
mov dword [esp + 0xc], esi
cmp esi, 0x1e
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
ja case.default.0x100587d1
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + 0x100599c0]
jmp dword [eax*4 + 0x10059970]
cmp dword [esp + 0x5c], edi
je 0x100587f3
mov eax, dword [esp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
add edx, eax
mov dword [esp + 0x58], edx
jmp 0x100587f7
mov edx, dword [esp + 0x58]
lea eax, [edx + 7]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x10]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x10058819
test edx, edx
jns 0x10058de1
mov edx, edi
jmp 0x10058de1
mov eax, dword [esp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add dword [esp + 0x58], eax
jmp 0x10058ddd
cmp dword [esp + 8], 2
mov dword [esp + 0x5c], edi
jl case.default.0x100593cf
mov ecx, esi
call fcn.10058410
mov eax, dword [esp + 8]
movss xmm1, dword [esp + eax*4 + 0xb0]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [esp + eax*4 + 0xb4]
addss xmm0, dword [esi + 0x14]
cmp dword [esi], 0
movss dword [esi + 0x10], xmm1
movss dword [esi + 8], xmm1
movss dword [esi + 0x14], xmm0
movss dword [esi + 0xc], xmm0
cvttss2si edi, xmm0
cvttss2si edx, xmm1
je 0x1005889a
push edi
mov ecx, esi
call fcn.10058310
add esp, 4
jmp 0x100588c1
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov byte [eax + ecx*2 + 0xc], 1
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], di
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
inc dword [esi + 0x2c]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
jmp 0x10058ddd
cmp dword [esp + 8], 1
mov dword [esp + 0x5c], edi
jl case.default.0x100593cf
mov ecx, esi
call fcn.10058410
movss xmm1, dword [esi + 0x10]
mov eax, dword [esp + 8]
addss xmm1, xmm7
jmp 0x1005885e
cmp dword [esp + 8], 1
mov dword [esp + 0x5c], edi
jl case.default.0x100593cf
mov ecx, esi
call fcn.10058410
mov eax, dword [esp + 8]
movss xmm0, dword [esi + 0x14]
addss xmm0, xmm7
movss xmm1, dword [esp + eax*4 + 0xb4]
addss xmm1, dword [esi + 0x10]
jmp 0x1005886c
cmp dword [esp + 8], 2
jl case.default.0x100593cf
mov ecx, dword [esi + 0x2c]
lea edi, [esp + 0xbc]
mov dword [esp + 0x2c], 1
cmp dword [esi], 0
movss xmm1, dword [edi - 4]
movss xmm0, dword [edi]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1005898d
push edx
mov edx, eax
mov ecx, esi
call fcn.10058310
add esp, 4
jmp 0x100589b5
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si esi, xmm1
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [esp + 0x2c]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 8]
jl 0x10058954
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
jmp 0x10058ddd
mov eax, dword [esp + 8]
cmp eax, 1
jl case.default.0x100593cf
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esp + 0x2c], edx
lea edx, [esi + 0x2c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], edx
lea ecx, [esi + 0x28]
jmp 0x10058ac4
cmp dword [esp + 8], 1
jl case.default.0x100593cf
lea eax, [esi + 0x14]
lea ecx, [esi + 0x28]
mov dword [esp + 0x64], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x60], ecx
lea edx, [esi + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], eax
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xb8]
addss xmm1, dword [edx]
movss xmm0, dword [ecx]
addss xmm0, xmm7
movss dword [edx], xmm1
cvttss2si eax, xmm1
movss dword [ecx], xmm0
cvttss2si edx, xmm0
je 0x10058a7d
push edx
mov edx, eax
mov ecx, esi
call fcn.10058310
add esp, 4
jmp 0x10058ab1
mov eax, dword [esp + 0xc]
cvttss2si esi, xmm1
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
inc dword [eax]
inc edi
mov eax, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
cmp edi, eax
jge 0x100588c4
cmp dword [esi], 0
mov eax, dword [esp + 0x64]
movss xmm1, dword [ecx]
movss xmm0, dword [esp + edi*4 + 0xb8]
addss xmm1, xmm7
addss xmm0, dword [eax]
movss dword [ecx], xmm1
cvttss2si ecx, xmm1
movss dword [eax], xmm0
cvttss2si eax, xmm0
je 0x10058b28
mov edx, ecx
mov ecx, esi
push eax
call fcn.10058310
mov edx, dword [esp + 0x7c]
lea ecx, [esi + 0x28]
add esp, 4
mov dword [esp + 0x60], ecx
jmp 0x10058b60
mov eax, dword [edx]
cvttss2si esi, xmm1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov word [eax + ecx*2], si
cvttss2si esi, xmm0
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], si
xor esi, esi
mov dword [eax + ecx*2 + 4], esi
mov dword [eax + ecx*2 + 8], esi
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x60]
inc dword [edx]
inc edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
cmp edi, dword [esp + 8]
jl 0x10058a44
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
jmp 0x10058ddd
cmp dword [esp + 8], 4
jge 0x10058c56
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x100593cf
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp + 0xc], ecx
sub eax, edi
cmp eax, 5
jne 0x10058bd6
movss xmm6, dword [esp + edi*4 + 0xc8]
jmp 0x10058bd9
movaps xmm6, xmm7
movss xmm5, dword [edx]
mov dl, 4
movss xmm4, dword [esp + edi*4 + 0xb8]
addss xmm5, xmm7
addss xmm4, dword [ecx]
mov eax, dword [esp + 0x30]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xbc]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc0]
movaps xmm3, xmm2
addss xmm3, dword [esp + edi*4 + 0xc4]
movaps xmm1, xmm0
addss xmm1, xmm6
movss dword [eax], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax], xmm1
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
add esp, 0x18
add edi, 4
mov ecx, dword [esp + 8]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1005992c
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x10058c79
movss xmm1, dword [esp + edi*4 + 0xc8]
jmp 0x10058c7c
movaps xmm1, xmm7
movss xmm4, dword [esi + 0x14]
lea ecx, [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb8]
addss xmm4, xmm7
addss xmm5, dword [esi + 0x10]
mov dword [esp + 0x48], ecx
mov dl, 4
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc0]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xbc]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0xc8]
push eax
cvttss2si eax, xmm4
movss dword [ecx], xmm1
mov ecx, esi
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x14]
add edi, 4
mov dword [esp + 0x24], eax
add esp, 0x18
lea edx, [esi + 0x10]
mov dword [esp + 0x30], edx
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1005992c
mov eax, ecx
mov ecx, dword [esp + 0x48]
jmp 0x10058bc4
cmp dword [esp + 8], 6
jl case.default.0x100593cf
mov dword [esp + 0xc], 5
lea edi, [esp + 0xbc]
nop dword [eax]
movss xmm4, dword [edi]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [edi - 4]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [edi + 8]
movaps xmm2, xmm5
addss xmm2, dword [edi + 4]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [edi + 0x10]
cvttss2si eax, xmm2
addss xmm3, dword [edi + 0xc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
mov eax, dword [esp + 0x24]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 8]
jl 0x10058d40
mov edx, dword [esp + 0x20]
movss xmm5, dword [esp + 0x28]
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 0x14]
movss xmm4, dword [esp + 0x38]
movss xmm3, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 8]
movss xmm2, dword [esp + 0x7c]
xor eax, eax
cmp dword [esp + 0x74], eax
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
jmp 0x10058780
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x100593cf
add eax, 0xfffffffe
mov dword [esp + 0x30], eax
cmp eax, 5
jle 0x10058ee9
mov dword [esp + 0xc], 5
nop word [eax + eax]
movss xmm4, dword [esp + edi*4 + 0xbc]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xd0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xcc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
mov eax, dword [esp + 0x24]
add edi, 6
add eax, 6
add esp, 0x18
mov ecx, edi
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x30]
jl 0x10058e30
lea eax, [ecx + 1]
cmp eax, dword [esp + 8]
jge case.default.0x100593cf
movss xmm4, dword [esp + 0x38]
movss xmm3, dword [esp + 0x24]
movss xmm5, dword [esp + 0x28]
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xb8]
movss xmm0, dword [esp + edi*4 + 0xbc]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edi, xmm0
cvttss2si edx, xmm1
jne 0x1005888d
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov byte [eax + ecx*2 + 0xc], 2
jmp 0x100588ae
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x100593cf
add eax, 0xfffffffa
mov dword [esp + 0x30], eax
cmp eax, 1
jle 0x10058ff8
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xc], 1
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xb8]
movss xmm0, dword [esp + edi*4 + 0xbc]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x10058fa3
push edx
mov edx, eax
mov ecx, esi
call fcn.10058310
add esp, 4
jmp 0x10058fcb
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si esi, xmm1
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [esp + 0xc]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
mov edx, edi
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x30]
jl 0x10058f61
lea eax, [edx + 5]
cmp eax, dword [esp + 8]
jge case.default.0x100593cf
movss xmm4, dword [esp + edi*4 + 0xbc]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xd0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xcc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
add esp, 0x18
jmp 0x10058dbb
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x100593cf
mov edi, eax
movaps xmm3, xmm7
and edi, 1
je 0x10059097
movaps xmm3, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0xc], ecx
cmp ecx, eax
jge 0x10058dd7
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [esp + edi*4 + 0xc0]
cmp dword [esp + 0x2c], 0x1b
movss xmm6, dword [eax]
movss xmm4, dword [ecx]
movss xmm5, dword [edi]
movss xmm2, dword [edi - 8]
movss xmm1, dword [edi - 4]
movss xmm0, dword [edi + 4]
jne 0x100590f8
addss xmm2, xmm6
addss xmm4, xmm3
addss xmm1, xmm2
movaps xmm3, xmm4
addss xmm3, xmm5
addss xmm0, xmm1
movaps xmm5, xmm0
movaps xmm0, xmm3
addss xmm0, xmm7
jmp 0x10059119
addss xmm6, xmm3
addss xmm4, xmm2
addss xmm1, xmm6
movaps xmm2, xmm6
movaps xmm3, xmm4
addss xmm3, xmm5
movaps xmm5, xmm1
addss xmm5, xmm7
addss xmm0, xmm3
movss dword [eax], xmm5
mov dl, 4
cvttss2si eax, xmm3
movss dword [ecx], xmm0
mov ecx, esi
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm5
push eax
call fcn.10058380
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x10]
add ecx, 4
add esp, 0x18
add edi, 0x10
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 8]
movaps xmm3, xmm7
lea ecx, [esi + 0x14]
jl 0x100590b3
movss xmm6, dword [esp + 0x3c]
jmp 0x10058dbb
cmp dword [esp + 0x80], edi
jne case.0x100587d1.29
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x78], edi
je 0x100591bc
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x178]
push ecx
mov ecx, eax
call fcn.10058480
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], eax
mov dword [esp + 0x80], 1
mov eax, dword [esp + 8]
cmp eax, 1
jl case.default.0x100593cf
mov edx, dword [esp + 0x68]
dec eax
mov dword [esp + 8], eax
cmp edx, 0xa
jge case.default.0x100593cf
movq xmm0, qword [esp + 0x4c]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0x10]
inc edx
cmp dword [esp + 0x2c], 0xa
movq qword [esp + eax*4 + 0x198], xmm0
mov dword [esp + eax*4 + 0x1a0], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x68], edx
cvttss2si edi, dword [esp + eax*4 + 0xb8]
jne 0x10059225
lea edx, [esp + 0x9c]
jmp 0x1005922f
mov edx, dword [esp + 0x84]
add edx, 0x4c
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x88], xmm0
mov dword [esp + 0xc], edx
cmovns eax, ecx
mov dword [esp + 0x8c], eax
cmp eax, edx
jl 0x1005925b
xor cl, cl
jmp 0x1005926d
mov ecx, dword [esp + 0x88]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x8c], eax
movzx ecx, cl
cmp eax, edx
jl 0x10059278
xor al, al
jmp 0x10059296
mov edx, dword [esp + 0x88]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x1f], dl
mov edx, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov al, byte [esp + 0x1f]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x100592b2
mov eax, 0x8000
jmp 0x100592c0
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x98]
add edi, eax
js 0x10059301
cmp edi, ecx
jge 0x10059301
movq xmm0, qword [esp + 0x88]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x194]
push eax
call fcn.10056af0
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0xa8], xmm0
jmp 0x10059322
mov dword [esp + 0xa8], 0
xor edi, edi
mov dword [esp + 0xac], 0
movq xmm0, qword [esp + 0xa8]
mov dword [esp + 0x10], edi
movq qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], edi
test edi, edi
je case.default.0x100593cf
mov eax, dword [esp + 0x4c]
xor edx, edx
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x74], edx
mov dword [esp + 0x34], eax
jmp 0x10058de1
mov eax, dword [esp + 0x68]
test eax, eax
jle case.default.0x100593cf
dec eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x18c]
mov edi, dword [esp + eax*4 + 0x194]
movq qword [esp + 0x4c], xmm0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], eax
jmp 0x10058de1
mov edi, dword [esp + 0x10]
cmp ecx, edi
jl 0x100593b2
xor dl, dl
jmp 0x100593c0
mov eax, dword [esp + 0x34]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x100593cf
jmp dword [eax*4 + 0x100599e0]
cmp dword [esp + 8], 7
jl case.default.0x100593cf
movaps xmm5, xmm4
movaps xmm2, xmm6
movss xmm4, dword [esi + 0x14]
movaps xmm3, xmm1
addss xmm5, dword [esi + 0x10]
addss xmm4, xmm7
mov dl, 4
mov ecx, esi
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
movaps xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
addss xmm1, xmm7
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0x5c]
addss xmm4, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0x40]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x2c]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm7
jmp 0x10059726
cmp dword [esp + 8], 0xd
jl case.default.0x100593cf
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x44]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm6
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
movss xmm1, dword [esp + 0x28]
mov ecx, esi
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
addss xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x58]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x84]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x94]
movss xmm2, dword [esp + 0xfc]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x10059726
cmp dword [esp + 8], 9
jl case.default.0x100593cf
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x44]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm6
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
mov ecx, esi
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
movaps xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
addss xmm1, xmm7
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0x30]
addss xmm4, xmm7
movss xmm3, dword [esp + 0x40]
addss xmm0, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0x58]
movss xmm5, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x84]
addss xmm2, xmm4
addss xmm0, dword [esp + 0x58]
addss xmm5, xmm3
movss dword [esp + 0x24], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0x24]
addss xmm1, xmm5
jmp 0x10059726
cmp dword [esp + 8], 0xb
jl case.default.0x100593cf
movaps xmm6, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0xc], xmm6
addss xmm2, dword [esp + 0x44]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x6c]
addss xmm3, xmm5
movss xmm5, dword [0x10152180]
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x40]
andps xmm1, xmm5
addss xmm3, dword [esp + 0x70]
movaps xmm0, xmm3
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x10059664
movaps xmm6, xmm3
xorps xmm6, xmmword [0x101521b0]
jmp 0x10059674
movaps xmm0, xmm2
xorps xmm0, xmmword [0x101521b0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x18]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x3c]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x14]
mov ecx, esi
movss xmm1, dword [esp + 0x28]
movss xmm3, dword [esp + 0x44]
addss xmm0, xmm4
addss xmm2, xmm5
cvttss2si eax, xmm0
addss xmm1, xmm0
push eax
cvttss2si eax, xmm2
addss xmm3, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10058380
movss xmm4, dword [esp + 0x58]
movss xmm3, dword [esp + 0x3c]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esp + 0x88]
movss xmm5, dword [esp + 0x84]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm6
addss xmm1, dword [esp + 0x24]
movss xmm6, dword [esp + 0x54]
add esp, 0x18
movss dword [esi + 0x10], xmm1
cvttss2si eax, xmm0
mov dl, 4
mov ecx, esi
movss dword [esi + 0x14], xmm2
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
call fcn.10058380
movss xmm4, dword [esp + 0x50]
add esp, 0x18
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm3, dword [esp + 0x24]
movss xmm5, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
jmp 0x10058de1
mov eax, dword [esp + 0x2c]
cmp eax, 0xff
je 0x100597e1
cmp eax, 0x1c
je 0x100597a2
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x100593cf
mov ecx, dword [esp + 0x10]
dec edx
cmp edx, ecx
jg 0x100597b3
mov dword [esp + 0x50], edx
test edx, edx
jns 0x100597b7
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
call fcn.100567e0
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
cwde
mov dword [esp + 0x10], edi
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], eax
jmp 0x1005985f
mov edi, dword [esp + 0x10]
cmp ecx, edi
jl 0x100597f1
mov eax, dword [esp + 0x48]
xor cl, cl
jmp 0x10059805
mov eax, dword [esp + 0x34]
lea edx, [ecx + 1]
mov al, byte [ecx + eax]
mov byte [esp + 0x1f], al
mov eax, edx
mov cl, byte [esp + 0x1f]
movzx ecx, cl
cmp eax, edi
jl 0x10059810
xor al, al
jmp 0x10059818
mov eax, dword [esp + 0x34]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x10059828
xor al, al
jmp 0x10059830
mov eax, dword [esp + 0x34]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x10059840
xor al, al
jmp 0x10059848
mov eax, dword [esp + 0x34]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10151bd4]
mov eax, dword [esp + 8]
cmp eax, 0x30
jge case.default.0x100593cf
movss dword [esp + eax*4 + 0xb8], xmm0
inc eax
movss xmm0, dword [esp + 0xe0]
movss xmm3, dword [esp + 0xd0]
movss xmm5, dword [esp + 0xcc]
movss xmm2, dword [esp + 0xc8]
movss xmm1, dword [esp + 0xc4]
movss xmm6, dword [esp + 0xbc]
movss xmm4, dword [esp + 0xb8]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x74], 0
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x3c], xmm6
movss dword [esp + 0x38], xmm4
jmp 0x10058de1
movss xmm4, dword [esp + 0x38]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm6, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x24]
movss xmm5, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
jmp 0x10058de5
mov ecx, esi
call fcn.10058410
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret