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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x103b0024]
xor eax, esp
mov dword [esp + 0x134], eax
mov dword [esp + 0x34], edx
mov edx, ecx
mov ecx, dword [0x103ca828]
push esi
push edi
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
mov dword [esp + 0xe8], eax
cmp byte [eax + 0x93], 0
je 0x10036555
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.101238be
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x4684], 1
mov edi, dword [eax + 0x248]
mov dword [esp + 0xd0], edi
je 0x10036575
movss xmm1, dword [ecx + 0x4688]
jmp 0x1003657d
movss xmm1, dword [eax + 0x184]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100365bf
cmp dword [eax + 0x174], 0
movss xmm0, dword [eax + 0x20c]
jne 0x1003659f
cmp dword [ecx + 0x49cc], 0
je 0x100365a7
movss xmm0, dword [eax + 0x1dc]
subss xmm0, dword [eax + 0xd4]
addss xmm0, xmm1
movss xmm1, dword [0x103a2784]
maxss xmm1, xmm0
mov dword [ecx + 0x4684], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.100141e0
call fcn.10015840
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0x50], ecx
test cl, 8
jne 0x10036602
mov edx, ecx
mov ecx, dword [esp + 0x3c]
call fcn.100399e0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
test ecx, 0x6000000
jne 0x1003662b
mov eax, dword [edx + 0x593c]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
test ecx, 0x18000000
jne 0x1003665f
mov eax, dword [edx + 0x593c]
test eax, 0x18000000
mov edx, 0xa900000
cmovne edx, eax
mov eax, edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x14]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x48], ecx
test cl, 8
jne 0x10036675
mov eax, dword [edx + 0x593c]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x48], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x37ec]
and eax, 2
mov dword [esp + 0xa0], 0
mov dword [esp + 0x4c], eax
movaps xmm0, xmm2
mov eax, ecx
and eax, 0x10002
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xe8]
movss xmm5, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd8]
mov eax, dword [0x103ca828]
movss dword [esp + 0xe8], xmm5
movss dword [esp + 0xc0], xmm5
movss dword [esp + 0x1c], xmm3
movss xmm7, dword [eax + 0x37d8]
addss xmm7, xmm7
movss dword [esp + 0xc4], xmm3
addss xmm7, dword [eax + 0x3bc4]
xor eax, eax
cmp dword [esp + 0x50], 0x10000
sete al
inc eax
addss xmm7, dword [0x103a27e8]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm7, dword [0x103a2810]
addss xmm0, xmm7
movss dword [esp + 0xe4], xmm7
mulss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
movaps xmm4, xmm1
mulss xmm4, dword [0x103a2710]
movss dword [esp + 0x40], xmm0
addss xmm0, xmm2
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x84], xmm0
addss xmm0, xmm7
movss dword [esp + 0xbc], xmm0
addss xmm0, xmm2
movaps xmm2, xmm1
mulss xmm2, dword [0x103a2744]
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm2
addss xmm0, xmm3
movaps xmm6, xmm2
subss xmm6, xmm4
movaps xmm4, xmm1
addss xmm4, xmm7
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0x130], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x103a2700]
movaps xmm1, xmm6
mulss xmm4, dword [0x103a2744]
cvttss2si eax, xmm0
addss xmm4, xmm5
movss dword [esp + 0x98], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xac], xmm4
subss xmm1, xmm0
movss dword [esp + 0x12c], xmm4
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
mulss xmm0, dword [0x103a2910]
movaps xmm2, xmm1
mulss xmm2, dword [0x103a2920]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x24], xmm2
mov eax, dword [esp + 0x3c]
movss xmm3, dword [eax + 4]
lea edx, [eax + 4]
movss xmm7, dword [0x103a26d8]
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x103a2770]
mov dword [esp + 0xb8], edx
lea edx, [eax + 8]
movss xmm1, dword [edx]
mov dword [esp + 0x104], edx
mov edx, ecx
movss dword [esp + 0x54], xmm0
and edx, 0x8000000
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [eax]
movaps xmm2, xmm0
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x64], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x60], xmm2
mov dword [esp + 0x44], edx
je 0x100369a1
comiss xmm1, xmm3
xorps xmm5, xmm5
movaps xmm4, xmm3
movaps xmm6, xmm1
jbe 0x100368f9
movss xmm5, dword [0x103a2924]
movaps xmm4, xmm1
movaps xmm6, xmm3
comiss xmm4, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x34], xmm2
jbe 0x10036922
movaps xmm2, xmm4
movaps xmm4, xmm0
movss xmm0, dword [0x103a2908]
subss xmm0, xmm5
movss dword [esp + 0x34], xmm2
movaps xmm5, xmm0
movaps xmm0, xmm4
movss dword [esp + 0xc], xmm2
minss xmm0, xmm6
movaps xmm1, xmm2
subss xmm4, xmm6
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
subss xmm1, xmm0
push ecx
lea edx, [esp + 0x18]
mov ecx, eax
movaps xmm0, xmm1
mulss xmm0, dword [0x103a2808]
addss xmm0, xmm7
divss xmm4, xmm0
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm4, xmm5
divss xmm1, xmm0
andps xmm4, xmmword [0x103a2de0]
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x20], xmm1
call fcn.10035770
movss xmm0, dword [esp + 0x18]
add esp, 8
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x18], xmm0
jmp 0x100369e5
test ecx, 0x10000000
je 0x100369e5
lea eax, [esp + 0x60]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x68]
lea ecx, [esp + 0x74]
call fcn.100051c0
movss xmm0, dword [esp + 0x74]
add esp, 4
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x5c], xmm0
mov byte [esp + 9], 0
mov byte [esp + 0xb], 0
mov byte [esp + 0xa], 0
call fcn.10013d90
mov eax, dword [esp + 0x48]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x58], ecx
je 0x10036efe
movss xmm1, dword [esp + 0x38]
lea edx, [esp + 0x78]
mov esi, dword [esp + 0x14]
movaps xmm0, xmm1
push ecx
mov ecx, 0x10390e58
movss dword [esp + 0x80], xmm1
addss xmm0, dword [esi + 0x37ec]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x7c], xmm0
call fcn.1002b910
mov eax, dword [0x103ca828]
add esp, 4
mov ecx, dword [eax + 0x3e70]
test ecx, ecx
je 0x10036ee9
cmp ecx, dword [eax + 0x4698]
jne 0x10036ee9
movss xmm0, dword [esi + 0x36a8]
subss xmm0, dword [esp + 0xb0]
movss xmm1, dword [esi + 0x36a4]
subss xmm1, dword [esp + 0xac]
movss xmm2, dword [esi + 0xdb8]
movss xmm3, dword [esi + 0xdbc]
subss xmm2, dword [esp + 0xac]
subss xmm3, dword [esp + 0xb0]
movaps xmm4, xmm0
movss dword [esp + 0x8c], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x90], xmm1
movss xmm1, dword [0x103a2784]
addss xmm4, xmm0
movss dword [esp + 0x10], xmm2
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
movss dword [esp + 0xfc], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x10036b7a
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x10036b7a
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x103a27ec]
xorps xmm0, xmm0
fstp qword [esp + 0x78]
movsd xmm1, qword [esp + 0x78]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x103a2744]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
jbe 0x10036b72
addss xmm1, dword [0x103a2784]
movss dword [esp + 0xc], xmm1
mov cl, 1
mov byte [esp + 9], cl
jmp 0x10036b8c
mov cl, byte [esp + 9]
movss xmm2, dword [0x103a27ec]
movss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
mov byte [esp + 0xb], cl
xorps xmm0, xmmword [0x103a2e10]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x78]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x90]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x8c]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x14]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x9c]
mulss xmm1, dword [esp + 0x14]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0x108], xmm5
movss xmm0, dword [esp + 0x88]
subss xmm0, dword [esp + 0x54]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x94]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0x94]
movss dword [esp + 0x90], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0x8c], xmm5
movss dword [esp + 0x78], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x88]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x88]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10036ee1
movss xmm0, dword [esp + 0x54]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x94]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x10036ee1
movss xmm6, dword [esp + 0x10]
movss xmm1, dword [esp + 0xfc]
movaps xmm7, xmm6
movss xmm3, dword [esp + 0x108]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x14]
mulss xmm7, dword [esp + 0x14]
movss xmm4, dword [esp + 0x94]
mulss xmm0, xmm3
mulss xmm6, xmm3
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x108], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x10c], xmm6
subss xmm0, dword [esp + 0x54]
mulss xmm1, dword [esp + 0x90]
mulss xmm0, dword [esp + 0x8c]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x88]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x78]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x100]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10036de4
movss xmm3, dword [esp + 0x9c]
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 0x10036e2d
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x84]
call fcn.10004680
movss xmm3, dword [esp + 0xa8]
add esp, 0xc
movss xmm4, dword [esp + 0x94]
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 + 0x88]
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 [0x103a26e8]
movaps xmm0, xmm7
movss dword [esp + 0x18], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x103a2784]
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 0x10036eb2
movaps xmm0, xmm2
jmp 0x10036eb9
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x34], xmm0
comiss xmm2, xmm3
ja 0x10036ed5
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x18], xmm2
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x10036ee9
mov al, byte [esp + 9]
mov byte [esp + 0xb], al
test byte [esp + 0x48], 8
jne 0x100370df
call fcn.10016a60
jmp 0x100370df
test eax, 0x2000000
je 0x100370db
movss xmm0, dword [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x10390e5c
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.1002b910
mov ecx, dword [0x103ca828]
add esp, 4
mov eax, dword [ecx + 0x3e70]
test eax, eax
je 0x10036fd3
cmp eax, dword [ecx + 0x4698]
jne 0x10036fd3
mov esi, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x38]
movss xmm1, dword [0x103a2784]
subss xmm3, xmm1
movss xmm4, dword [esi + 0xdb8]
subss xmm4, dword [esp + 0xe8]
movss dword [esp + 0x10], xmm3
divss xmm4, xmm3
comiss xmm0, xmm4
jbe 0x10036f8e
movss dword [esp + 0x18], xmm0
jmp 0x10036f9b
movaps xmm2, xmm1
minss xmm2, xmm4
movss dword [esp + 0x18], xmm2
movss xmm2, dword [esi + 0xdbc]
subss xmm2, dword [esp + 0x1c]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x10036fb7
xorps xmm3, xmm3
jmp 0x10036fbe
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 9], al
movss dword [esp + 0x34], xmm0
jmp 0x10036fef
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [0x103a2784]
mov esi, dword [esp + 0x14]
mov al, byte [esp + 9]
movss dword [esp + 0x10], xmm0
test byte [esp + 0x48], 8
mov byte [esp + 0xa], al
mov byte [esp + 0x83], al
jne 0x1003700c
call fcn.10016a60
mov ecx, dword [0x103ca828]
mov eax, dword [ecx + 0x3e38]
lea edx, [esp + 0x20]
movss xmm0, dword [esp + 0x84]
push ecx
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
mov ecx, 0x10390e60
movss dword [eax + 0xd4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0xd8], xmm0
movss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x3c]
mov byte [eax + 0x115], 1
movss dword [esp + 0x28], xmm0
call fcn.1002b910
mov ecx, dword [0x103ca828]
add esp, 4
mov edx, dword [ecx + 0x3e70]
test edx, edx
je 0x100370df
mov al, byte [esp + 9]
movss xmm1, dword [esp + 0x1c]
mov byte [esp + 0xa], al
cmp edx, dword [ecx + 0x4698]
jne 0x100370e5
movss xmm2, dword [esi + 0xdbc]
xorps xmm0, xmm0
subss xmm2, xmm1
divss xmm2, dword [esp + 0x10]
comiss xmm0, xmm2
ja 0x100370be
movss xmm0, dword [0x103a2784]
minss xmm0, xmm2
mov al, byte [esp + 0x83]
movss dword [esp + 0xc], xmm0
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
mov byte [esp + 0xa], al
jmp 0x100370e5
mov esi, dword [esp + 0x14]
movss xmm1, dword [esp + 0x1c]
cmp dword [esp + 0x50], 0x10000
jne 0x100371bf
mov ecx, dword [0x103ca828]
lea edx, [esp + 0x20]
movss xmm0, dword [esp + 0xb4]
push ecx
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 + 0xe8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [eax + 0xd8], xmm1
mov byte [eax + 0x115], 1
movss dword [esp + 0x28], xmm0
call fcn.1002b910
mov eax, dword [0x103ca828]
add esp, 4
xorps xmm7, xmm7
mov ecx, dword [eax + 0x3e70]
test ecx, ecx
je 0x100371c2
cmp ecx, dword [eax + 0x4698]
jne 0x100371c2
movss xmm2, dword [esi + 0xdbc]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [0x103a2784]
subss xmm2, dword [esp + 0x1c]
subss xmm0, xmm1
divss xmm2, xmm0
comiss xmm7, xmm2
jbe 0x100371a1
xorps xmm3, xmm3
jmp 0x100371a8
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [esp + 0x3c]
movaps xmm0, xmm1
subss xmm0, xmm3
mov byte [esp + 9], 1
movss dword [eax + 0xc], xmm0
jmp 0x100371c2
xorps xmm7, xmm7
mov edx, dword [0x103ca828]
dec dword [edx + 0x4764]
cmp byte [esp + 0xb], 0
mov eax, dword [edx + 0x476c]
mov ecx, dword [edx + 0x4764]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x467c], eax
jne 0x100371f6
cmp byte [esp + 0xa], 0
je 0x1003730e
cmp dword [esp + 0x44], 0
je 0x100372dd
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0xb8]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.100051c0
movss xmm0, dword [esp + 0x10]
xorps xmm7, xmm7
mov edx, dword [esp + 0x40]
add esp, 4
movss dword [esi + 0x5940], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x5944], xmm0
movss xmm1, dword [edx]
comiss xmm7, xmm1
movss xmm4, dword [edx + 4]
movss xmm5, dword [edx + 8]
movss xmm0, dword [0x103a2784]
jbe 0x10037271
xorps xmm2, xmm2
jmp 0x10037278
movaps xmm2, xmm0
minss xmm2, xmm1
comiss xmm7, xmm4
movss xmm3, dword [0x103a28b0]
movss xmm1, dword [0x103a2744]
mulss xmm2, xmm3
addss xmm2, xmm1
cvttss2si ecx, xmm2
jbe 0x1003729e
xorps xmm2, xmm2
jmp 0x100372a5
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 0x100372c0
xorps xmm0, xmm0
jmp 0x100372c4
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x10
or eax, ecx
mov dword [esi + 0x5948], eax
jmp 0x10037312
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
test eax, 0x10000000
je 0x10037316
movss xmm0, dword [esp + 0xc]
movss dword [edx], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [edx + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [edx + 8], xmm0
jmp 0x10037316
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
cmp byte [esp + 9], 0
je 0x10037483
cmp dword [esp + 0x44], 0
je 0x1003741a
movss xmm1, dword [edx + 4]
xorps xmm4, xmm4
movss xmm2, dword [edx + 8]
movaps xmm3, xmm1
comiss xmm2, xmm1
movss xmm0, dword [edx]
movaps xmm5, xmm2
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x5c], xmm2
jbe 0x10037368
movss xmm4, dword [0x103a2924]
movaps xmm3, xmm2
movaps xmm5, xmm1
comiss xmm3, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x34], xmm2
jbe 0x10037391
movaps xmm2, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x103a2908]
subss xmm0, xmm4
movss dword [esp + 0x34], xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x3c]
minss xmm0, xmm5
movss dword [esp + 0xc], xmm2
movaps xmm1, xmm2
subss xmm3, xmm5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [0x103a2808]
addss xmm0, dword [0x103a26d8]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x103a26d8]
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x103a2de0]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x20], xmm1
call fcn.10035770
movss xmm3, dword [esp + 0x18]
add esp, 8
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x18], xmm0
jmp 0x10037489
test eax, 0x10000000
je 0x10037483
movss xmm1, dword [edx + 8]
lea eax, [esp + 0x60]
movss xmm3, dword [edx + 4]
lea ecx, [esp + 0x70]
movss xmm0, dword [edx]
movaps xmm2, xmm1
movss dword [esp + 0x34], xmm1
lea edx, [esp + 0x64]
push eax
movaps xmm1, xmm3
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x1c], xmm3
call fcn.100051c0
movss xmm0, dword [esp + 0x74]
add esp, 4
movss dword [esp + 0x74], xmm0
xorps xmm7, xmm7
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x5c], xmm0
movss xmm3, dword [esp + 0xc]
movss xmm2, dword [esi + 0x3798]
comiss xmm7, xmm2
movss xmm0, dword [0x103a2784]
ja 0x100374a5
movaps xmm7, xmm0
minss xmm7, xmm2
mulss xmm7, dword [0x103a28b0]
movaps xmm1, xmm0
mov dword [esp + 0x20], 0x3f800000
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm0
movaps xmm0, xmm3
mov dword [esp + 0x24], 0x3f800000
addss xmm7, dword [0x103a2744]
mov dword [esp + 0x28], 0x3f800000
cvttss2si edx, xmm7
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x90], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x60], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x20]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x24]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x28]
push eax
call fcn.100051c0
movss xmm0, dword [esp + 0x24]
xorps xmm6, xmm6
movss xmm7, dword [0x103a2784]
add esp, 4
comiss xmm6, xmm0
jbe 0x1003758f
xorps xmm1, xmm1
jmp 0x10037596
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [0x103a28b0]
movss xmm0, dword [0x103a2744]
movss xmm3, dword [esp + 0x24]
comiss xmm6, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si ecx, xmm1
jbe 0x100375c2
xorps xmm1, xmm1
jmp 0x100375c9
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0x28]
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm6, xmm3
jbe 0x100375ea
xorps xmm1, xmm1
jmp 0x100375f1
movaps xmm1, xmm7
minss xmm1, xmm3
movss xmm3, dword [esp + 0x2c]
mulss xmm1, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm3
jbe 0x10037612
xorps xmm1, xmm1
jmp 0x10037619
movaps xmm1, xmm7
minss xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x5c]
cvttss2si eax, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x3798]
shl eax, 0x18
or eax, ecx
movss dword [esp + 0x2c], xmm0
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], eax
call fcn.10005110
cmp dword [esp + 0x58], 0
xorps xmm2, xmm2
mov dword [esp + 0x68], eax
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm6
je 0x10037ec3
movss xmm2, dword [esp + 0x30]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x103a2744]
movss xmm1, dword [esp + 0x98]
divss xmm3, xmm2
cvttss2si ecx, xmm2
addss xmm1, xmm2
movss dword [esp + 0x78], xmm3
imul ecx
movss dword [esp + 0xfc], xmm1
movaps xmm2, xmm1
mulss xmm2, dword [0x103a2744]
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0x100], xmm2
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x5c], eax
nop dword [eax]
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0x12c]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm7
divss xmm0, dword [0x103a2808]
divss xmm1, dword [0x103a2808]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x103a27ec]
mulss xmm1, dword [0x103a27ec]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x38], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x50], xmm1
call fcn.10020d00
movss xmm0, dword [esp + 0x6c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x68]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001f6a0
movss xmm0, dword [esp + 0x30]
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 + 0x30]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x58], 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 + 0xb0]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
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 + 0xac]
movss dword [esp + 0x40], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x40]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0x58]
movss xmm5, dword [esp + 0xb8]
subss xmm2, xmm4
mov eax, dword [esp + 0x5c]
cvtsd2ss xmm3, xmm0
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + eax*4 + 0x110]
mov eax, dword [edi + 0x18]
movss xmm7, dword [0x103a2784]
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 + 0x40], xmm2
addss xmm3, dword [esp + 0xb0]
subss xmm3, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
divss xmm6, xmm1
mov dword [esp + 0x58], eax
movzx eax, cl
mov dword [esp + 0x74], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x44], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + eax*4 + 0x114]
movzx eax, cl
sub eax, dword [esp + 0x74]
mov dword [esp + 0xb8], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x44]
shr ecx, 0x10
mov dword [esp + 0x70], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x58]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x104], ecx
cmp edx, esi
jae 0x100379d9
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0xb8]
nop word [eax + 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 0x1003793e
xorps xmm2, xmm2
jmp 0x10037945
movaps xmm2, xmm7
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x30]
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 + 0x44]
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 + 0x74]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x40]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x70]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x104]
cmp edx, esi
jb 0x10037910
mov edi, dword [esp + 0xd0]
mov eax, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x78]
inc eax
movss xmm2, dword [esp + 0x100]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x5c], eax
cmp eax, 6
jl 0x10037700
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x103a27c8]
mulss xmm0, dword [0x103a27ec]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x30], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0xb], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0xfc]
movss xmm1, dword [esp + 0x6c]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x30]
mulss xmm2, xmm3
mulss xmm0, dword [0x103a2744]
mulss xmm2, dword [0x103a2744]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0xd0], xmm3
addss xmm2, dword [esp + 0xb0]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm2
je 0x10037aae
mulss xmm1, dword [0x103a2750]
jmp 0x10037ab6
mulss xmm1, dword [0x103a2748]
movaps xmm0, xmm1
movss dword [esp + 0x6c], xmm1
divss xmm0, dword [0x103a27a0]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x10037ad7
mov esi, 9
jmp 0x10037ae1
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
push esi
push dword [esp + 0x68]
lea eax, [esp + 0xc8]
movaps xmm2, xmm1
push eax
mov ecx, edi
call fcn.10021e00
movss xmm2, dword [esp + 0x6c]
lea eax, [esp + 0xc0]
addss xmm2, dword [0x103a2784]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x94]
push eax
call fcn.10021d40
movss xmm2, dword [esp + 0x6c]
lea eax, [esp + 0xc0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x68]
push esi
push eax
call fcn.10021d40
movss xmm3, dword [esp + 0x30]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0xd0]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x9c]
movaps xmm0, xmm4
mov eax, dword [0x103ca828]
movss xmm5, dword [esp + 0xac]
mulss xmm0, xmm1
movss xmm7, dword [esp + 0xb0]
movss xmm6, dword [esp + 0x94]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm5
movss dword [esp + 0x30], xmm2
movss dword [esp + 0xec], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x9c]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x88]
mulss xmm0, xmm4
addss xmm2, xmm7
movss dword [esp + 0x40], xmm2
movss dword [esp + 0xf0], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm3
mulss xmm6, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
movss xmm0, dword [esp + 0x88]
mulss xmm0, xmm3
addss xmm0, xmm6
addss xmm1, xmm5
addss xmm0, xmm7
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esp + 0x54]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm3
subss xmm2, xmm0
movss xmm0, dword [eax + 0x3bcc]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [eax + 0x3bd0]
addss xmm1, xmm6
addss xmm2, xmm5
addss xmm1, xmm7
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x12c], xmm2
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x130], xmm1
push 6
push 6
mov ecx, edi
movss dword [esp + 0x60], xmm0
call fcn.1001f440
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0xd0]
movss xmm1, dword [esp + 0x58]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x64]
movss xmm2, dword [esp + 0x14]
movss xmm6, dword [esp + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x44]
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 + 0x90]
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 + 0x90]
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 + 0x134]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.10021b10
movss xmm0, dword [0x103a2784]
xorps xmm6, xmm6
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x34]
comiss xmm6, xmm1
jbe 0x10037e49
xorps xmm3, xmm3
jmp 0x10037e50
movaps xmm3, xmm0
minss xmm3, xmm1
movss xmm1, dword [esp + 0x18]
comiss xmm6, xmm1
ja 0x10037e62
movaps xmm6, xmm0
minss xmm6, xmm1
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x44]
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
mulss xmm0, xmm6
addss xmm0, dword [esp + 0x44]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0x14], xmm2
mulss xmm0, xmm6
addss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x10038396
test dword [esp + 0x48], 0x2000000
je 0x10038396
mov ecx, dword [esp + 0x60]
movss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
push ecx
push eax
push eax
movss dword [esp + 0xa8], xmm0
lea eax, [esp + 0xa8]
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0xd4]
mov ecx, edi
push eax
movss dword [esp + 0xb8], xmm0
call fcn.10021990
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x12c]
movss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0xa0]
push ecx
push ecx
push 0
push 0
push eax
lea eax, [esp + 0xd4]
movss dword [esp + 0x140], xmm0
push eax
mov ecx, edi
movss dword [esp + 0x148], xmm1
call fcn.10021990
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0xd4], xmm0
xorps xmm0, xmm0
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xcc]
push dword [esp + 0xcc]
call fcn.10006f00
movss xmm2, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [0x103a2784]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10037fc0
xorps xmm3, xmm3
jmp 0x10037fc7
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [esp + 0x38]
movss xmm2, dword [esp + 0xe8]
movss xmm4, dword [0x103a2744]
mulss xmm3, xmm5
movss xmm7, dword [0x103a27c8]
movss xmm6, dword [esp + 0x40]
addss xmm3, xmm2
addss xmm2, xmm7
subss xmm6, xmm7
addss xmm3, xmm4
movss dword [esp + 0x14], xmm2
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x10038029
comiss xmm3, xmm6
jbe 0x10038020
movaps xmm2, xmm6
jmp 0x10038023
movaps xmm2, xmm3
movss dword [esp + 0x14], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x34]
comiss xmm0, xmm2
jbe 0x1003803c
xorps xmm1, xmm1
jmp 0x10038040
minss xmm1, xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm1, xmm5
movaps xmm0, xmm2
addss xmm0, xmm7
addss xmm1, xmm2
movss dword [esp + 0x10], xmm0
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0xa0]
subss xmm1, xmm7
movd xmm6, eax
cvtdq2ps xmm6, xmm6
comiss xmm0, xmm6
ja 0x1003808a
comiss xmm6, xmm1
jbe 0x10038084
movaps xmm6, xmm1
movss dword [esp + 0x10], xmm6
movss xmm0, dword [esp + 0xbc]
movaps xmm1, xmm5
divss xmm1, dword [0x103a2808]
xor ecx, ecx
movss dword [esp + 0x12c], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0x20], xmm0
mov eax, dword [esp + ecx*4 + 0x114]
lea esi, [ecx + 1]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x134]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x138], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x3c], xmm0
call fcn.10021990
movss xmm1, dword [esp + 0xd0]
mov ecx, esi
movss xmm2, dword [esp + 0x1c]
cmp ecx, 6
jl 0x100380c1
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [esp + 0x38]
addss xmm0, xmm2
addss xmm0, dword [0x103a2744]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0xc4], xmm0
push dword [esp + 0xc4]
movss xmm0, dword [esp + 0x88]
push dword [esp + 0xc4]
movss dword [esp + 0xa8], xmm2
push dword [esp + 0xa8]
movss dword [esp + 0xa8], xmm0
xorps xmm0, xmm0
push dword [esp + 0xa8]
call fcn.10006f00
movaps xmm0, xmmword [0x103a2b50]
lea ecx, [esp + 0xfc]
movss xmm1, dword [esp + 0x94]
add esp, 0x10
movups xmmword [esp + 0xec], xmm0
movaps xmm0, xmmword [0x103a2b50]
movups xmmword [esp + 0xc0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm1
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x12c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x130], xmm0
subss xmm0, dword [0x103a2824]
movss dword [esp + 0x24], xmm0
call fcn.10005110
push eax
lea ecx, [esp + 0xc4]
call fcn.10005110
push eax
lea ecx, [esp + 0xa4]
call fcn.10005110
push eax
lea ecx, [esp + 0xdc]
call fcn.10005110
push eax
lea eax, [esp + 0x13c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10021990
movaps xmm0, xmmword [0x103a2b50]
lea ecx, [esp + 0xec]
movss xmm1, dword [esp + 0x84]
movups xmmword [esp + 0xec], xmm0
movaps xmm0, xmmword [0x103a2b50]
movups xmmword [esp + 0xc0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm1
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x12c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x130], xmm0
addss xmm0, dword [0x103a2824]
movss dword [esp + 0x24], xmm0
call fcn.10005110
push eax
lea ecx, [esp + 0xc4]
call fcn.10005110
push eax
lea ecx, [esp + 0xa4]
call fcn.10005110
push eax
lea ecx, [esp + 0xdc]
call fcn.10005110
push eax
lea eax, [esp + 0x13c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10021990
movaps xmm0, xmmword [0x103a2d90]
movss xmm1, dword [esp + 0x84]
movups xmmword [esp + 0xec], xmm0
push ecx
movss xmm0, dword [esp + 0xc0]
lea ecx, [esp + 0xf0]
subss xmm0, dword [0x103a2784]
movss dword [esp + 0x24], xmm1
mov dword [esp], 0x3f800000
movss dword [esp + 0x130], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x134], xmm0
movss dword [esp + 0x28], xmm0
call fcn.10005110
push eax
lea eax, [esp + 0x134]
mov ecx, edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10021600
mov ecx, dword [0x103ca828]
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 [0x103a2824]
movss dword [eax + 0xd4], xmm0
mov edx, dword [ecx + 0x3e38]
mov eax, edx
cmp dword [eax + 0x174], 0
movss xmm0, dword [eax + 0x20c]
jne 0x100383f2
cmp dword [ecx + 0x49cc], 0
je 0x100383fa
movss xmm0, dword [eax + 0x1dc]
subss xmm0, dword [edx + 0xd4]
push 1
push ecx
lea edx, [esp + 0x134]
mov dword [esp + 0x138], 0x41a00000
mov ecx, str.copy
mulss xmm0, dword [0x103a2744]
subss xmm0, dword [0x103a282c]
movss dword [esp + 0x134], xmm0
call fcn.1002b130
mov esi, dword [esp + 0x44]
add esp, 8
test al, al
je 0x1003846a
xor eax, eax
cmp dword [esp + 0x4c], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push esi
push 0x103b0dac
mov dword [esp + 0x58], eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1003847e
xor eax, eax
cmp dword [esp + 0x4c], eax
sete al
lea eax, [eax*4 + 0xc]
mov dword [esp + 0x4c], eax
movss xmm1, dword [0x103a2924]
xorps xmm0, xmm0
call fcn.100155d0
mov eax, dword [0x103ca828]
mov edx, dword [eax + 0x3e38]
mov ecx, edx
cmp dword [ecx + 0x174], 0
movss xmm0, dword [ecx + 0x20c]
jne 0x100384b5
cmp dword [eax + 0x49cc], 0
je 0x100384bd
movss xmm0, dword [ecx + 0x1dc]
subss xmm0, dword [edx + 0xd4]
push 1
push ecx
lea edx, [esp + 0x134]
mov dword [esp + 0x138], 0x41a00000
mov ecx, str.paste
subss xmm0, dword [0x103a2850]
movss dword [esp + 0x134], xmm0
call fcn.1002b130
add esp, 8
test al, al
je 0x10038513
push dword [esp + 0x4c]
push 0x103b0dac
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
test dword [esp + 0x68], 0xff000000
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [0x103a27c8]
movaps xmm4, xmm1
addss xmm4, dword [0x103a27c8]
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0x58], xmm4
je 0x1003860e
test byte [edi + 0x24], 1
lea eax, [esp + 0x12c]
movaps xmm5, xmm2
movaps xmm6, xmm1
movss xmm2, dword [0x103a2744]
movaps xmm0, xmm3
addss xmm5, xmm2
mov ecx, edi
addss xmm6, xmm2
xorps xmm3, xmm3
push 0
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x2c], xmm6
push eax
je 0x100385a7
subss xmm0, xmm2
movss dword [esp + 0x138], xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
jmp 0x100385c3
subss xmm0, dword [0x103a2740]
movss dword [esp + 0x138], xmm0
movaps xmm0, xmm4
subss xmm0, dword [0x103a2740]
movss dword [esp + 0x13c], xmm0
call fcn.10021130
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x70]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1001f6a0
movss xmm1, dword [esp + 0x10]
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0xd0]
movss xmm4, dword [esp + 0x58]
mov dword [edi + 0x54], 0
movaps xmm0, xmmword [0x103a2c60]
movups xmmword [esp + 0xec], xmm0
push ecx
movss xmm0, dword [0x103a2784]
addss xmm3, xmm0
mov dword [esp], 0x3f800000
addss xmm4, xmm0
subss xmm2, xmm0
subss xmm1, xmm0
push 0
push ecx
lea ecx, [esp + 0xf8]
movss dword [esp + 0x138], xmm3
movss dword [esp + 0x13c], xmm4
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm1
mov dword [esp], 0
call fcn.10005110
push eax
lea eax, [esp + 0x13c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10021730
cmp dword [esp + 0x50], 0x10000
jne 0x1003894f
movss xmm1, dword [esi + 0xc]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100386ad
movss xmm0, dword [0x103a2784]
minss xmm0, xmm1
mov ecx, dword [esp + 0x68]
mov eax, ecx
movss xmm1, dword [esp + 0x1c]
and eax, 0xffffff
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x12c], xmm0
addss xmm0, dword [esp + 0xe4]
push eax
push eax
push ecx
push ecx
movss dword [esp + 0x60], xmm0
lea eax, [esp + 0x144]
movss dword [esp + 0x144], xmm0
mov ecx, edi
movaps xmm0, xmm1
movss dword [esp + 0x140], xmm1
addss xmm0, dword [esp + 0x48]
push eax
lea eax, [esp + 0x140]
push eax
movss dword [esp + 0x150], xmm0
call fcn.10021990
movss xmm0, dword [0x103a2784]
subss xmm0, dword [esp + 0x4c]
push dword [esp + 0x138]
push dword [esp + 0x138]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x138]
addss xmm0, dword [esp + 0x28]
push dword [esp + 0x138]
addss xmm0, dword [0x103a2744]
cvttss2si esi, xmm0
xorps xmm0, xmm0
call fcn.10006f00
movaps xmm0, xmmword [0x103a2b50]
lea ecx, [esp + 0xfc]
movss xmm1, dword [esp + 0xc4]
add esp, 0x10
movups xmmword [esp + 0xec], xmm0
movaps xmm0, xmmword [0x103a2b50]
movups xmmword [esp + 0xc0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm1
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x12c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x130], xmm0
subss xmm0, dword [0x103a2824]
movss dword [esp + 0x24], xmm0
call fcn.10005110
push eax
lea ecx, [esp + 0xc4]
call fcn.10005110
push eax
lea ecx, [esp + 0xa4]
call fcn.10005110
push eax
lea ecx, [esp + 0xdc]
call fcn.10005110
push eax
lea eax, [esp + 0x13c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10021990
movaps xmm0, xmmword [0x103a2b50]
movups xmmword [esp + 0xec], xmm0
movaps xmm0, xmmword [0x103a2b50]
movups xmmword [esp + 0xc0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x12c], xmm0
movd xmm0, esi
movss xmm1, dword [esp + 0xb4]
lea ecx, [esp + 0xec]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x130], xmm0
addss xmm0, dword [0x103a2824]
movss dword [esp + 0x24], xmm0
call fcn.10005110
push eax
lea ecx, [esp + 0xc4]
call fcn.10005110
push eax
lea ecx, [esp + 0xa4]
call fcn.10005110
push eax
lea ecx, [esp + 0xdc]
call fcn.10005110
push eax
lea eax, [esp + 0x13c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10021990
movaps xmm0, xmmword [0x103a2d90]
movss xmm1, dword [esp + 0xb4]
movups xmmword [esp + 0xec], xmm0
push ecx
movss xmm0, dword [esp + 0x54]
lea ecx, [esp + 0xf0]
subss xmm0, dword [0x103a2784]
movss dword [esp + 0x24], xmm1
mov dword [esp], 0x3f800000
movss dword [esp + 0x130], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x134], xmm0
movss dword [esp + 0x28], xmm0
call fcn.10005110
push eax
lea eax, [esp + 0x134]
mov ecx, edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10021600
call fcn.10015970
mov al, byte [esp + 9]
mov ecx, dword [0x103ca828]
test al, al
je 0x10038972
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 + 0x134]
xor ecx, esp
call fcn.101238be
mov esp, ebp
pop ebp
ret