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

Disassembly:
sub esp, 0x5c
push esi
mov esi, dword [esp + 0x68]
push edi
push 2
pop eax
mov dword [esp + 0x30], eax
mov edi, ecx
mov dword [esp + 0x4c], edi
cmp esi, eax
jl 0x1003b86d
mov edx, dword [esp + 0x70]
test edx, 0xff000000
je 0x1003b86d
mov eax, dword [edi + 0x2c]
and byte [esp + 0x74], 1
movss xmm2, dword [edi + 0x8c]
movss xmm1, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea eax, [esi - 1]
mov dword [esp + 0x50], ecx
mov ecx, eax
cmovne ecx, esi
mov dword [esp + 0x40], eax
comiss xmm1, xmm2
mov dword [esp + 0x44], ecx
movss dword [esp + 0x2c], xmm2
seta byte [esp + 0x62]
test byte [edi + 0x24], 1
je 0x1003b67e
movss xmm3, dword [0x100ba4c4]
and edx, 0xffffff
maxss xmm1, xmm3
mov dword [esp + 0x3c], edx
xor edx, edx
mov dword [esp + 0x34], 1
test byte [edi + 0x24], 2
mov dword [esp + 0x54], edx
cvttss2si eax, xmm1
movss dword [esp + 0x78], xmm1
mov dword [esp + 0x20], eax
je 0x1003abe6
cmp eax, 0x3f
jge 0x1003abe6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [0x100bdeac]
comiss xmm0, xmm1
jb 0x1003abe6
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1003abe6
mov dl, 1
mov dh, byte [esp + 0x62]
movzx eax, dh
add eax, 3
mov byte [esp + 0x63], dl
test dl, dl
cmovne eax, dword [esp + 0x30]
imul eax, esi
test dh, dh
mov dword [esp + 0x30], 0x12
push eax
mov dword [esp + 0x1c], eax
push 0xc
pop eax
cmovne eax, dword [esp + 0x34]
test dl, dl
mov dword [esp + 0x34], 6
cmovne eax, dword [esp + 0x34]
imul eax, ecx
mov ecx, edi
push eax
call fcn.1003c7c8
mov ecx, dword [edi + 0x2c]
add ecx, 0x2c
cmp byte [esp + 0x63], 0
jne 0x1003ac47
cmp byte [esp + 0x62], 0
je 0x1003ac47
push 5
jmp 0x1003ac49
push 3
pop eax
imul eax, esi
push eax
call fcn.100423fe
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x48], eax
lea ecx, [eax + esi*8]
mov dword [esp + 0x5c], ecx
jle 0x1003ad0a
mov ecx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x54]
and dword [esp + 0x28], 0
inc eax
cmp eax, esi
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x38]
cmove eax, dword [esp + 0x28]
movss xmm2, dword [edx + eax*8]
movss xmm3, dword [edx + eax*8 + 4]
mov eax, esi
subss xmm2, dword [edx + esi*8]
mov esi, dword [esp + 0x6c]
subss xmm3, dword [edx + eax*8 + 4]
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x100ba4b8]
jbe 0x1003ace0
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
xorps xmm2, xmmword [0x100be030]
movss dword [edi + eax*8], xmm3
movss dword [edi + eax*8 + 4], xmm2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
cmp eax, ecx
jl 0x1003ac85
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
cmp byte [esp + 0x74], 0
jne 0x1003ad2f
mov edi, dword [esp + 0x5c]
mov eax, dword [eax + esi*8 - 0x10]
mov ecx, dword [esp + 0x48]
mov dword [edi - 8], eax
mov eax, edi
mov edi, dword [esp + 0x4c]
mov ecx, dword [ecx + esi*8 - 0xc]
mov dword [eax - 4], ecx
mov ecx, eax
cmp byte [esp + 0x63], 0
movss xmm6, dword [0x100ba4c0]
jne 0x1003b206
cmp byte [esp + 0x62], 0
je 0x1003b1f6
cmp byte [esp + 0x74], 0
movss xmm4, dword [esp + 0x78]
movss xmm5, dword [esp + 0x2c]
subss xmm4, xmm5
mulss xmm4, xmm6
jne 0x1003aecf
mov eax, dword [esp + 0x48]
movaps xmm3, xmm4
addss xmm3, xmm5
mov esi, dword [esp + 0x40]
movaps xmm0, xmm3
movaps xmm1, xmm3
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [ecx + 4], xmm0
movaps xmm0, xmm4
movss dword [ecx], xmm1
movaps xmm1, xmm4
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [ecx + 0xc], xmm0
movaps xmm0, xmm4
movss dword [ecx + 8], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [ecx + 0x10], xmm2
movaps xmm0, xmm3
movss dword [ecx + 0x14], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [ecx + 0x18], xmm2
movaps xmm0, xmm3
movss dword [ecx + 0x1c], xmm1
lea ecx, [eax + esi*8]
mulss xmm0, dword [ecx + 4]
lea eax, [edx + esi*8]
shl esi, 5
movaps xmm1, xmm3
mov dword [esp + 0x40], esi
mulss xmm1, dword [ecx]
mov esi, dword [esp + 0x5c]
addss xmm0, dword [eax + 4]
mov edi, dword [esp + 0x40]
addss xmm1, dword [eax]
movss dword [edi + esi + 4], xmm0
movaps xmm0, xmm4
movss dword [edi + esi], xmm1
movaps xmm1, xmm4
mulss xmm0, dword [ecx + 4]
mulss xmm1, dword [ecx]
addss xmm0, dword [eax + 4]
addss xmm1, dword [eax]
movss dword [edi + esi + 0xc], xmm0
movaps xmm0, xmm4
movss dword [edi + esi + 8], xmm1
mulss xmm0, dword [ecx]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [ecx + 4]
subss xmm1, xmm0
movss dword [edi + esi + 0x10], xmm2
movaps xmm0, xmm3
movss dword [edi + esi + 0x14], xmm1
mulss xmm0, dword [ecx]
movss xmm1, dword [eax]
mulss xmm3, dword [ecx + 4]
mov ecx, esi
subss xmm1, xmm0
movss xmm0, dword [eax + 4]
mov eax, edi
subss xmm0, xmm3
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
movss dword [eax + ecx + 0x18], xmm1
movss dword [eax + ecx + 0x1c], xmm0
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
jle 0x1003b120
movss xmm7, dword [0x100ba4c4]
movaps xmm6, xmm4
mov eax, dword [esp + 0x54]
addss xmm6, xmm5
mov dword [esp + 0x28], eax
xor ecx, ecx
mov eax, dword [esp + 0x34]
cmp eax, esi
cmove eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, esi
jne 0x1003af19
mov eax, dword [edi + 0x28]
jmp 0x1003af20
mov eax, dword [esp + 0x38]
add eax, 4
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov eax, esi
shl eax, 3
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x74]
movss xmm2, dword [eax + ecx*8 + 4]
movss xmm0, dword [edx + eax]
addss xmm2, dword [edx + eax + 4]
addss xmm0, dword [eax + ecx*8]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
movaps xmm5, xmm2
mulss xmm2, xmm2
mulss xmm5, dword [0x100ba4c0]
movaps xmm3, xmm0
mulss xmm3, dword [0x100ba4c0]
mulss xmm0, xmm0
addss xmm2, xmm0
mulss xmm2, dword [0x100bded0]
comiss xmm2, dword [0x100d23d8]
jbe 0x1003afa8
movaps xmm1, xmm7
divss xmm1, xmm2
minss xmm1, dword [0x100bdf34]
movaps xmm0, xmm1
mulss xmm5, xmm1
mulss xmm3, xmm0
mov eax, dword [esp + 0x74]
movaps xmm1, xmm3
mulss xmm1, xmm6
movaps xmm2, xmm5
shl esi, 5
add esi, ecx
mulss xmm2, xmm6
movaps xmm0, xmm1
mulss xmm3, xmm4
addss xmm0, dword [eax + edx]
mulss xmm5, xmm4
movss dword [esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax + edx + 4]
movss dword [esi + 4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + edx]
movss dword [esi + 8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [eax + edx + 4]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [eax + edx]
subss xmm0, xmm3
movss dword [esi + 0x10], xmm0
movss xmm0, dword [eax + edx + 4]
subss xmm0, xmm5
movss dword [esi + 0x14], xmm0
movss xmm0, dword [eax + edx]
subss xmm0, xmm1
movss dword [esi + 0x18], xmm0
movss xmm0, dword [eax + edx + 4]
mov eax, dword [esp + 0x78]
subss xmm0, xmm2
movzx eax, ax
mov dword [esp + 0x74], eax
movss dword [esi + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [esp + 0x38]
movzx edi, ax
mov eax, dword [esp + 0x4c]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x38]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x38]
mov word [eax + 6], dx
mov eax, dword [ecx + 0x38]
mov edx, dword [esp + 0x74]
add edx, 2
mov word [eax + 8], dx
mov edx, ecx
lea ecx, [edi + 1]
mov eax, dword [edx + 0x38]
mov word [eax + 0xa], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xc], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0x38]
mov ecx, dword [esp + 0x74]
mov word [eax + 0x10], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x12], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x14], cx
mov eax, dword [edx + 0x38]
mov word [eax + 0x16], si
lea esi, [ecx + 2]
mov eax, dword [edx + 0x38]
lea ecx, [edi + 3]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x38]
lea edx, [edi + 2]
mov edi, dword [esp + 0x4c]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x74]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x22], si
mov eax, dword [esp + 0x78]
add dword [edi + 0x38], 0x24
inc dword [esp + 0x34]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x44]
jl 0x1003aef4
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + 0x10]
mov dword [esp + 0x68], eax
mov ecx, dword [eax - 0x10]
mov edx, dword [eax - 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx - 8]
mov eax, dword [edi + 0x34]
mov edx, dword [edx - 4]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x40], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x4c], ecx
mov eax, dword [esp + 0x68]
add dword [edi + 0x34], 0x50
add eax, 0x20
mov dword [esp + 0x68], eax
sub esi, 1
jne 0x1003b127
jmp 0x1003b66f
movss xmm3, dword [esp + 0x2c]
movss xmm7, dword [0x100ba4c4]
jmp 0x1003b21c
movss xmm3, dword [esp + 0x78]
movss xmm7, dword [0x100ba4c4]
mulss xmm3, xmm6
addss xmm3, xmm7
cmp byte [esp + 0x74], 0
jne 0x1003b2de
mov eax, dword [esp + 0x48]
movaps xmm0, xmm3
movaps xmm1, xmm3
mov edi, dword [esp + 0x48]
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [ecx + 4], xmm0
movaps xmm0, xmm3
movss dword [ecx], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [ecx + 8], xmm2
movaps xmm0, xmm3
movss dword [ecx + 0xc], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [eax + esi*8 - 4]
mulss xmm1, dword [eax + esi*8 - 8]
mov eax, esi
add eax, eax
addss xmm0, dword [edx + esi*8 - 4]
addss xmm1, dword [edx + esi*8 - 8]
movss dword [ecx + eax*8 - 0xc], xmm0
movaps xmm0, xmm3
movss dword [ecx + eax*8 - 0x10], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
movss xmm2, dword [edx + esi*8 - 8]
movss xmm1, dword [edx + esi*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [edi + esi*8 - 4]
mov edi, dword [esp + 0x4c]
subss xmm1, xmm0
movss dword [ecx + eax*8 - 8], xmm2
movss dword [ecx + eax*8 - 4], xmm1
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], eax
jle 0x1003b4ff
movss xmm1, dword [0x100bded0]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], 1
mov dword [esp + 0x28], eax
xor edx, edx
mov eax, dword [esp + 0x78]
cmp eax, esi
cmove eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, esi
jne 0x1003b329
mov eax, dword [edi + 0x28]
jmp 0x1003b33a
movzx eax, byte [esp + 0x63]
mov esi, dword [esp + 0x34]
xor eax, 1
add esi, 2
add eax, esi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
movss xmm2, dword [eax + edx*8 + 4]
movss xmm0, dword [esi + eax]
addss xmm2, dword [esi + eax + 4]
addss xmm0, dword [eax + edx*8]
mov edx, dword [esp + 0x68]
movaps xmm5, xmm2
mulss xmm2, xmm2
movaps xmm4, xmm0
mulss xmm5, xmm6
mulss xmm0, xmm0
mulss xmm4, xmm6
addss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm2, dword [0x100d23d8]
jbe 0x1003b3b8
movaps xmm1, xmm7
divss xmm1, xmm2
minss xmm1, dword [0x100bdf34]
movaps xmm0, xmm1
mulss xmm5, xmm1
movss xmm1, dword [0x100bded0]
mulss xmm4, xmm0
mov eax, dword [esp + 0x2c]
shl eax, 4
add eax, ecx
mulss xmm4, xmm3
mov ecx, dword [esp + 0x30]
mulss xmm5, xmm3
mov esi, dword [esp + 0x34]
movaps xmm0, xmm4
addss xmm0, dword [ecx + edx]
movss dword [eax], xmm0
movaps xmm0, xmm5
addss xmm0, dword [ecx + edx + 4]
movss dword [eax + 4], xmm0
movss xmm0, dword [ecx + edx]
subss xmm0, xmm4
movss dword [eax + 8], xmm0
movss xmm0, dword [ecx + edx + 4]
subss xmm0, xmm5
movss dword [eax + 0xc], xmm0
mov eax, dword [esp + 0x74]
movzx ecx, ax
lea eax, [ecx + 1]
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, si
inc eax
cmp byte [esp + 0x63], 0
movzx eax, ax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x38]
mov word [eax], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov word [eax + 2], cx
mov eax, dword [edi + 0x38]
je 0x1003b46c
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], si
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x74]
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
jmp 0x1003b4dd
mov edx, dword [esp + 0x74]
add ecx, 2
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x74]
movzx ecx, cx
add ecx, 2
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
movzx ecx, dx
mov edx, dword [esp + 0x2c]
mov word [eax + 0xa], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x30]
mov word [eax + 0xc], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0xe], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov esi, dword [esp + 0x74]
mov word [eax + 0x10], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x12], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov word [eax + 0x14], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], dx
add dword [edi + 0x38], 0x18
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
inc dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x44]
jl 0x1003b304
cmp byte [esp + 0x63], 0
je 0x1003b5cf
mov esi, dword [edi + 0x2c]
lea edi, [esp + 8]
mov eax, dword [esp + 0x20]
shl eax, 4
mov esi, dword [esi + 0x1fc]
add esi, eax
mov eax, dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 8]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x28], xmm0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x5c]
add dword [edi + 0x34], 0x28
add eax, 0x10
mov dword [esp + 0x5c], eax
sub esi, 1
jne 0x1003b560
jmp 0x1003b66f
mov ecx, dword [edx]
mov eax, dword [edi + 0x34]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x5c]
add dword [esp + 0x5c], 0x10
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x68]
add edx, 8
mov dword [esp + 0x68], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x38], ecx
add dword [edi + 0x34], 0x3c
sub esi, 1
jne 0x1003b5cf
mov eax, dword [esp + 0x18]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x1003b86d
mov eax, ecx
shl eax, 2
push eax
imul eax, ecx, 6
mov ecx, edi
push eax
call fcn.1003c7c8
xor eax, eax
cmp dword [esp + 0x44], eax
jle 0x1003b86d
movss xmm1, dword [esp + 0x78]
mulss xmm1, dword [0x100ba4c0]
mov edx, dword [esp + 0x68]
lea ecx, [edx + eax*8]
mov dword [esp + 0x68], ecx
lea ecx, [eax + 1]
xor eax, eax
mov dword [esp + 0x74], ecx
cmp ecx, esi
cmove ecx, eax
mov eax, dword [esp + 0x68]
movss xmm3, dword [edx + ecx*8]
movss xmm4, dword [edx + ecx*8 + 4]
movss xmm5, dword [eax]
subss xmm4, dword [eax + 4]
subss xmm3, xmm5
movaps xmm2, xmm4
movaps xmm0, xmm3
mulss xmm2, xmm4
mulss xmm0, xmm3
addss xmm2, xmm0
comiss xmm2, dword [0x100ba4b8]
jbe 0x1003b708
rsqrtss xmm2, xmm2
movaps xmm0, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm0
mov eax, dword [edi + 0x34]
mulss xmm4, xmm1
mov esi, dword [esp + 0x50]
mulss xmm3, xmm1
push 2
addss xmm5, xmm4
movss dword [eax], xmm5
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm3
movss dword [eax + 4], xmm0
movaps xmm0, xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0xc], esi
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x74]
mov dword [eax + 0x10], esi
addss xmm0, dword [edx + ecx*8]
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x54]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm3
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0x20], esi
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x74]
mov dword [eax + 0x24], esi
movss xmm0, dword [edx + ecx*8]
mov eax, dword [edi + 0x34]
subss xmm0, xmm4
mov esi, dword [esp + 0x54]
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x5c]
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax]
mov eax, dword [edi + 0x34]
subss xmm0, xmm4
movss dword [eax + 0x3c], xmm0
mov eax, dword [esp + 0x6c]
addss xmm3, dword [eax + 4]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x40], xmm3
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0x48], esi
mov eax, dword [edi + 0x34]
pop esi
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x38]
add dword [edi + 0x34], 0x50
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov cx, word [edi + 0x28]
mov eax, dword [edi + 0x38]
inc cx
mov word [eax + 2], cx
mov cx, word [edi + 0x28]
mov eax, dword [edi + 0x38]
add cx, si
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx + 6], ax
mov eax, dword [edi + 0x38]
mov cx, word [edi + 0x28]
add cx, si
mov esi, dword [esp + 0x6c]
push 3
mov word [eax + 8], cx
mov cx, word [edi + 0x28]
pop eax
add cx, ax
mov eax, dword [edi + 0x38]
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
add dword [edi + 0x28], 4
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x44]
jl 0x1003b6ad
pop edi
pop esi
add esp, 0x5c
ret 0x14