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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d0
mov eax, dword [0x100a4040]
xor eax, esp
mov dword [esp + 0x1cc], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x30], 1
mov edx, ecx
mov dword [esp + 0x50], edi
sub esp, 0xc
mov dword [esp + 0x4c], edx
mov ecx, esp
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0x68], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x74]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], 0
call fcn.100393e0
movss xmm7, dword [esp + 0xa8]
add esp, 0x10
mov dword [esp + 0x54], 0x46b
xorps xmm6, xmm6
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edi
nop dword [eax]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
cmp edi, edx
jge case.default.0x1003b9f2
mov ecx, dword [esp + 0xc]
xor edi, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], 1
mov al, byte [eax + ecx]
inc ecx
mov edx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], ecx
movzx ecx, al
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
lea eax, [ecx - 1]
cmp eax, 0x1e
ja case.0x1003af6e.2
movzx eax, byte [eax + 0x1003bf18]
jmp dword [eax*4 + 0x1003bec8]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], edi
je 0x1003af8e
mov eax, dword [esp + 8]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 7]
mov dword [esp + 0x30], edi
cdq
and edx, 7
lea edi, [edx + eax]
mov edx, dword [esp + 0x10]
sar edi, 3
add edi, dword [esp + 0x14]
mov dword [esp + 0xc], edi
cmp edi, edx
jg 0x1003afc9
test edi, edi
js 0x1003afc9
mov ecx, dword [esp + 8]
xor eax, eax
cmp dword [esp + 0x38], eax
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
mov ecx, dword [esp + 8]
xor eax, eax
cmp dword [esp + 0x38], eax
mov edi, edx
mov dword [esp + 0xc], edi
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
mov eax, dword [esp + 8]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x38], eax
mov edx, dword [esp + 0x10]
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
cmp dword [esp + 8], 2
mov dword [esp + 0x30], edi
jl case.default.0x1003b9f2
mov ecx, esi
call fcn.1003ab80
mov eax, dword [esp + 8]
movss xmm1, dword [esp + eax*4 + 0x90]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [esp + eax*4 + 0x94]
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 0x1003b07a
push edi
mov ecx, esi
call fcn.1003ab10
add esp, 4
inc dword [esi + 0x2c]
jmp 0x1003aff2
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 eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
inc dword [esi + 0x2c]
jmp 0x1003aff2
cmp dword [esp + 8], 1
mov dword [esp + 0x30], edi
jl case.default.0x1003b9f2
mov ecx, esi
call fcn.1003ab80
movss xmm1, dword [esi + 0x10]
mov eax, dword [esp + 8]
addss xmm1, xmm6
jmp 0x1003b038
cmp dword [esp + 8], 1
mov dword [esp + 0x30], edi
jl case.default.0x1003b9f2
mov ecx, esi
call fcn.1003ab80
mov eax, dword [esp + 8]
movss xmm0, dword [esi + 0x14]
addss xmm0, xmm6
movss xmm1, dword [esp + eax*4 + 0x94]
addss xmm1, dword [esi + 0x10]
jmp 0x1003b046
cmp dword [esp + 8], 2
jl case.default.0x1003b9f2
mov ecx, dword [esi + 0x2c]
lea edi, [esp + 0x9c]
mov dword [esp + 0x14], 1
nop dword [eax + eax]
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 0x1003b189
push edx
mov edx, eax
mov ecx, esi
call fcn.1003ab10
add esp, 4
jmp 0x1003b1d6
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si edx, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
mov eax, dword [esp + 0x14]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 8]
jl 0x1003b150
jmp 0x1003aff2
mov eax, dword [esp + 8]
cmp eax, 1
jge 0x1003b2bb
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1cc]
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
cmp dword [esp + 8], 1
jl case.default.0x1003b9f2
cmp dword [esi], 0
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0x98]
addss xmm0, xmm6
addss xmm1, dword [esi + 0x10]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x10], xmm1
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1003b260
push edx
mov edx, eax
mov ecx, esi
call fcn.1003ab10
add esp, 4
jmp 0x1003b2b3
mov eax, dword [esi + 0x2c]
cvttss2si edx, xmm1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
inc dword [esi + 0x2c]
inc edi
mov eax, dword [esp + 8]
cmp edi, eax
jge 0x1003aff2
cmp dword [esi], 0
movss xmm1, dword [esi + 0x10]
movss xmm0, dword [esp + edi*4 + 0x98]
addss xmm1, xmm6
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1003b300
push edx
mov edx, eax
mov ecx, esi
call fcn.1003ab10
add esp, 4
jmp 0x1003b353
mov eax, dword [esi + 0x2c]
cvttss2si edx, xmm1
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
inc dword [esi + 0x2c]
inc edi
cmp edi, dword [esp + 8]
jl 0x1003b223
jmp 0x1003aff2
cmp dword [esp + 8], 4
jl case.default.0x1003b9f2
jmp 0x1003b3dd
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x1003b9f2
sub eax, edi
cmp eax, 5
jne 0x1003b392
movss xmm0, dword [esp + edi*4 + 0xa8]
jmp 0x1003b395
movaps xmm0, xmm6
movss xmm3, dword [esp + edi*4 + 0x9c]
sub esp, 0xc
movss xmm2, dword [esp + edi*4 + 0xa4]
movaps xmm1, xmm6
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + edi*4 + 0xb0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0xac]
movss dword [esp], xmm0
call fcn.1003abf0
add esp, 0xc
add edi, 4
mov ecx, dword [esp + 8]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1003aff6
movss xmm1, dword [esp + edi*4 + 0xa4]
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1003b409
movss xmm0, dword [esp + edi*4 + 0xa8]
jmp 0x1003b40c
movaps xmm0, xmm6
movss xmm3, dword [esp + edi*4 + 0x9c]
sub esp, 0xc
movaps xmm2, xmm6
mov ecx, esi
movss dword [esp + 8], xmm1
movss xmm1, dword [esp + edi*4 + 0xa4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0xac]
movss dword [esp], xmm0
call fcn.1003abf0
mov ecx, dword [esp + 0x14]
add edi, 4
add esp, 0xc
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1003aff6
mov eax, ecx
jmp 0x1003b380
cmp dword [esp + 8], 6
jl case.default.0x1003b9f2
mov dword [esp + 0x14], 5
lea edi, [esp + 0xa8]
nop dword [eax + eax]
movss xmm0, dword [edi + 4]
sub esp, 0xc
movss xmm3, dword [edi - 8]
mov ecx, esi
movss xmm2, dword [edi - 0xc]
movss xmm1, dword [edi - 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi - 4]
movss dword [esp], xmm0
call fcn.1003abf0
mov eax, dword [esp + 0x20]
lea edi, [edi + 0x18]
add eax, 6
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 8]
jl 0x1003b480
jmp 0x1003aff2
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x1003b9f2
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
cmp eax, 5
jle 0x1003b596
mov dword [esp + 0x14], 5
lea eax, [esp + 0xac]
lea edx, [esp + 0xa4]
nop word [eax + eax]
movss xmm0, dword [eax + edi*4]
lea ecx, [esp + 0xa0]
movss xmm3, dword [ecx + edi*4]
lea eax, [esp + 0x9c]
movss xmm2, dword [eax + edi*4]
sub esp, 0xc
lea eax, [esp + 0xa4]
mov ecx, esi
movss xmm1, dword [eax + edi*4]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + edi*4 + 0xb4]
movss dword [esp + 4], xmm0
movss xmm0, dword [edx + edi*4]
movss dword [esp], xmm0
call fcn.1003abf0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xb0]
add eax, 6
add edi, 6
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
mov ecx, edi
lea eax, [esp + 0xac]
jl 0x1003b510
lea eax, [ecx + 1]
cmp eax, dword [esp + 8]
jge case.default.0x1003b9f2
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0x98]
movss xmm0, dword [esp + edi*4 + 0x9c]
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 0x1003b067
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 0x1003b08e
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x1003b9f2
add eax, 0xfffffffa
mov dword [esp + 0x18], eax
cmp eax, 1
jle 0x1003b6d1
mov dword [esp + 0x14], 1
lea eax, [esp + 0x98]
cmp dword [esi], 0
movss xmm1, dword [eax + edi*4]
movss xmm0, dword [esp + edi*4 + 0x9c]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
mov ecx, dword [esi + 0x2c]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edx, xmm0
cvttss2si eax, xmm1
je 0x1003b653
push edx
mov edx, eax
mov ecx, esi
call fcn.1003ab10
add esp, 4
jmp 0x1003b6a0
mov eax, dword [esi + 0x28]
shl ecx, 3
sub ecx, dword [esi + 0x2c]
cvttss2si edx, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 8], dx
mov eax, dword [esi + 0x2c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2 + 0xa], dx
mov eax, dword [esp + 0x14]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
cmp eax, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x98]
jl 0x1003b612
lea eax, [ecx + 5]
cmp eax, dword [esp + 8]
jge case.default.0x1003b9f2
movss xmm0, dword [esp + edi*4 + 0xac]
sub esp, 0xc
movss xmm3, dword [esp + edi*4 + 0xac]
mov ecx, esi
movss xmm2, dword [esp + edi*4 + 0xa8]
movss xmm1, dword [esp + edi*4 + 0xa4]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + edi*4 + 0xb4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0xb0]
movss dword [esp], xmm0
call fcn.1003abf0
add esp, 0xc
jmp 0x1003aff2
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x1003b9f2
mov edi, eax
movaps xmm2, xmm6
and edi, 1
je 0x1003b744
movaps xmm2, xmm7
lea edx, [edi + 3]
mov dword [esp + 0x14], edx
cmp edx, eax
jge 0x1003aff2
lea edi, [esp + edi*4 + 0xa4]
nop word [eax + eax]
movss xmm0, dword [edi]
movss xmm1, dword [edi - 0xc]
cmp ecx, 0x1b
jne 0x1003b779
movaps xmm4, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm6
jmp 0x1003b782
movaps xmm4, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm6
sub esp, 0xc
mov ecx, esi
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movaps xmm1, xmm4
movss xmm0, dword [edi - 4]
movss dword [esp], xmm0
movss xmm3, dword [edi - 8]
call fcn.1003abf0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x18]
add edx, 4
add edi, 0x10
mov dword [esp + 0x14], edx
movaps xmm2, xmm6
cmp edx, dword [esp + 8]
jl 0x1003b760
jmp 0x1003aff2
cmp dword [esp + 0x3c], edi
jne case.0x1003af6e.29
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x78], edi
je 0x1003b804
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.1003acc0
mov ecx, dword [esp + 0x1c]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 8]
cmp eax, 1
jl case.default.0x1003b9f2
mov edx, dword [esp + 0x34]
dec eax
mov dword [esp + 8], eax
cmp edx, 0xa
jge case.default.0x1003b9f2
movq xmm0, qword [esp + 0x20]
lea eax, [edx + edx*2]
mov edi, dword [esp + 0x10]
inc edx
movq qword [esp + eax*4 + 0x158], xmm0
mov dword [esp + eax*4 + 0x160], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x34], edx
cvttss2si edi, dword [esp + eax*4 + 0x98]
cmp ecx, 0xa
jne 0x1003b865
lea eax, [esp + 0x5c]
jmp 0x1003b86c
mov eax, dword [esp + 0x40]
add eax, 0x4c
mov edx, dword [eax + 8]
xor ecx, ecx
movq xmm0, qword [eax]
test edx, edx
mov eax, edx
movq qword [esp + 0x44], xmm0
cmovns eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x1003b892
xor cl, cl
jmp 0x1003b89e
mov ecx, dword [esp + 0x44]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x48], eax
movzx ecx, cl
cmp eax, edx
jl 0x1003b8a9
xor al, al
jmp 0x1003b8c1
mov edx, dword [esp + 0x44]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x1f], dl
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x1f]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1003b8dd
mov eax, 0x8000
jmp 0x1003b8e8
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x54]
add edi, eax
js 0x1003b923
cmp edi, ecx
jge 0x1003b923
movq xmm0, qword [esp + 0x44]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x94]
push eax
call fcn.100393e0
add esp, 0x10
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [esp + 0x68], xmm0
jmp 0x1003b93b
mov dword [esp + 0x68], 0
xor edx, edx
mov dword [esp + 0x6c], 0
movq xmm0, qword [esp + 0x68]
mov dword [esp + 0x10], edx
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], edx
test edx, edx
je case.default.0x1003b9f2
mov ecx, dword [esp + 8]
xor edi, edi
xor eax, eax
mov dword [esp + 0xc], edi
cmp edi, eax
mov dword [esp + 0x38], edi
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1003b9f2
mov ecx, dword [esp + 8]
dec eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], edi
lea eax, [eax + eax*2]
mov edx, dword [esp + eax*4 + 0x154]
movq xmm0, qword [esp + eax*4 + 0x14c]
xor eax, eax
cmp dword [esp + 0x38], eax
movq qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
cmove eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
jmp 0x1003af20
cmp edx, dword [esp + 0x10]
jl 0x1003b9d5
mov edi, dword [esp + 0xc]
xor al, al
jmp 0x1003b9e3
mov eax, dword [esp + 0x20]
lea edi, [edx + 1]
mov dword [esp + 0xc], edi
mov al, byte [eax + edx]
movzx eax, al
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1003b9f2
jmp dword [eax*4 + 0x1003bf38]
cmp dword [esp + 8], 7
jl case.default.0x1003b9f2
movss xmm0, dword [esp + 0xa4]
sub esp, 0xc
movss xmm3, dword [esp + 0xa8]
movaps xmm2, xmm6
movaps xmm1, xmm7
mov ecx, esi
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp], xmm0
call fcn.1003abf0
movss xmm0, dword [esp + 0xbc]
movaps xmm2, xmm6
movss xmm3, dword [esp + 0xb8]
mov ecx, esi
movss xmm1, dword [esp + 0xb4]
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xac]
xorps xmm0, xmmword [0x100a0ec0]
movss dword [esp], xmm0
call fcn.1003abf0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x38], eax
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
cmp dword [esp + 8], 0xd
jl case.default.0x1003b9f2
movss xmm0, dword [esp + 0xac]
sub esp, 0xc
movss xmm3, dword [esp + 0xac]
movaps xmm1, xmm7
movss xmm2, dword [esp + 0xa8]
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp], xmm0
call fcn.1003abf0
movss xmm0, dword [esp + 0xd0]
mov ecx, esi
movss xmm3, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp], xmm0
call fcn.1003abf0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x38], eax
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
cmp dword [esp + 8], 9
jl case.default.0x1003b9f2
movss xmm0, dword [esp + 0xa8]
sub esp, 0xc
movss xmm3, dword [esp + 0xac]
movaps xmm1, xmm7
movss xmm2, dword [esp + 0xa8]
mov ecx, esi
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp], xmm0
call fcn.1003abf0
movss xmm0, dword [esp + 0xb0]
movaps xmm2, xmm6
addss xmm0, dword [esp + 0xa8]
movss xmm1, dword [esp + 0xc0]
mov ecx, esi
movss xmm3, dword [esp + 0xbc]
addss xmm0, xmm1
xorps xmm0, xmmword [0x100a0ec0]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
movss xmm1, dword [esp + 0xb8]
call fcn.1003abf0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x38], eax
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
cmp dword [esp + 8], 0xb
jl case.default.0x1003b9f2
movss xmm4, dword [esp + 0x98]
movss xmm3, dword [esp + 0xa4]
movaps xmm2, xmm4
addss xmm3, dword [esp + 0x9c]
movss xmm5, dword [esp + 0xa0]
movss xmm6, dword [esp + 0xc0]
addss xmm2, xmm5
movaps xmm7, xmm6
addss xmm3, dword [esp + 0xac]
addss xmm2, dword [esp + 0xa8]
addss xmm3, dword [esp + 0xb4]
addss xmm2, dword [esp + 0xb0]
addss xmm3, dword [esp + 0xbc]
addss xmm2, dword [esp + 0xb8]
movaps xmm0, xmm3
andps xmm0, xmmword [0x100a0e90]
movaps xmm1, xmm2
andps xmm1, xmmword [0x100a0e90]
comiss xmm1, xmm0
jbe 0x1003bccd
movaps xmm6, xmm3
xorps xmm6, xmmword [0x100a0ec0]
jmp 0x1003bcd7
movaps xmm7, xmm2
xorps xmm7, xmmword [0x100a0ec0]
movss xmm0, dword [esp + 0xac]
sub esp, 0xc
movss xmm2, dword [esp + 0xa8]
movaps xmm3, xmm5
movaps xmm1, xmm4
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp], xmm0
call fcn.1003abf0
movss xmm0, dword [esp + 0xc8]
mov ecx, esi
movss xmm3, dword [esp + 0xc4]
movss xmm2, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
call fcn.1003abf0
mov ecx, dword [esp + 0x14]
xor eax, eax
movss xmm7, dword [esp + 0xa4]
add esp, 0xc
cmp dword [esp + 0x38], eax
xorps xmm6, xmm6
mov edx, dword [esp + 0x10]
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
cmp ecx, 0xff
je 0x1003bddb
cmp ecx, 0x1c
je 0x1003bd9c
lea eax, [ecx - 0x20]
cmp eax, 0xde
ja case.default.0x1003b9f2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
jg 0x1003bdb1
mov dword [esp + 0x24], eax
test eax, eax
jns 0x1003bdb5
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
call fcn.100390d0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cwde
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1003be65
cmp edx, dword [esp + 0x10]
jl 0x1003bde9
mov edi, dword [esp + 0xc]
xor al, al
jmp 0x1003bdf9
mov eax, dword [esp + 0x20]
lea edi, [edx + 1]
mov dword [esp + 0xc], edi
mov al, byte [eax + edx]
mov edx, edi
movzx ecx, al
cmp edx, dword [esp + 0x10]
jl 0x1003be06
xor al, al
jmp 0x1003be12
mov eax, dword [esp + 0x20]
mov al, byte [eax + edi]
inc edi
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x10]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edi, edx
jl 0x1003be26
xor al, al
jmp 0x1003be32
mov eax, dword [esp + 0x20]
mov al, byte [eax + edi]
inc edi
mov dword [esp + 0xc], edi
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edi, edx
jl 0x1003be42
xor al, al
jmp 0x1003be4e
mov eax, dword [esp + 0x20]
mov al, byte [eax + edi]
inc edi
mov dword [esp + 0xc], edi
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100a04c0]
mov eax, dword [esp + 8]
cmp eax, 0x30
jge case.default.0x1003b9f2
movss dword [esp + eax*4 + 0x98], xmm0
inc eax
movss xmm7, dword [esp + 0x98]
mov ecx, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x38], 0
cmp dword [esp + 0x38], eax
cmove eax, ecx
mov dword [esp + 8], eax
jmp 0x1003af20
mov ecx, esi
call fcn.1003ab80
mov ecx, dword [esp + 0x1d4]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret