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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x100c8050]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x88], esi
mov edx, ecx
mov dword [esp + 0x8c], edi
sub esp, 0xc
mov dword [esp + 0x8c], edx
mov ecx, esp
mov dword [esp + 0x6c], 1
mov dword [esp + 0x68], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0xa0], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0xa8], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xac]
push eax
mov ecx, edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x8c], 0
call fcn.1003b0a0
movss xmm2, dword [esp + 0xe8]
add esp, 0x10
movss xmm3, dword [esp + 0xc8]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0xc4]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0xbc]
movss xmm7, dword [esp + 0xb4]
movss xmm4, dword [esp + 0xb0]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0xd4]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xb8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x90], 0x46b
mov dword [esp + 0x38], eax
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x44], xmm7
movss dword [esp + 0x3c], xmm4
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
cmp edx, edi
jge case.default.0x1003db4a
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x74], ecx
lea esi, [eax - 1]
mov dword [esp + 0x54], edx
mov dword [esp + 0x10], esi
cmp esi, 0x1e
mov esi, dword [esp + 0x88]
mov dword [esp + 0x18], eax
ja case.default.0x1003cf6a
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x1003e194]
jmp dword [eax*4 + 0x1003e144]
cmp dword [esp + 0x60], edi
je 0x1003cf8c
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
add edx, eax
mov dword [esp + 0x5c], edx
jmp 0x1003cf90
mov edx, dword [esp + 0x5c]
lea eax, [edx + 7]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x14]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x1003cfb2
test edx, edx
jns 0x1003d592
mov edx, edi
jmp 0x1003d592
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add dword [esp + 0x5c], eax
jmp 0x1003d58e
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], edi
cmp eax, 2
jl case.default.0x1003db4a
movss xmm3, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm3, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0x18], ecx
movss xmm1, dword [esp + eax*4 + 0xa8]
movss xmm2, dword [esp + eax*4 + 0xac]
lahf
test ah, 0x44
jp 0x1003d018
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x1003d03a
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm3
push eax
call fcn.1003cad0
mov ecx, dword [esp + 0x30]
add esp, 0x18
addss xmm2, dword [edi]
addss xmm1, dword [esi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm2
push 0
mov dl, 1
movss dword [ecx], xmm2
mov ecx, esi
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x10], xmm1
push eax
movss dword [esi + 8], xmm1
movss dword [edi], xmm2
call fcn.1003cad0
add esp, 0x18
jmp 0x1003d578
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], edi
cmp eax, 1
jl case.default.0x1003db4a
movss xmm2, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm2, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0x18], ecx
movss xmm1, dword [esp + eax*4 + 0xac]
lahf
test ah, 0x44
jp 0x1003d0b8
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x1003d0da
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm2
push eax
call fcn.1003cad0
mov ecx, dword [esp + 0x30]
add esp, 0x18
addss xmm1, dword [edi]
movss xmm0, dword [esi + 0x10]
mov dl, 1
push 0
push 0
addss xmm0, xmm6
cvttss2si eax, xmm1
push 0
push 0
movss dword [ecx], xmm1
mov ecx, esi
push eax
cvttss2si eax, xmm0
movss dword [esi + 0x10], xmm0
push eax
movss dword [esi + 8], xmm0
movss dword [edi], xmm1
call fcn.1003cad0
add esp, 0x18
jmp 0x1003d57e
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], edi
cmp eax, 1
jl case.default.0x1003db4a
movss xmm2, dword [esi + 8]
lea ecx, [esi + 0xc]
ucomiss xmm2, dword [esi + 0x10]
lea edi, [esi + 0x14]
mov dword [esp + 0x18], ecx
movss xmm1, dword [esp + eax*4 + 0xac]
lahf
test ah, 0x44
jp 0x1003d15c
movss xmm0, dword [ecx]
ucomiss xmm0, dword [edi]
lahf
test ah, 0x44
jnp 0x1003d17e
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm2
push eax
call fcn.1003cad0
mov ecx, dword [esp + 0x30]
add esp, 0x18
movss xmm0, dword [edi]
mov dl, 1
addss xmm1, dword [esi + 0x10]
addss xmm0, xmm6
push 0
push 0
push 0
push 0
cvttss2si eax, xmm0
movss dword [ecx], xmm0
mov ecx, esi
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x10], xmm1
push eax
movss dword [esi + 8], xmm1
movss dword [edi], xmm0
call fcn.1003cad0
add esp, 0x18
jmp 0x1003d57e
cmp dword [esp + 0xc], 2
jl case.default.0x1003db4a
mov dword [esp + 0x18], 1
lea edi, [esp + 0xb4]
nop word [eax + eax]
movss xmm0, dword [esi + 0x14]
mov dl, 2
addss xmm0, dword [edi]
movss xmm1, dword [edi - 4]
mov ecx, esi
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1003cad0
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 2
add edi, 8
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xc]
jl 0x1003d1e0
jmp 0x1003d57e
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1003db4a
lea ecx, [esi + 0x10]
jmp 0x1003d29e
cmp dword [esp + 0xc], 1
jl case.default.0x1003db4a
lea eax, [esi + 0x10]
mov dword [esp + 0x40], eax
movss xmm0, dword [esi + 0x14]
mov dl, 2
movss xmm1, dword [esp + edi*4 + 0xb0]
addss xmm0, xmm6
addss xmm1, dword [eax]
push 0
push 0
push 0
push 0
movss dword [eax], xmm1
mov ecx, esi
cvttss2si eax, xmm0
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.1003cad0
mov eax, dword [esp + 0x24]
add esp, 0x18
mov ecx, dword [esp + 0x40]
inc edi
mov dword [esp + 0x40], ecx
cmp edi, eax
jge 0x1003d57e
movss xmm0, dword [esp + edi*4 + 0xb0]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [ecx]
push 0
push 0
addss xmm1, xmm6
cvttss2si eax, xmm0
push 0
push 0
movss dword [ecx], xmm1
mov ecx, esi
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1003cad0
inc edi
add esp, 0x18
cmp edi, dword [esp + 0xc]
jge 0x1003d57e
mov eax, dword [esp + 0x40]
jmp 0x1003d258
cmp dword [esp + 0xc], 4
jl case.default.0x1003db4a
lea edx, [esi + 0x10]
lea eax, [esi + 0x14]
jmp 0x1003d3ed
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1003db4a
lea edx, [esi + 0x14]
lea ecx, [esi + 0x10]
mov dword [esp + 0x40], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x34], edx
mov edx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x10], ecx
sub eax, edi
lea ecx, [edx*4]
cmp eax, 5
jne 0x1003d35a
movss xmm7, dword [esp + ecx + 0xc0]
jmp 0x1003d35d
movaps xmm7, xmm6
mov eax, dword [esp + 0x10]
mov dl, 4
movss xmm4, dword [esp + ecx + 0xb0]
movss xmm5, dword [eax]
mov eax, dword [esp + 0x34]
addss xmm5, xmm6
addss xmm4, dword [eax]
mov eax, dword [esp + 0x74]
movaps xmm2, xmm5
addss xmm2, dword [esp + ecx + 0xb4]
movaps xmm0, xmm4
addss xmm0, dword [esp + ecx + 0xb8]
movaps xmm3, xmm2
addss xmm3, dword [esp + ecx + 0xbc]
mov ecx, esi
movaps xmm1, xmm0
addss xmm1, xmm7
movss dword [eax], xmm3
mov eax, dword [esp + 0x84]
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.1003cad0
mov edx, dword [esp + 0x30]
add esp, 0x18
mov eax, dword [esp + 0x40]
add edi, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
lea eax, [edi + 3]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
cmp eax, ecx
jge 0x1003e0a4
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1003d420
movss xmm1, dword [esp + edi*4 + 0xc0]
jmp 0x1003d423
movaps xmm1, xmm6
movss xmm5, dword [esp + edi*4 + 0xb0]
mov ecx, esi
addss xmm5, dword [edx]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
movss xmm4, dword [edx]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xb4]
addss xmm4, xmm6
mov dl, 4
movaps xmm3, xmm2
movaps xmm0, xmm4
addss xmm3, xmm1
addss xmm0, dword [esp + edi*4 + 0xb8]
movss dword [eax], xmm3
mov eax, dword [esp + 0x34]
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0xbc]
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.1003cad0
mov eax, dword [esp + 0x58]
add edi, 4
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [esp + 0x84], eax
mov edx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x74], ecx
lea eax, [edi + 3]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jge 0x1003e0a4
mov eax, ecx
jmp 0x1003d341
cmp dword [esp + 0xc], 6
jl case.default.0x1003db4a
mov dword [esp + 0x10], 5
lea edi, [esp + 0xb4]
movss xmm4, dword [esi + 0x14]
mov dl, 4
addss xmm4, dword [edi]
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.1003cad0
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
jl 0x1003d4f1
movss xmm5, dword [esp + 0x30]
movss xmm4, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
movss xmm1, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x78]
xor eax, eax
cmp dword [esp + 0x6c], eax
cmove eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
jmp 0x1003cf15
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1003db4a
add eax, 0xfffffffe
mov dword [esp + 0x34], eax
cmp eax, 5
jle 0x1003d68a
mov dword [esp + 0x10], 5
nop word [eax + eax]
movss xmm4, dword [esp + edi*4 + 0xb4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb0]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xbc]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xb8]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xc8]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xc4]
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.1003cad0
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 6
add edi, 6
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x34]
jl 0x1003d5e0
movss xmm4, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x30]
lea eax, [edi + 1]
cmp eax, dword [esp + 0xc]
jge case.default.0x1003db4a
movss xmm0, dword [esp + edi*4 + 0xb4]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xb0]
mov ecx, esi
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1003cad0
add esp, 0x18
jmp 0x1003d57e
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1003db4a
add eax, 0xfffffffa
mov dword [esp + 0x34], eax
cmp eax, 1
jle 0x1003d768
mov dword [esp + 0x10], 1
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [esp + edi*4 + 0xb4]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xb0]
mov ecx, esi
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1003cad0
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 2
add edi, 2
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x34]
jl 0x1003d710
lea eax, [edi + 5]
cmp eax, dword [esp + 0xc]
jge case.default.0x1003db4a
movss xmm4, dword [esp + edi*4 + 0xb4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb0]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xbc]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xb8]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xc8]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xc4]
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.1003cad0
add esp, 0x18
jmp 0x1003d56c
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1003db4a
mov edi, eax
movaps xmm1, xmm6
and edi, 1
je 0x1003d814
movaps xmm1, xmm4
lea ecx, [edi + 3]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jge 0x1003d588
lea edi, [esp + edi*4 + 0xb8]
nop word [eax + eax]
cmp dword [esp + 0x18], 0x1b
movss xmm7, dword [esi + 0x10]
movss xmm5, dword [esi + 0x14]
movss xmm3, dword [edi]
movss xmm0, dword [edi - 8]
movss xmm2, dword [edi - 4]
jne 0x1003d876
addss xmm0, xmm7
addss xmm5, xmm1
movaps xmm1, xmm0
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [edi + 4]
movaps xmm4, xmm2
addss xmm4, xmm6
jmp 0x1003d89e
addss xmm7, xmm1
addss xmm5, xmm0
movaps xmm1, xmm7
movaps xmm0, xmm7
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm4, xmm2
addss xmm3, xmm6
addss xmm4, dword [edi + 4]
cvttss2si eax, xmm2
mov dl, 4
mov ecx, esi
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
call fcn.1003cad0
mov ecx, dword [esp + 0x28]
add esp, 0x18
add ecx, 4
add edi, 0x10
movaps xmm1, xmm6
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0xc]
jl 0x1003d830
movss xmm7, dword [esp + 0x44]
jmp 0x1003d56c
cmp dword [esp + 0x7c], edi
jne case.0x1003cf6a.29
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x78], edi
je 0x1003d93a
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x170]
push ecx
mov ecx, eax
call fcn.1003cbf0
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x94], xmm0
mov dword [esp + 0x9c], eax
mov dword [esp + 0x7c], 1
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1003db4a
mov edx, dword [esp + 0x64]
dec eax
mov dword [esp + 0xc], eax
cmp edx, 0xa
jge case.default.0x1003db4a
movq xmm0, qword [esp + 0x50]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0x14]
inc edx
cmp dword [esp + 0x18], 0xa
movq qword [esp + eax*4 + 0x190], xmm0
mov dword [esp + eax*4 + 0x198], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edx
cvttss2si edi, dword [esp + eax*4 + 0xb0]
jne 0x1003d9a0
lea edx, [esp + 0x94]
jmp 0x1003d9aa
mov edx, dword [esp + 0x80]
add edx, 0x4c
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x208], xmm0
mov dword [esp + 0x10], edx
cmovns eax, ecx
mov dword [esp + 0x20c], eax
cmp eax, edx
jl 0x1003d9d6
xor cl, cl
jmp 0x1003d9e8
mov ecx, dword [esp + 0x208]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x20c], eax
movzx ecx, cl
cmp eax, edx
jl 0x1003d9f3
xor al, al
jmp 0x1003da11
mov edx, dword [esp + 0x208]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x27], dl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20c], eax
mov al, byte [esp + 0x27]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1003da2d
mov eax, 0x8000
jmp 0x1003da3b
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x90]
add edi, eax
js 0x1003da7c
cmp edi, ecx
jge 0x1003da7c
movq xmm0, qword [esp + 0x208]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x18c]
push eax
call fcn.1003b0a0
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0xa0], xmm0
jmp 0x1003da9d
mov dword [esp + 0xa0], 0
xor edi, edi
mov dword [esp + 0xa4], 0
movq xmm0, qword [esp + 0xa0]
mov dword [esp + 0x14], edi
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], edi
test edi, edi
je case.default.0x1003db4a
mov eax, dword [esp + 0x50]
xor edx, edx
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x38], eax
jmp 0x1003d592
mov eax, dword [esp + 0x64]
test eax, eax
jle case.default.0x1003db4a
dec eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x184]
mov edi, dword [esp + eax*4 + 0x18c]
movq qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x38], eax
jmp 0x1003d592
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x1003db2d
xor dl, dl
jmp 0x1003db3b
mov eax, dword [esp + 0x38]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1003db4a
jmp dword [eax*4 + 0x1003e1b4]
cmp dword [esp + 0xc], 7
jl case.default.0x1003db4a
movaps xmm5, xmm4
movaps xmm2, xmm7
movss xmm4, dword [esi + 0x14]
movaps xmm3, xmm1
addss xmm5, dword [esi + 0x10]
addss xmm4, xmm6
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, xmm6
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.1003cad0
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0x64]
addss xmm4, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0x48]
movss xmm1, dword [esp + 0x44]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x34]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x1003dea1
cmp dword [esp + 0xc], 0xd
jl case.default.0x1003db4a
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x4c]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
movss xmm1, dword [esp + 0x30]
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.1003cad0
movss xmm3, dword [esp + 0x44]
movss xmm4, dword [esp + 0x60]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x80]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x90]
movss xmm2, dword [esp + 0xf4]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x1003dea1
cmp dword [esp + 0xc], 9
jl case.default.0x1003db4a
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x4c]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
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, xmm6
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.1003cad0
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0x38]
addss xmm4, xmm6
movss xmm3, dword [esp + 0x48]
addss xmm0, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0x60]
movss xmm5, dword [esp + 0x44]
movss xmm1, dword [esp + 0x80]
addss xmm2, xmm4
addss xmm0, dword [esp + 0x60]
addss xmm5, xmm3
movss dword [esp + 0x28], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0x28]
addss xmm1, xmm5
jmp 0x1003dea1
cmp dword [esp + 0xc], 0xb
jl case.default.0x1003db4a
movaps xmm7, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x10], xmm7
addss xmm2, dword [esp + 0x4c]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x44]
addss xmm2, dword [esp + 0x68]
addss xmm3, xmm5
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x48]
andps xmm1, xmmword [0x100beb50]
addss xmm3, dword [esp + 0x70]
movaps xmm0, xmm3
andps xmm0, xmmword [0x100beb50]
comiss xmm1, xmm0
jbe 0x1003dddf
movaps xmm7, xmm3
xorps xmm7, xmmword [0x100beb80]
jmp 0x1003ddef
movaps xmm0, xmm2
xorps xmm0, xmmword [0x100beb80]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x20]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x44]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x1c]
mov ecx, esi
movss xmm1, dword [esp + 0x30]
movss xmm3, dword [esp + 0x4c]
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.1003cad0
movss xmm4, dword [esp + 0x60]
movss xmm3, dword [esp + 0x44]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esp + 0x88]
movss xmm5, dword [esp + 0x80]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm7
addss xmm1, dword [esp + 0x28]
movss xmm7, dword [esp + 0x5c]
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.1003cad0
movss xmm4, dword [esp + 0x54]
add esp, 0x18
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
jmp 0x1003d592
mov eax, dword [esp + 0x18]
cmp eax, 0xff
je 0x1003df59
cmp eax, 0x1c
je 0x1003df1d
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x1003db4a
mov ecx, dword [esp + 0x14]
dec edx
cmp edx, ecx
jg 0x1003df2e
mov dword [esp + 0x54], edx
test edx, edx
jns 0x1003df32
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x50]
call fcn.1003ad60
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
cwde
mov dword [esp + 0x14], edi
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x38], eax
jmp 0x1003dfd7
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x1003df69
mov eax, dword [esp + 0x74]
xor cl, cl
jmp 0x1003df7d
mov eax, dword [esp + 0x38]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [esp + 0x27], al
mov eax, edx
mov cl, byte [esp + 0x27]
movzx ecx, cl
cmp eax, edi
jl 0x1003df88
xor al, al
jmp 0x1003df90
mov eax, dword [esp + 0x38]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1003dfa0
xor al, al
jmp 0x1003dfa8
mov eax, dword [esp + 0x38]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1003dfb8
xor al, al
jmp 0x1003dfc0
mov eax, dword [esp + 0x38]
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 [0x100be618]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
jge case.default.0x1003db4a
movss dword [esp + eax*4 + 0xb0], xmm0
inc eax
movss xmm0, dword [esp + 0xd8]
movss xmm3, dword [esp + 0xc8]
movss xmm5, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
movss xmm7, dword [esp + 0xb4]
movss xmm4, dword [esp + 0xb0]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x6c], 0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x44], xmm7
movss dword [esp + 0x3c], xmm4
jmp 0x1003d592
movss xmm4, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
movss xmm7, dword [esp + 0x44]
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
jmp 0x1003d596
movss xmm1, dword [esi + 8]
ucomiss xmm1, dword [esi + 0x10]
lahf
test ah, 0x44
jp 0x1003e0f3
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [esi + 0x14]
lahf
test ah, 0x44
jnp 0x1003e112
cvttss2si eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm1
push eax
call fcn.1003cad0
add esp, 0x18
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10061d94
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x214]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10061d94
mov esp, ebp
pop ebp
ret