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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x103b0040]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push edi
mov edi, dword [0x103ca868]
mov dword [esp + 0xd4], edx
mov edx, ecx
mov eax, dword [edi + 0x3e38]
mov byte [eax + 0x90], 1
mov ecx, dword [edi + 0x3e38]
mov dword [esp + 0x80], ecx
cmp byte [ecx + 0x93], 0
je 0x10036724
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.10123fc5
mov esp, ebp
pop ebp
ret
test byte [edi + 0x4684], 1
mov eax, dword [ecx + 0x248]
mov dword [esp + 0x48], eax
je 0x10036741
movss xmm1, dword [edi + 0x4688]
jmp 0x10036749
movss xmm1, dword [ecx + 0x184]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003678b
cmp dword [ecx + 0x174], 0
movss xmm0, dword [ecx + 0x20c]
jne 0x1003676b
cmp dword [edi + 0x49cc], 0
je 0x10036773
movss xmm0, dword [ecx + 0x1dc]
subss xmm0, dword [ecx + 0xd4]
addss xmm0, xmm1
movss xmm1, dword [0x103a39e4]
maxss xmm1, xmm0
mov ecx, edx
mov dword [edi + 0x4684], 0
cvttss2si esi, xmm1
call fcn.10013fe0
call fcn.10015640
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0xa0], edx
test dl, 8
jne 0x100367d5
mov ecx, dword [esp + 0xd4]
call fcn.10039ad0
mov edx, dword [esp + 0xa0]
test edx, 0x6000000
jne 0x100367fa
mov eax, dword [edi + 0x593c]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100367fc
mov ecx, edx
mov dword [esp + 0x40], ecx
test ecx, 0x18000000
jne 0x10036827
mov eax, dword [edi + 0x593c]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x40], ecx
test cl, 8
jne 0x1003683d
mov eax, dword [edi + 0x593c]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x40], ecx
mov eax, ecx
movss xmm2, dword [edi + 0x37ec]
and eax, 2
movd xmm6, esi
mov dword [esp + 0x100], eax
mov edx, ecx
mov eax, dword [esp + 0x80]
and edx, 0x10002
movaps xmm0, xmm2
mov dword [esp + 0xa0], edx
cvtdq2ps xmm6, xmm6
mov dword [esp + 0xb4], 0
movss xmm3, dword [eax + 0xd4]
movss xmm4, dword [eax + 0xd8]
mov eax, dword [0x103ca868]
movss dword [esp + 0x84], xmm3
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x88], xmm4
movss xmm5, dword [eax + 0x37d8]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x3bc4]
xor eax, eax
cmp edx, 0x10000
sete al
inc eax
addss xmm5, dword [0x103a3a48]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm5, dword [0x103a3a70]
addss xmm0, xmm5
movss dword [esp + 0x58], xmm5
mulss xmm1, xmm0
movaps xmm0, xmm5
subss xmm6, xmm1
movaps xmm1, xmm3
maxss xmm0, xmm6
addss xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movaps xmm7, xmm0
movaps xmm6, xmm0
mulss xmm6, dword [0x103a3970]
mulss xmm7, dword [0x103a39a4]
addss xmm1, xmm2
movss dword [esp + 0x9c], xmm6
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x5c], xmm1
addss xmm1, xmm5
addss xmm1, xmm2
movaps xmm2, xmm7
subss xmm2, xmm6
movaps xmm6, xmm0
mulss xmm0, dword [0x103a3960]
addss xmm6, xmm5
movss dword [esp + 0xc8], xmm1
movaps xmm1, xmm7
cvttss2si eax, xmm0
mulss xmm6, dword [0x103a39a4]
addss xmm1, xmm4
movss dword [esp + 0x98], xmm2
movd xmm0, eax
addss xmm6, xmm3
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0x108], xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
movss dword [esp + 0xc4], xmm6
movss dword [esp + 0x104], xmm6
movaps xmm0, xmm1
movss dword [esp + 0xb0], xmm1
mulss xmm0, dword [0x103a3b60]
movaps xmm2, xmm1
mulss xmm2, dword [0x103a3b70]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x103a39d0]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x54], xmm0
mov esi, dword [esp + 0xd4]
movss xmm7, dword [0x103a3938]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esi]
movss xmm3, dword [esi + 4]
movaps xmm2, xmm0
movss xmm1, dword [esi + 8]
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x50], xmm2
movaps xmm2, xmm3
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x78], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x7c], xmm2
test ecx, 0x8000000
je 0x10036b3a
comiss xmm1, xmm3
xorps xmm5, xmm5
movaps xmm4, xmm3
movaps xmm6, xmm1
jbe 0x10036a92
movss xmm5, dword [0x103a3b74]
movaps xmm4, xmm1
movaps xmm6, xmm3
comiss xmm4, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x3c], xmm2
jbe 0x10036abb
movaps xmm2, xmm4
movaps xmm4, xmm0
movss xmm0, dword [0x103a3b58]
subss xmm0, xmm5
movss dword [esp + 0x3c], xmm2
movaps xmm5, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x20], xmm2
minss xmm0, xmm6
movaps xmm1, xmm2
subss xmm4, xmm6
mov ecx, esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x103a3a68]
addss xmm0, xmm7
divss xmm4, xmm0
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm4, xmm5
divss xmm1, xmm0
andps xmm4, xmmword [0x103a3dd0]
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm1
call fcn.100359e0
movss xmm0, dword [esp + 0x18]
add esp, 8
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x20], xmm0
jmp 0x10036b7e
test ecx, 0x10000000
je 0x10036b7e
lea eax, [esp + 0x7c]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x54]
call fcn.10005130
movss xmm0, dword [esp + 0x54]
add esp, 4
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x38], xmm0
mov byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
call fcn.10013b80
mov eax, dword [esp + 0x40]
test eax, 0x4000000
je 0x1003714b
movss xmm1, dword [esp + 0x1c]
lea edx, [esp + 0x60]
movaps xmm0, xmm1
movss dword [esp + 0x64], xmm1
addss xmm0, dword [edi + 0x37ec]
push ecx
mov ecx, 0x10390518
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x64], xmm0
call fcn.1002baf0
mov eax, dword [0x103ca868]
add esp, 4
mov ecx, dword [eax + 0x3e70]
test ecx, ecx
je 0x1003706e
cmp ecx, dword [eax + 0x4698]
jne 0x1003706e
movss xmm0, dword [edi + 0x36a8]
subss xmm0, dword [esp + 0xd0]
movss xmm1, dword [edi + 0x36a4]
subss xmm1, dword [esp + 0xc4]
movss xmm2, dword [edi + 0xdb8]
movss xmm3, dword [edi + 0xdbc]
subss xmm2, dword [esp + 0xc4]
subss xmm3, dword [esp + 0xd0]
movaps xmm4, xmm0
movss dword [esp + 0xac], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x80], xmm1
movss xmm1, dword [0x103a39e4]
addss xmm4, xmm0
movss dword [esp + 0x14], xmm2
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
movss dword [esp + 0xf4], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x10036d02
movss xmm0, dword [esp + 0x4c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x10036d02
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x103a3a4c]
xorps xmm0, xmm0
fstp qword [esp + 0x60]
movsd xmm1, qword [esp + 0x60]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x103a39a4]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x10036cfa
addss xmm1, dword [0x103a39e4]
movss dword [esp + 0x18], xmm1
mov cl, 1
mov byte [esp + 0xd], cl
jmp 0x10036d14
mov cl, byte [esp + 0xd]
movss xmm2, dword [0x103a3a4c]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mov byte [esp + 0xf], cl
xorps xmm0, xmmword [0x103a3e00]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x80]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xac]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x10]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0xb0]
mulss xmm1, dword [esp + 0x10]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xf8], xmm5
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x54]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xa4]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0xa4]
movss dword [esp + 0x80], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xac], xmm5
movss dword [esp + 0x60], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10037066
movss xmm0, dword [esp + 0x54]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x10037066
movss xmm6, dword [esp + 0x14]
movss xmm1, dword [esp + 0xf4]
movaps xmm7, xmm6
movss xmm3, dword [esp + 0xf8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm7, dword [esp + 0x10]
movss xmm4, dword [esp + 0xa4]
mulss xmm0, xmm3
mulss xmm6, xmm3
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xf8], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xfc], xmm6
subss xmm0, dword [esp + 0x54]
mulss xmm1, dword [esp + 0x80]
mulss xmm0, dword [esp + 0xac]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa8]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x60]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0xcc]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10036f6c
movss xmm3, dword [esp + 0xb0]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x54]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10036fb2
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x6c]
call fcn.100045f0
movss xmm3, dword [esp + 0xbc]
add esp, 0xc
movss xmm4, dword [esp + 0xa4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x54]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa8]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x103a3948]
movaps xmm0, xmm7
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x103a39e4]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x10037037
movaps xmm0, xmm2
jmp 0x1003703e
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x3c], xmm0
comiss xmm2, xmm3
ja 0x1003705a
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
mov byte [esp + 0xe], 1
mov byte [esp + 0xd], 1
jmp 0x1003706e
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
test byte [esp + 0x40], 8
jne 0x1003707a
call fcn.10016850
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0x1c]
cmp dword [esp + 0xa0], 0x10000
jne 0x1003732f
mov ecx, dword [0x103ca868]
lea edx, [esp + 0x28]
movss xmm0, dword [esp + 0xc8]
push ecx
movss dword [esp + 0x30], xmm2
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, str.alpha
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 0xd8], xmm3
mov byte [eax + 0x115], 1
movss dword [esp + 0x2c], xmm0
call fcn.1002baf0
mov eax, dword [0x103ca868]
add esp, 4
xorps xmm7, xmm7
mov ecx, dword [eax + 0x3e70]
test ecx, ecx
je 0x10037332
cmp ecx, dword [eax + 0x4698]
jne 0x10037332
movss xmm2, dword [edi + 0xdbc]
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x103a39e4]
subss xmm2, dword [esp + 0x24]
subss xmm0, xmm1
divss xmm2, xmm0
comiss xmm7, xmm2
jbe 0x10037315
xorps xmm3, xmm3
jmp 0x1003731c
test eax, 0x2000000
je 0x1003707a
movss xmm0, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
mov ecx, 0x1039051c
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.1002baf0
mov ecx, dword [0x103ca868]
add esp, 4
mov eax, dword [ecx + 0x3e70]
test eax, eax
je 0x10037212
cmp eax, dword [ecx + 0x4698]
jne 0x10037212
movss xmm4, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [0x103a39e4]
movss xmm3, dword [edi + 0xdb8]
subss xmm4, xmm1
subss xmm3, dword [esp + 0x84]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x100371cd
movss dword [esp + 0x20], xmm0
jmp 0x100371da
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
movss xmm2, dword [edi + 0xdbc]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100371f6
xorps xmm3, xmm3
jmp 0x100371fd
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xd], al
movss dword [esp + 0x3c], xmm0
jmp 0x10037216
mov al, byte [esp + 0xd]
test byte [esp + 0x40], 8
mov byte [esp + 0xe], al
mov byte [esp + 0x97], al
jne 0x10037233
call fcn.10016850
mov ecx, dword [0x103ca868]
mov eax, dword [ecx + 0x3e38]
lea edx, [esp + 0x28]
movss xmm0, dword [esp + 0x5c]
push ecx
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, 0x10390520
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xd8], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x20]
mov byte [eax + 0x115], 1
movss dword [esp + 0x30], xmm0
call fcn.1002baf0
mov ecx, dword [0x103ca868]
add esp, 4
mov edx, dword [ecx + 0x3e70]
test edx, edx
je 0x1003707a
mov al, byte [esp + 0xd]
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0x1c]
mov byte [esp + 0xe], al
cmp edx, dword [ecx + 0x4698]
jne 0x10037086
movss xmm4, dword [edi + 0xdbc]
movaps xmm0, xmm2
movss xmm1, dword [0x103a39e4]
subss xmm4, xmm3
subss xmm0, xmm1
divss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm4
ja 0x100372f5
movaps xmm0, xmm1
minss xmm0, xmm4
mov al, byte [esp + 0x97]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xe], al
jmp 0x10037086
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0xd], 1
subss xmm0, xmm3
movss dword [esi + 0xc], xmm0
jmp 0x10037332
xorps xmm7, xmm7
mov edx, dword [0x103ca868]
dec dword [edx + 0x4764]
cmp byte [esp + 0xf], 0
mov eax, dword [edx + 0x476c]
mov ecx, dword [edx + 0x4764]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x467c], eax
jne 0x10037366
cmp byte [esp + 0xe], 0
je 0x10037441
mov eax, dword [esp + 0x40]
test eax, 0x8000000
je 0x1003754a
movss xmm2, dword [esp + 0x3c]
lea eax, [esi + 8]
movss xmm1, dword [esp + 0x20]
lea edx, [esi + 4]
movss xmm0, dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.10005130
movss xmm0, dword [esp + 0x1c]
xorps xmm7, xmm7
movss dword [edi + 0x5940], xmm0
add esp, 4
movss xmm0, dword [esp + 0x20]
movss dword [edi + 0x5944], xmm0
movss xmm1, dword [esi]
comiss xmm7, xmm1
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
movss xmm0, dword [0x103a39e4]
jbe 0x100373d7
xorps xmm2, xmm2
jmp 0x100373de
movaps xmm2, xmm0
minss xmm2, xmm1
comiss xmm7, xmm4
movss xmm3, dword [0x103a3b04]
movss xmm1, dword [0x103a39a4]
mulss xmm2, xmm3
addss xmm2, xmm1
cvttss2si ecx, xmm2
jbe 0x10037404
xorps xmm2, xmm2
jmp 0x1003740b
movaps xmm2, xmm0
minss xmm2, xmm4
mulss xmm2, xmm3
addss xmm2, xmm1
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm7, xmm5
jbe 0x10037426
xorps xmm0, xmm0
jmp 0x1003742a
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5948], eax
mov eax, dword [esp + 0x40]
cmp byte [esp + 0xd], 0
je 0x100375e3
test eax, 0x8000000
je 0x1003757a
movss xmm1, dword [esi + 4]
xorps xmm4, xmm4
movss xmm2, dword [esi + 8]
movaps xmm3, xmm1
comiss xmm2, xmm1
movss xmm0, dword [esi]
movaps xmm5, xmm2
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x38], xmm2
jbe 0x10037497
movss xmm4, dword [0x103a3b74]
movaps xmm3, xmm2
movaps xmm5, xmm1
comiss xmm3, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x3c], xmm2
jbe 0x100374c0
movaps xmm2, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x103a3b58]
subss xmm0, xmm4
movss dword [esp + 0x3c], xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x20], xmm2
minss xmm0, xmm5
movaps xmm1, xmm2
subss xmm3, xmm5
mov ecx, esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x103a3a68]
addss xmm0, dword [0x103a3938]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x103a3938]
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x103a3dd0]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x1c], xmm1
call fcn.100359e0
movss xmm3, dword [esp + 0x18]
add esp, 8
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x20], xmm0
jmp 0x100375e9
test eax, 0x10000000
je 0x10037445
movss xmm0, dword [esp + 0x18]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esi + 8], xmm0
jmp 0x10037445
test eax, 0x10000000
je 0x100375e3
movss xmm1, dword [esi + 8]
lea eax, [esp + 0x7c]
movss xmm3, dword [esi + 4]
lea edx, [esp + 0x78]
movss xmm0, dword [esi]
lea ecx, [esp + 0x50]
movss dword [esp + 0x3c], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x24], xmm3
call fcn.10005130
movss xmm0, dword [esp + 0x54]
add esp, 4
movss dword [esp + 0x74], xmm0
xorps xmm7, xmm7
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x38], xmm0
movss xmm3, dword [esp + 0x18]
movss xmm2, dword [edi + 0x3798]
comiss xmm7, xmm2
movss xmm0, dword [0x103a39e4]
ja 0x10037605
movaps xmm7, xmm0
minss xmm7, xmm2
mulss xmm7, dword [0x103a3b04]
movaps xmm1, xmm0
mov dword [esp + 0x28], 0x3f800000
movss dword [esp + 0x34], xmm2
movaps xmm2, xmm0
movaps xmm0, xmm3
mov dword [esp + 0x2c], 0x3f800000
addss xmm7, dword [0x103a39a4]
mov dword [esp + 0x30], 0x3f800000
cvttss2si edx, xmm7
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x80], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x7c], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xd8], ecx
or eax, 0x808080
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x28]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xdc], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xe0], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xe4], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x2c]
mov dword [esp + 0xec], eax
lea eax, [esp + 0x30]
push eax
call fcn.10005130
movss xmm0, dword [esp + 0x2c]
xorps xmm6, xmm6
movss xmm7, dword [0x103a39e4]
add esp, 4
comiss xmm6, xmm0
jbe 0x100376ef
xorps xmm1, xmm1
jmp 0x100376f6
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [0x103a3b04]
movss xmm0, dword [0x103a39a4]
movss xmm3, dword [esp + 0x2c]
comiss xmm6, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si ecx, xmm1
jbe 0x10037722
xorps xmm1, xmm1
jmp 0x10037729
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0x30]
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm6, xmm3
jbe 0x1003774a
xorps xmm1, xmm1
jmp 0x10037751
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0x34]
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm3
jbe 0x10037772
xorps xmm1, xmm1
jmp 0x10037779
movaps xmm1, xmm7
minss xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x38]
cvttss2si eax, xmm1
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x3798]
shl eax, 0x18
or eax, ecx
movss dword [esp + 0x34], xmm0
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], eax
call fcn.10005080
mov edi, dword [esp + 0x48]
xorps xmm2, xmm2
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm6
test eax, 0x4000000
je 0x1003801a
movss xmm1, dword [esp + 0x4c]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x103a39a4]
movss xmm2, dword [esp + 0x98]
divss xmm3, xmm1
cvttss2si ecx, xmm1
addss xmm2, xmm1
movss dword [esp + 0x40], xmm3
imul ecx
mulss xmm2, dword [0x103a39a4]
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xf4], xmm2
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x38], eax
movd xmm1, eax
lea eax, [esp + 0x104]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm7
divss xmm0, dword [0x103a3a68]
divss xmm1, dword [0x103a3a68]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x103a3a4c]
mulss xmm1, dword [0x103a3a4c]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x5c], xmm1
call fcn.10020ea0
movss xmm0, dword [esp + 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x84]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001f870
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x50]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x50]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x44]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x60]
movss xmm5, dword [esp + 0xcc]
subss xmm2, xmm4
mov eax, dword [esp + 0x38]
cvtsd2ss xmm3, xmm0
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + eax*4 + 0xd8]
mov eax, dword [edi + 0x18]
movss xmm7, dword [0x103a39e4]
movaps xmm0, xmm2
mulss xmm3, dword [esp + 0x98]
movaps xmm6, xmm7
mulss xmm0, xmm2
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
movss dword [esp + 0x44], xmm2
addss xmm3, dword [esp + 0xd0]
subss xmm3, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
divss xmm6, xmm1
mov dword [esp + 0x60], eax
movzx eax, cl
mov dword [esp + 0x10], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x5c], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + eax*4 + 0xdc]
movzx eax, cl
sub eax, dword [esp + 0x10]
mov dword [esp + 0xcc], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x5c]
shr ecx, 0x10
mov dword [esp + 0x14], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x60]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x50]
mov dword [esp + 0xf8], ecx
cmp edx, esi
jae 0x10037b26
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xcc]
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm4
subss xmm1, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x10037a8e
xorps xmm2, xmm2
jmp 0x10037a95
movaps xmm2, xmm7
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x50]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x5c]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x44]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0xf8]
cmp edx, esi
jb 0x10037a60
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
movss xmm2, dword [esp + 0xf4]
inc eax
movss xmm3, dword [esp + 0x40]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x38], eax
cmp eax, 6
jl 0x10037850
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x103a3a28]
mulss xmm0, dword [0x103a3a4c]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0xf], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x98]
addss xmm2, dword [esp + 0x4c]
cvtsd2ss xmm3, xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, xmm2
movss xmm1, dword [esp + 0x9c]
movss dword [esp + 0x84], xmm3
mulss xmm0, dword [0x103a39a4]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
mulss xmm0, dword [0x103a39a4]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x64], xmm0
je 0x10037c02
mulss xmm1, dword [0x103a39b0]
jmp 0x10037c0a
mulss xmm1, dword [0x103a39a8]
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
divss xmm0, dword [0x103a3a00]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x10037c2e
mov esi, 9
jmp 0x10037c38
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
push esi
push dword [esp + 0x7c]
lea eax, [esp + 0x68]
movaps xmm2, xmm1
push eax
mov ecx, edi
call fcn.10021fa0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x60]
addss xmm2, dword [0x103a39e4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0xb4]
push eax
call fcn.10021ee0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x60]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x84]
push esi
push eax
call fcn.10021ee0
movss xmm3, dword [esp + 0x48]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x84]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0xb0]
movaps xmm0, xmm4
mov eax, dword [0x103ca868]
movss xmm5, dword [esp + 0xc4]
mulss xmm0, xmm1
movss xmm7, dword [esp + 0xd0]
movss xmm6, dword [esp + 0xa4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm5
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0xd8], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0xb0]
addss xmm2, xmm0
movss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm4
addss xmm2, xmm7
movss dword [esp + 0x38], xmm2
movss dword [esp + 0xdc], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
movss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm3
addss xmm0, xmm6
addss xmm1, xmm5
addss xmm0, xmm7
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esp + 0x54]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss xmm0, dword [eax + 0x3bcc]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 0x3bd0]
addss xmm1, xmm6
addss xmm2, xmm5
addss xmm1, xmm7
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x104], xmm2
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x108], xmm1
push 6
push 6
mov ecx, edi
movss dword [esp + 0x68], xmm0
call fcn.1001f610
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm3, dword [esp + 0x4c]
movss xmm4, dword [esp + 0x38]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x84]
movss xmm1, dword [esp + 0x60]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x78]
movss xmm2, dword [esp + 0x10]
movss xmm6, dword [esp + 0x14]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x48]
movss xmm7, dword [esp + 0x54]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm7
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0xb0]
movss dword [eax], xmm5
movss dword [eax + 4], xmm7
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x10c]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.10021cb0
movss xmm0, dword [0x103a39e4]
xorps xmm6, xmm6
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x3c]
comiss xmm6, xmm1
jbe 0x10037fa0
xorps xmm3, xmm3
jmp 0x10037fa7
movaps xmm3, xmm0
minss xmm3, xmm1
movss xmm1, dword [esp + 0x20]
comiss xmm6, xmm1
ja 0x10037fb9
movaps xmm6, xmm0
minss xmm6, xmm1
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x48]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
mulss xmm0, xmm6
addss xmm0, dword [esp + 0x48]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0x10], xmm2
mulss xmm0, xmm6
addss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x100384e2
test eax, 0x2000000
je 0x100384e9
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push ecx
push eax
push eax
movss dword [esp + 0xbc], xmm0
lea eax, [esp + 0xbc]
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x98]
mov ecx, edi
push eax
movss dword [esp + 0xcc], xmm0
call fcn.10021b30
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x104]
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x1c]
push ecx
push ecx
push 0
push 0
push eax
movss dword [esp + 0x118], xmm0
lea eax, [esp + 0x98]
movss xmm0, dword [esp + 0xc8]
mov ecx, edi
push eax
movss dword [esp + 0x120], xmm0
call fcn.10021b30
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x64], xmm0
xorps xmm0, xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x90]
push dword [esp + 0x90]
call fcn.10006de0
movss xmm2, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x103a39e4]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10038123
xorps xmm4, xmm4
jmp 0x1003812a
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x84]
movss xmm5, dword [0x103a39a4]
movaps xmm2, xmm6
mulss xmm4, xmm3
movss xmm7, dword [0x103a3a28]
addss xmm2, xmm7
addss xmm4, xmm6
addss xmm6, xmm3
movss dword [esp + 0x10], xmm2
addss xmm4, xmm5
subss xmm6, xmm7
cvttss2si eax, xmm4
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm2, xmm4
ja 0x1003818d
comiss xmm4, xmm6
jbe 0x10038184
movaps xmm2, xmm6
jmp 0x10038187
movaps xmm2, xmm4
movss dword [esp + 0x10], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x100381a0
xorps xmm1, xmm1
jmp 0x100381a4
minss xmm1, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm1, xmm3
movss xmm0, dword [esp + 0xb4]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x14], xmm1
comiss xmm1, xmm6
ja 0x100381ee
comiss xmm6, xmm0
jbe 0x100381e8
movaps xmm6, xmm0
movss dword [esp + 0x14], xmm6
movss xmm4, dword [esp + 0x5c]
movaps xmm1, xmm3
divss xmm1, dword [0x103a3a68]
xor ecx, ecx
movaps xmm0, xmm4
movss dword [esp + 0x28], xmm4
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x104], xmm0
mov eax, dword [esp + ecx*4 + 0xdc]
lea esi, [ecx + 1]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x10c]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x110], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe0]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x44], xmm0
call fcn.10021b30
movss xmm1, dword [esp + 0x84]
mov ecx, esi
movss xmm2, dword [esp + 0x24]
cmp ecx, 6
jl 0x10038222
movss xmm0, dword [esp + 0x18]
movaps xmm3, xmm2
mulss xmm0, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x5c]
movaps xmm1, xmm4
movss dword [esp + 0x88], xmm3
addss xmm1, dword [esp + 0x58]
addss xmm0, xmm3
movss dword [esp + 0x84], xmm4
movss dword [esp + 0xb0], xmm1
addss xmm0, dword [0x103a39a4]
cvttss2si esi, xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xb4], xmm0
xorps xmm0, xmm0
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0x90]
push dword [esp + 0x90]
call fcn.10006de0
movaps xmm0, xmmword [0x103a3ce0]
lea ecx, [esp + 0xe8]
movss xmm1, dword [esp + 0x6c]
add esp, 0x10
movups xmmword [esp + 0xd8], xmm0
movaps xmm0, xmmword [0x103a3ce0]
movups xmmword [esp + 0xb0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movups xmmword [esp + 0x84], xmm0
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x104], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x108], xmm0
subss xmm0, dword [0x103a3a84]
movss dword [esp + 0x2c], xmm0
call fcn.10005080
push eax
lea ecx, [esp + 0xb4]
call fcn.10005080
push eax
lea ecx, [esp + 0x8c]
call fcn.10005080
push eax
lea ecx, [esp + 0x6c]
call fcn.10005080
push eax
lea eax, [esp + 0x114]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10021b30
movaps xmm0, xmmword [0x103a3ce0]
lea ecx, [esp + 0xd8]
movss xmm1, dword [esp + 0x5c]
movups xmmword [esp + 0xd8], xmm0
movaps xmm0, xmmword [0x103a3ce0]
movups xmmword [esp + 0xb0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movups xmmword [esp + 0x84], xmm0
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x104], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x108], xmm0
addss xmm0, dword [0x103a3a84]
movss dword [esp + 0x2c], xmm0
call fcn.10005080
push eax
lea ecx, [esp + 0xb4]
call fcn.10005080
push eax
lea ecx, [esp + 0x8c]
call fcn.10005080
push eax
lea ecx, [esp + 0x6c]
call fcn.10005080
push eax
lea eax, [esp + 0x114]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10021b30
movaps xmm0, xmmword [0x103a3d80]
movss xmm2, dword [esp + 0x5c]
movups xmmword [esp + 0xd8], xmm0
push ecx
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [esp + 0x5c]
lea ecx, [esp + 0xdc]
mov dword [esp], 0x3f800000
subss xmm0, dword [0x103a39e4]
movss dword [esp + 0x108], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.10005080
push eax
lea eax, [esp + 0x10c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.100217a0
mov esi, dword [esp + 0xd4]
mov ecx, dword [0x103ca868]
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x5c]
mov byte [eax + 0x115], 1
subss xmm0, dword [0x103a3a84]
movss dword [eax + 0xd4], xmm0
mov edx, dword [ecx + 0x3e38]
mov eax, edx
cmp dword [eax + 0x174], 0
movss xmm0, dword [eax + 0x20c]
jne 0x10038545
cmp dword [ecx + 0x49cc], 0
je 0x1003854d
movss xmm0, dword [eax + 0x1dc]
subss xmm0, dword [edx + 0xd4]
push 1
push ecx
lea edx, [esp + 0x10c]
mov dword [esp + 0x110], 0x41a00000
mov ecx, str.copy
mulss xmm0, dword [0x103a39a4]
subss xmm0, dword [0x103a3a8c]
movss dword [esp + 0x10c], xmm0
call fcn.1002b310
add esp, 8
test al, al
je 0x100385b6
xor eax, eax
cmp dword [esp + 0x100], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push esi
push 0x103b0e0c
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movss xmm1, dword [0x103a3b74]
xorps xmm0, xmm0
call fcn.100153d0
mov eax, dword [0x103ca868]
mov edx, dword [eax + 0x3e38]
mov ecx, edx
cmp dword [ecx + 0x174], 0
movss xmm0, dword [ecx + 0x20c]
jne 0x100385ed
cmp dword [eax + 0x49cc], 0
je 0x100385f5
movss xmm0, dword [ecx + 0x1dc]
subss xmm0, dword [edx + 0xd4]
push 1
push ecx
lea edx, [esp + 0x10c]
mov dword [esp + 0x110], 0x41a00000
mov ecx, str.paste
subss xmm0, dword [0x103a3ab0]
movss dword [esp + 0x10c], xmm0
call fcn.1002b310
add esp, 8
test al, al
je 0x1003865b
xor eax, eax
cmp dword [esp + 0x100], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push 0x103b0e0c
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xd], 1
test dword [esp + 0x74], 0xff000000
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
movaps xmm3, xmm2
addss xmm3, dword [0x103a3a28]
movaps xmm4, xmm1
addss xmm4, dword [0x103a3a28]
movss dword [esp + 0x84], xmm3
movss dword [esp + 0x60], xmm4
je 0x10038756
test byte [edi + 0x24], 1
lea eax, [esp + 0x104]
movaps xmm5, xmm2
movaps xmm6, xmm1
movss xmm2, dword [0x103a39a4]
movaps xmm0, xmm3
addss xmm5, xmm2
mov ecx, edi
addss xmm6, xmm2
xorps xmm3, xmm3
push 0
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x34], xmm6
push eax
je 0x100386ef
subss xmm0, xmm2
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
jmp 0x1003870b
subss xmm0, dword [0x103a39a0]
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm4
subss xmm0, dword [0x103a39a0]
movss dword [esp + 0x114], xmm0
call fcn.100212e0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x7c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001f870
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0x10]
movss xmm3, dword [esp + 0x84]
movss xmm4, dword [esp + 0x60]
mov dword [edi + 0x54], 0
movaps xmm0, xmmword [0x103a3d40]
movups xmmword [esp + 0xd8], xmm0
push ecx
movss xmm0, dword [0x103a39e4]
addss xmm3, xmm0
mov dword [esp], 0x3f800000
addss xmm4, xmm0
subss xmm2, xmm0
subss xmm1, xmm0
push 0
push ecx
lea ecx, [esp + 0xe4]
movss dword [esp + 0x110], xmm3
movss dword [esp + 0x114], xmm4
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm1
mov dword [esp], 0
call fcn.10005080
push eax
lea eax, [esp + 0x114]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.100218d0
cmp dword [esp + 0xa0], 0x10000
jne 0x10038a91
movss xmm1, dword [esi + 0xc]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100387f8
movss xmm0, dword [0x103a39e4]
minss xmm0, xmm1
mov ecx, dword [esp + 0x74]
mov eax, ecx
movss xmm1, dword [esp + 0x24]
and eax, 0xffffff
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x104], xmm0
addss xmm0, dword [esp + 0x58]
push eax
push eax
push ecx
push ecx
movss dword [esp + 0x5c], xmm0
lea eax, [esp + 0x11c]
movss dword [esp + 0x11c], xmm0
mov ecx, edi
movaps xmm0, xmm1
movss dword [esp + 0x118], xmm1
addss xmm0, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x118]
push eax
movss dword [esp + 0x128], xmm0
call fcn.10021b30
movss xmm0, dword [0x103a39e4]
subss xmm0, dword [esp + 0xa0]
push dword [esp + 0x110]
push dword [esp + 0x110]
mulss xmm0, dword [esp + 0x24]
push dword [esp + 0x110]
addss xmm0, dword [esp + 0x30]
push dword [esp + 0x110]
addss xmm0, dword [0x103a39a4]
cvttss2si esi, xmm0
xorps xmm0, xmm0
call fcn.10006de0
movaps xmm0, xmmword [0x103a3ce0]
lea ecx, [esp + 0xe8]
movss xmm1, dword [esp + 0xd8]
add esp, 0x10
movups xmmword [esp + 0xd8], xmm0
movaps xmm0, xmmword [0x103a3ce0]
movups xmmword [esp + 0xb0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movups xmmword [esp + 0x84], xmm0
movups xmmword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x104], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x108], xmm0
subss xmm0, dword [0x103a3a84]
movss dword [esp + 0x2c], xmm0
call fcn.10005080
push eax
lea ecx, [esp + 0xb4]
call fcn.10005080
push eax
lea ecx, [esp + 0x8c]
call fcn.10005080
push eax
lea ecx, [esp + 0x6c]
call fcn.10005080
push eax
lea eax, [esp + 0x114]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10021b30
movaps xmm0, xmmword [0x103a3ce0]
movups xmmword [esp + 0xd8], xmm0
movaps xmm0, xmmword [0x103a3ce0]
movups xmmword [esp + 0xb0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x84], xmm0
movups xmmword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x104], xmm0
movd xmm0, esi
movss xmm1, dword [esp + 0xc8]
lea ecx, [esp + 0xd8]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x108], xmm0
addss xmm0, dword [0x103a3a84]
movss dword [esp + 0x2c], xmm0
call fcn.10005080
push eax
lea ecx, [esp + 0xb4]
call fcn.10005080
push eax
lea ecx, [esp + 0x8c]
call fcn.10005080
push eax
lea ecx, [esp + 0x6c]
call fcn.10005080
push eax
lea eax, [esp + 0x114]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10021b30
movaps xmm0, xmmword [0x103a3d80]
movss xmm1, dword [esp + 0xc8]
movups xmmword [esp + 0xd8], xmm0
push ecx
movss xmm0, dword [esp + 0x50]
lea ecx, [esp + 0xdc]
subss xmm0, dword [0x103a39e4]
movss dword [esp + 0x2c], xmm1
mov dword [esp], 0x3f800000
movss dword [esp + 0x108], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.10005080
push eax
lea eax, [esp + 0x10c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.100217a0
call fcn.10015770
mov al, byte [esp + 0xd]
mov ecx, dword [0x103ca868]
test al, al
je 0x10038ab4
or dword [ecx + 0x46a0], 4
mov word [ecx + 0x3e80], 0x101
mov ecx, dword [ecx + 0x3e38]
pop edi
pop esi
dec dword [ecx + 0xc8]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.10123fc5
mov esp, ebp
pop ebp
ret