Function at 0x180001c60
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x180085e10]
or dword [rax + 0x3fb0], 2
mov dword [rax + 0x3fd0], 0x4404c000
mov dword [rax + 0x3fd4], 0x43cf8000
mov esi, 1
mov dword [rax + 0x3fb8], esi
lea rcx, [rbp + 0x77]
call qword [sym.imp.USER32.dll_GetCursorPos]
movdqa xmm0, xmmword [0x180056b40]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x59], 0x100
lea rcx, [rbp - 0x69]
call fcn.18000bbd0
xor edx, edx
lea r8d, [rsi + 0xa]
lea rcx, [rbp - 0x69]
call fcn.18001b150
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x180001d5a
movss xmm1, dword [rcx + 0x3838]
addss xmm1, xmm1
addss xmm1, dword [rcx + 0x3c18]
movss xmm0, dword [rax + 0x10c]
maxss xmm0, xmm1
movss dword [rax + 0x10c], xmm0
movss xmm0, dword [rax + 0x118]
maxss xmm0, dword [rcx + 0x3838]
movss dword [rax + 0x118], xmm0
mov rax, qword [rcx + 0x3ea8]
movss xmm10, dword [rax + 0x18]
movss xmm7, dword [rax + 0x1c]
movss xmm6, dword [rax + 0x20]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
mov rbx, qword [rax + 0x2a8]
movaps xmm0, xmmword [0x1800568f0]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.1800116f0
movaps xmm9, xmm7
addss xmm9, dword [0x180056420]
movaps xmm8, xmm10
addss xmm8, xmm6
movss dword [rbp + 0x67], xmm8
movss dword [rbp + 0x6b], xmm9
movss dword [rbp + 0x6f], xmm10
movss dword [rbp + 0x73], xmm7
xor r14d, r14d
mov dword [rsp + 0x28], r14d
xorps xmm11, xmm11
movss dword [rsp + 0x20], xmm11
mov r9d, eax
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.180032110
movaps xmm0, xmmword [0x1800565b0]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.1800116f0
movss dword [rbp + 0x67], xmm8
movss dword [rbp + 0x6b], xmm9
movss dword [rbp + 0x6f], xmm10
movss dword [rbp + 0x73], xmm9
movss xmm0, dword [0x18005633c]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.180031ea0
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0xe4]
subss xmm0, dword [rax + 0x1c]
addss xmm0, dword [rax + 0x68]
addss xmm0, dword [0x18005648c]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x68]
addss xmm1, xmm0
movss dword [rax + 0xe4], xmm1
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm1
movss dword [rax + 0xfc], xmm0
mov rax, qword [rcx + 0x3ea8]
movss xmm2, dword [rax + 0xe0]
subss xmm2, dword [rax + 0x18]
addss xmm2, dword [rax + 0x64]
subss xmm2, dword [0x180056410]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm1, dword [rax + 0x18]
subss xmm1, dword [rax + 0x64]
addss xmm1, xmm2
movss dword [rax + 0xe0], xmm1
movss xmm0, dword [rax + 0xf8]
maxss xmm0, xmm1
movss dword [rax + 0xf8], xmm0
call fcn.18001f050
cmp dword [0x180085f40], r14d
jne 0x1800028df
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rax + 0x68]
movss xmm6, dword [0x180056400]
addss xmm0, xmm6
movss xmm2, dword [rax + 0x18]
subss xmm2, dword [rax + 0x64]
addss xmm2, dword [0x180056404]
movss dword [rax + 0xe0], xmm2
movss dword [rax + 0xe4], xmm0
movss xmm1, dword [rax + 0xfc]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf8]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
cmp dword [0x18005e044], r14d
sete bl
mov word [rbp + 0x67], 0x100
lea rcx, [rbp + 0x67]
call fcn.18000bb50
movzx edx, bl
lea rcx, [rbp + 0x67]
call fcn.18004cf80
mov edx, dword [0x18005e044]
test al, al
cmovne edx, r14d
mov dword [0x18005e044], edx
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rax + 0x68]
addss xmm0, xmm6
movss xmm2, dword [rax + 0x18]
subss xmm2, dword [rax + 0x64]
addss xmm2, dword [0x18005643c]
movss dword [rax + 0xe0], xmm2
movss dword [rax + 0xe4], xmm0
movss xmm1, dword [rax + 0xfc]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf8]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
cmp edx, esi
sete bl
mov dword [rbp - 0x69], 0x888f928c
mov dword [rbp - 0x65], 0xb3939f
mov byte [rbp - 0x61], sil
lea rcx, [rbp - 0x69]
call fcn.18000bad0
movzx edx, bl
lea rcx, [rbp - 0x69]
call fcn.18004cf80
mov edx, dword [0x18005e044]
test al, al
cmovne edx, esi
mov dword [0x18005e044], edx
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rax + 0x68]
addss xmm0, xmm6
movss xmm2, dword [rax + 0x18]
subss xmm2, dword [rax + 0x64]
addss xmm2, dword [0x180056464]
movss dword [rax + 0xe0], xmm2
movss dword [rax + 0xe4], xmm0
movss xmm1, dword [rax + 0xfc]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf8]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
cmp edx, 2
sete bl
mov dword [rbp + 0x67], 0x8f88839f
mov word [rbp + 0x6b], 0x9f
mov byte [rbp + 0x6d], sil
lea rcx, [rbp + 0x67]
call fcn.18000ba50
movzx edx, bl
lea rcx, [rbp + 0x67]
call fcn.18004cf80
mov ecx, dword [0x18005e044]
mov edx, 2
test al, al
cmovne ecx, edx
mov dword [0x18005e044], ecx
call fcn.18001f180
call fcn.18001f050
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rax + 0x68]
addss xmm0, dword [0x1800563f4]
movss xmm3, dword [rax + 0x18]
subss xmm3, dword [rax + 0x64]
addss xmm3, dword [0x18005649c]
movss dword [rax + 0xe0], xmm3
movss dword [rax + 0xe4], xmm0
movss xmm2, dword [rax + 0xfc]
maxss xmm2, xmm0
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm3
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm2
movdqa xmm1, xmmword [0x1800565a0]
movdqu xmmword [rbp - 0x69], xmm1
mov byte [rbp - 0x59], sil
lea rcx, [rbp - 0x69]
call fcn.18000b9d0
lea rcx, [rbp - 0x69]
call fcn.18003ba30
movss xmm1, dword [0x1800564e8]
xorps xmm0, xmm0
call fcn.18001ed70
mov rdx, qword [0x180085e10]
mov rax, qword [rdx + 0x3ea8]
movss xmm4, dword [rax + 0xe0]
subss xmm4, dword [rax + 0x18]
addss xmm4, dword [rax + 0x64]
subss xmm4, dword [0x1800563e8]
mov byte [rax + 0x98], sil
mov rax, qword [rdx + 0x3ea8]
movss xmm1, dword [rax + 0x18]
subss xmm1, dword [rax + 0x64]
addss xmm1, xmm4
movss dword [rax + 0xe0], xmm1
movss xmm0, dword [rax + 0xf8]
maxss xmm0, xmm1
movss dword [rax + 0xf8], xmm0
call fcn.18001f180
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], sil
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rax + 0x68]
movss xmm6, dword [0x180056428]
addss xmm0, xmm6
movss xmm2, dword [rax + 0x18]
subss xmm2, dword [rax + 0x64]
addss xmm2, dword [0x180056404]
movss dword [rax + 0xe0], xmm2
movss dword [rax + 0xe4], xmm0
movss xmm1, dword [rax + 0xfc]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf8]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
movss xmm0, dword [0x180056484]
movss dword [rbp + 0x67], xmm0
movss xmm1, dword [0x180056494]
movss dword [rbp + 0x6b], xmm1
movdqa xmm0, xmmword [0x180056b50]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x1008e9d
lea rcx, [rbp - 0x69]
call fcn.18000b950
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.1800187a0
mov eax, dword [0x18005e044]
test eax, eax
jne 0x180002666
movdqa xmm0, xmmword [0x180056b60]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x8e828a9e
mov word [rbp - 0x55], 0x8b
mov byte [rbp - 0x53], sil
lea rcx, [rbp - 0x69]
call fcn.18000b8d0
lea rdx, [0x180085498]
lea rcx, [rbp - 0x69]
call fcn.18003d1c0
movdqa xmm0, xmmword [0x180056b80]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x88989893
mov dword [rbp - 0x55], 0x93d8cf83
mov dword [rbp - 0x51], 0xdc958797
mov word [rbp - 0x4d], 0x100
lea rcx, [rbp - 0x69]
call fcn.18000b850
lea rdx, [0x18008549c]
lea rcx, [rbp - 0x69]
call fcn.18003d1c0
movdqa xmm0, xmmword [0x180056b00]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x1009c8f
lea rcx, [rbp - 0x69]
call fcn.18000b950
lea rdx, [0x1800854a0]
lea rcx, [rbp - 0x69]
call fcn.18003d1c0
mov edi, dword [0x180085d88]
movsxd rax, dword [0x18005e050]
mov ebx, r14d
cmp eax, 0x7b
ja 0x1800023cc
lea rbx, [0x1800850b0]
mov rbx, qword [rbx + rax*8]
lea rcx, [rbp - 0x49]
call fcn.18000c300
nop
test rbx, rbx
jne 0x1800023ff
mov dword [rbp - 0x69], 0xb8b0be89
mov dword [rbp - 0x65], 0xaac0abbd
mov dword [rbp - 0x61], 0x1009a87
lea rcx, [rbp - 0x69]
call fcn.18000bcd0
lea rdx, [rbp - 0x69]
jmp 0x180002402
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.18000bfb0
cmp edi, 1
jne 0x18000243d
movdqa xmm0, xmmword [0x180056b20]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x59], 0x8e
mov byte [rbp - 0x57], dil
lea rcx, [rbp - 0x69]
call fcn.18000bc50
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.18000bfb0
movss xmm0, dword [0x180056458]
movss dword [rbp + 0x67], xmm0
mov dword [rbp + 0x6b], 0x41a00000
lea rcx, [rbp - 0x49]
call fcn.18000bf30
lea rdx, [rbp + 0x67]
mov rcx, rax
call fcn.18003c2b0
test al, al
je 0x18000248d
test edi, edi
jne 0x18000248d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x1800018f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rbp - 0x49]
call fcn.18000c020
mov dword [rbp - 0x69], 0xfdb1b29b
mov dword [rbp - 0x65], 0x8893b0ae
mov dword [rbp - 0x61], 0x8b8b8a96
mov word [rbp - 0x5d], 0x100
lea rcx, [rbp - 0x69]
call fcn.18000b7d0
lea rdx, [0x1800854dc]
lea rcx, [rbp - 0x69]
call fcn.18003ec00
mov dword [rbp - 0x69], 0xfd8a949c
mov dword [rbp - 0x65], 0x948cbe88
mov word [rbp - 0x61], 0x87
mov byte [rbp - 0x5f], 1
lea rcx, [rbp - 0x69]
call fcn.18000b750
movss xmm0, dword [0x180056468]
movss dword [rbp + 0x67], xmm0
mov dword [rbp + 0x6f], 0x41700000
lea rdi, str._.3f
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
lea r8, [0x1800854a4]
mov edx, 8
lea rcx, [rbp - 0x69]
call fcn.18003f690
mov dword [rbp + 0x67], 0x28
mov dword [rbp + 0x6f], esi
lea rbx, [0x180050bd8]
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
lea r8, [0x18005e058]
mov edx, 4
lea rcx, str.Smoothness_X
call fcn.18003f690
mov dword [rbp + 0x67], 0x28
mov dword [rbp + 0x6f], esi
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
lea r8, [0x18005e054]
mov edx, 4
lea rcx, str.Smoothness_Y
call fcn.18003f690
mov dword [rbp + 0x67], 0x12c
mov dword [rbp + 0x6f], esi
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
lea r8, [0x180085590]
mov edx, 4
lea rcx, str.RCS_Delay
call fcn.18003f690
mov dword [rbp + 0x67], 0x64
mov dword [rbp + 0x6f], esi
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
lea r8, [0x180085594]
mov edx, 4
lea rcx, str.RCS_Offset
call fcn.18003f690
mov dword [rbp - 0x69], 0xfdaab49c
mov dword [rbp - 0x65], 0x9181b78d
mov word [rbp - 0x61], 0x87
mov byte [rbp - 0x5f], 1
lea rcx, [rbp - 0x69]
call fcn.18000b750
movss xmm0, dword [0x180056424]
movss dword [rbp + 0x67], xmm0
mov dword [rbp + 0x6f], 0x3f800000
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
lea r8, [0x18005e05c]
mov edx, 8
lea rcx, [rbp - 0x69]
call fcn.18003f690
mov eax, dword [0x18005e044]
cmp eax, 1
jne 0x1800026a0
mov dword [rbp - 0x69], 0xaabda99e
mov dword [rbp - 0x65], 0x938f9cfe
mov dword [rbp - 0x61], 0xa796868c
mov dword [rbp - 0x5d], 0x1009f89
lea rcx, [rbp - 0x69]
call fcn.18000b6d0
lea rdx, [0x1800854ca]
lea rcx, [rbp - 0x69]
call fcn.18003d1c0
call fcn.180018840
mov rcx, qword [0x180085e10]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
addss xmm0, dword [0x180056488]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm2, xmm6
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
movss xmm0, dword [0x180056480]
movss dword [rbp + 0x67], xmm0
movss xmm1, dword [0x180056490]
movss dword [rbp + 0x6b], xmm1
mov dword [rbp - 0x69], 0xfdaca8bf
mov dword [rbp - 0x65], 0x8e8cb0bd
mov word [rbp - 0x61], 0x90
mov byte [rbp - 0x5f], 1
lea rcx, [rbp - 0x69]
call fcn.18000b750
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.1800187a0
cmp dword [0x18005e044], 1
jne 0x1800028da
cmp byte [0x180085499], 1
jne 0x18000286f
movdqa xmm0, xmmword [0x180056b70]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x88808983
mov dword [rbp - 0x55], 0x9d9facce
mov dword [rbp - 0x51], 0x100819d
lea rcx, [rbp - 0x69]
call fcn.18000b650
mov r8d, 0x10228
lea rdx, [0x180085510]
lea rcx, [rbp - 0x69]
call fcn.180045d40
movdqa xmm0, xmmword [0x180056b10]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x82afcb8f
mov dword [rbp - 0x55], 0x828082
mov byte [rbp - 0x51], 1
lea rcx, [rbp - 0x69]
call fcn.18000b5d0
mov r8d, 0x10228
lea rdx, [0x180085520]
lea rcx, [rbp - 0x69]
call fcn.180045d40
movdqa xmm0, xmmword [0x180056af0]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0xcd898788
mov dword [rbp - 0x55], 0x9e9c80ad
mov word [rbp - 0x51], 0x80
mov byte [rbp - 0x4f], 1
lea rcx, [rbp - 0x69]
call fcn.18000b550
mov r8d, 0x10228
lea rdx, [0x180085530]
lea rcx, [rbp - 0x69]
call fcn.180045d40
movdqa xmm0, xmmword [0x180056b30]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x8183a8ca
mov dword [rbp - 0x55], 0x1009d81
lea rcx, [rbp - 0x69]
call fcn.18000b4d0
lea rdx, [0x180085540]
lea rcx, [rbp - 0x69]
jmp 0x1800028cf
movdqa xmm0, xmmword [0x180056590]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x59], 1
lea rcx, [rbp - 0x69]
call fcn.18000b9d0
mov r8d, 0x10228
lea rdx, [0x180085500]
lea rcx, [rbp - 0x69]
call fcn.180045d40
mov dword [rbp - 0x69], 0xb1b9b089
mov dword [rbp - 0x65], 0x8f8fabbb
mov dword [rbp - 0x61], 0x898ba0c2
mov dword [rbp - 0x5d], 0x1009589
lea rcx, [rbp - 0x69]
call fcn.18000b6d0
lea rdx, [0x180085570]
lea rcx, [rbp - 0x69]
mov r8d, 0x10228
call fcn.180045d40
call fcn.180018840
call fcn.18001d520
lea r11, [rsp + 0xe0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret