Function at 0x18003ea70
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x470
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
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x180054020]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r12d, r12d
mov esi, r12d
mov qword [rsp + 0x60], r12
xorps xmm8, xmm8
xorps xmm6, xmm6
movss dword [rsp + 0x68], xmm6
movss xmm11, dword [0x18004c1d0]
mov ecx, dword [0x180054ad4]
mov edx, dword [0x180054ae0]
cmp byte [0x180054aca], r12b
je 0x18003ebfc
test edx, edx
jg 0x18003eb2c
test ecx, ecx
jle 0x18003ebfc
movss xmm1, dword [0x1800542b0]
movaps xmm0, xmm1
mulss xmm0, dword [0x18004c248]
cvttss2si r14d, xmm0
cvttss2si esi, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm11
cvttss2si edi, xmm1
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm11
cvttss2si ebx, xmm0
movaps xmm0, xmmword [0x18004c8d0]
movaps xmmword [rbp + 0x90], xmm0
mov rax, qword [0x180054a78]
mov rax, qword [rax + 0x4860]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1800095c0
mov r8, rax
lea rcx, [rbp + 0x90]
call fcn.180007380
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x78], xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x7c], xmm1
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss xmm6, dword [0x18004c204]
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r14d
mov r9d, eax
lea rdx, [rsp + 0x78]
mov rcx, r8
call fcn.180027640
mov edx, dword [0x180054ae0]
mov ecx, dword [0x180054ad4]
mov rsi, r12
jmp 0x18003ec04
movss xmm6, dword [0x18004c204]
mov rax, qword [0x180054a60]
mov r8, qword [rax]
test r8, r8
je 0x1800403e7
mov r9, qword [r8 + 0x188]
test r9, r9
je 0x1800403e7
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x1800403e7
mov qword [0x180054a18], r8
mov qword [0x180054a10], rax
movups xmm0, xmmword [rax + 0x98]
movups xmmword [rbp + 0x40], xmm0
mov rax, qword [r9 + 0x38]
mov r13, qword [rax]
mov qword [rbp - 0x70], r13
test r13, r13
je 0x1800403e7
mov r15, qword [r13 + 0x30]
mov qword [rbp - 0x48], r15
test r15, r15
je 0x1800403e7
test edx, edx
je 0x18003ec7a
test ecx, ecx
jne 0x18003ecdc
mov dword [rbp + 0x178], edx
mov dword [rbp + 0x17c], ecx
mov rax, qword [r15]
test rax, rax
je 0x18003ecd0
mov r8, qword [rax + 0x228]
test r8, r8
je 0x18003ecd0
mov qword [rbp + 0x50], r8
mov qword [rbp + 0x58], r12
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x178]
mov rdx, qword [0x180054a38]
mov rcx, r15
call fcn.180042240
mov ecx, dword [rbp + 0x17c]
mov edx, dword [rbp + 0x178]
mov dword [0x180054ae0], edx
mov dword [0x180054ad4], ecx
mov rbx, qword [r15 + 0x2f0]
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x1800403e7
mov qword [0x180054aa8], rbx
mov rax, qword [r15 + 0x308]
test rax, rax
je 0x1800403e7
movss xmm0, dword [rax + 0x1c00]
movss dword [0x180054bf8], xmm0
movss xmm1, dword [rax + 0x1c04]
movss dword [0x180054bfc], xmm1
movss xmm0, dword [rax + 0x1c08]
movss dword [0x180054c00], xmm0
mov ecx, r12d
mov dword [rsp + 0x50], ecx
movsxd r14, dword [rbp + 0x48]
test r14d, r14d
jle 0x18003fc03
mov rax, r14
mov qword [rsp + 0x58], rax
mov r13, r12
mov qword [rsp + 0x78], r12
nop dword [rax]
cmp r13, rax
jge 0x18003fbfc
mov rdx, qword [rbp + 0x40]
mov r14, qword [rdx + r13*8]
mov qword [rbp - 0x50], r14
test r14, r14
je 0x18003fbb2
mov rax, qword [r14 + 0x10]
test rax, rax
je 0x18003fbad
nop dword [rax + rax]
cmp rax, qword [0x180054a00]
je 0x18003eda7
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x18003ed90
jmp 0x18003fbad
cmp byte [0x180054ac8], 0
jne 0x18003edd8
cmp r14, rbx
je 0x18003fbad
mov rax, qword [0x180054aa8]
movzx ecx, byte [rax + 0x6f0]
cmp byte [r14 + 0x6f0], cl
mov ecx, dword [rsp + 0x50]
je 0x18003fbad
mov rsi, qword [r14 + 0x290]
test rsi, rsi
je 0x18003fba8
mov rax, qword [rsi + 0x560]
test rax, rax
je 0x18003fba8
movss xmm12, dword [rax + 0x60]
movss xmm0, dword [rax + 0x70]
movss dword [rbp - 0x80], xmm0
comiss xmm8, xmm12
jae 0x18003fba8
mov r12, qword [r14 + 0x2d0]
test r12, r12
je 0x18003fba8
cmp byte [r12 + 0x2b8], 0
jne 0x18003ee3d
mov r12, qword [r14 + 0xb10]
test r12, r12
je 0x18003fba8
xor edx, edx
mov rcx, r12
call fcn.180002760
mov r8d, eax
mov r9, r15
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.180002480
movss xmm14, dword [rbp - 0x64]
movss xmm15, dword [rbp - 0x68]
comiss xmm6, xmm15
jbe 0x18003ee75
comiss xmm6, xmm14
ja 0x18003fba4
movaps xmm10, xmmword [0x18004c8d0]
movups xmmword [rbp + 0xb8], xmm10
mov edx, 1
mov rcx, r12
call fcn.180002760
mov rcx, qword [0x1800549d8]
mov qword [rbp + 0x60], rcx
xor edi, edi
mov qword [rbp + 0x68], rdi
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x1b0]
mov rcx, r12
call fcn.180042240
movss xmm2, dword [rbp + 0x1e4]
movss xmm0, dword [rbp + 0x1e8]
movss dword [rbp + 0x38], xmm0
movsd xmm1, qword [0x180054bf8]
movsd qword [rbp + 0x10], xmm1
mov eax, dword [0x180054c00]
mov dword [rbp + 0x18], eax
movss xmm0, dword [rbp + 0x1e0]
unpcklps xmm0, xmm2
movsd qword [rbp], xmm0
mov eax, dword [rbp + 0x38]
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp + 0x200], xmm1
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x220], xmm1
movaps xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], rdi
movups xmmword [rbp + 0x248], xmm0
movups xmmword [rbp + 0x258], xmm0
movups xmmword [rbp + 0x268], xmm0
mov rax, qword [0x1800549e8]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 1
mov rax, qword [0x180054a10]
movups xmm0, xmmword [rax + 0x98]
movaps xmmword [rbp + 0xd0], xmm0
mov byte [rsp + 0x40], 1
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x10]
lea rdx, [rbp]
mov rcx, qword [0x180054a18]
call fcn.180042240
test al, al
jne 0x18003efbf
mov qword [rbp + 0xbc], rdi
movups xmm10, xmmword [rbp + 0xb8]
mov edx, 1
mov rcx, r12
call fcn.180002760
mov r8d, eax
mov r9, r15
mov rdx, r12
lea rcx, [rbp - 0x78]
call fcn.180002480
xor edx, edx
mov rcx, r12
call fcn.180002760
mov r8d, eax
mov r9, r15
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.180002480
movss xmm9, dword [rbp - 0x74]
movaps xmm7, xmm9
subss xmm7, dword [rbp - 0xc]
andps xmm7, xmmword [0x18004c8f0]
movaps xmm13, xmm7
mulss xmm13, xmm11
movaps xmm6, xmm13
mulss xmm6, xmm11
movss xmm11, dword [rbp - 0x78]
subss xmm11, xmm6
cmp byte [0x1800542a8], dil
je 0x18003f0e8
movdqa xmmword [rbp + 0xd0], xmm10
cvttss2si edi, xmm9
cvttss2si ebx, xmm11
mov rax, qword [0x180054a78]
mov rax, qword [rax + 0x4860]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1800095c0
mov r10, rax
lea rcx, [rbp + 0xd0]
call fcn.180007380
cvttss2si ecx, xmm13
add ecx, ebx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x60], xmm0
cvttss2si ecx, xmm7
add ecx, edi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x5c], xmm0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x58], xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x54], xmm0
movss xmm1, dword [0x18004c204]
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x20], xmm8
mov r9d, eax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x58]
mov rcx, r10
call fcn.180027240
mov rbx, qword [rsp + 0x70]
cmp byte [0x1800542aa], 0
je 0x18003f1e3
mov rdx, qword [rsi + 0x350]
xor esi, esi
test rdx, rdx
je 0x18003f1e5
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], 7
mov word [rbp + 0x110], si
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], si
jne 0x18003f130
lea rcx, [rbp + 0x110]
call fcn.1800039b0
nop
cmp qword [rbp + 0x120], 0
je 0x18003f19b
lea r9, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae r9, qword [rbp + 0x110]
movaps xmm0, xmmword [0x18004c8d0]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmm9
addss xmm1, xmm7
cvttss2si edx, xmm1
movaps xmm0, xmm11
addss xmm0, xmm6
cvttss2si ecx, xmm0
lea r8, [rbp + 0xd0]
call fcn.18003c5f0
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 8
jb 0x18003f1e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f1dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fbd2
call fcn.1800428b4
jmp 0x18003f1e5
xor esi, esi
cmp byte [0x1800542a3], 0
je 0x18003f708
mov qword [rbp + 0x20], r14
mov rax, qword [rbx]
test rax, rax
je 0x18003f23a
mov rcx, qword [rax + 0x228]
test rcx, rcx
je 0x18003f23a
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rsi
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x20]
mov rdx, qword [0x1800549f0]
mov rcx, rbx
call fcn.180042240
movss xmm0, dword [rbp + 0x28]
divss xmm0, dword [0x18004c294]
cvttss2si r8d, xmm0
lea r9, [rbp + 0xe5]
test r8d, r8d
jns 0x18003f2a0
neg r8d
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18003f260
dec r9
mov byte [r9], 0x2d
jmp 0x18003f2ca
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18003f2a0
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x160], rsi
mov ecx, 0xf
mov qword [rbp + 0x168], rcx
mov byte [rbp + 0x150], 0
lea rax, [rbp + 0xe5]
cmp r9, rax
je 0x18003f31e
lea r8, [rbp + 0xe5]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x150]
call fcn.180003b30
mov rsi, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x168]
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x18004044f
lea r15, [rbp + 0x150]
mov r13, qword [rbp + 0x150]
cmp rcx, 0x10
cmovae r15, r13
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
lea r14, [rsi + 1]
mov edi, 0xf
lea rbx, [rbp + 0xf0]
cmp r14, rdi
jbe 0x18003f3f3
mov rdi, r14
or rdi, 0xf
cmp rdi, rdx
jbe 0x18003f38b
mov rdi, rdx
jmp 0x18003f398
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
mov rcx, rdi
add rcx, 1
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x18003f3df
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180040455
mov rcx, rax
call fcn.180042428
test rax, rax
je 0x18003fbd9
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18003f3ec
test rcx, rcx
je 0x18003f3e9
call fcn.180042428
mov rbx, rax
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], rdi
mov byte [rbx], 0x5b
lea rcx, [rbx + 1]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov r8d, 2
lea rdx, [0x18004bf10]
lea rcx, [rbp + 0xf0]
call fcn.180003c90
xor esi, esi
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x18003f4ad
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f4a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fbe0
call fcn.1800428b4
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
lea rdi, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdi, qword [rbp + 0x110]
add rdi, qword [rbp + 0x120]
lea rbx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rbx, qword [rbp + 0x110]
mov qword [rbp + 0x130], rsi
mov rcx, rsi
mov qword [rbp + 0x140], rcx
mov r8d, 7
mov qword [rbp + 0x148], r8
mov word [rbp + 0x130], si
mov rdx, rdi
sub rdx, rbx
cmp rdx, 8
jb 0x18003f549
lea rcx, [rbp + 0x130]
call fcn.180042060
mov rcx, rsi
mov qword [rbp + 0x140], rcx
mov r8, qword [rbp + 0x148]
lea rax, [rbp + 0x130]
mov qword [rbp + 0xb8], rax
cmp rbx, rdi
je 0x18003f5b7
nop dword [rax]
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x18003f593
lea rax, [rcx + 1]
mov qword [rbp + 0x140], rax
lea rax, [rbp + 0x130]
cmp r8, 8
cmovae rax, qword [rbp + 0x130]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x18003f59f
lea rcx, [rbp + 0x130]
call fcn.180041ec0
inc rbx
mov r8, qword [rbp + 0x148]
cmp rbx, rdi
je 0x18003f5b7
mov rcx, qword [rbp + 0x140]
jmp 0x18003f560
lea r9, [rbp + 0x130]
cmp r8, 8
cmovae r9, qword [rbp + 0x130]
movaps xmm0, xmmword [0x18004c8d0]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmm9
addss xmm1, xmm7
addss xmm1, dword [0x18004c278]
cvttss2si edx, xmm1
movaps xmm0, xmm11
addss xmm0, xmm6
cvttss2si ecx, xmm0
lea r8, [rbp + 0xd0]
call fcn.18003c5f0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 8
jb 0x18003f64b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f646
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fbe7
call fcn.1800428b4
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x148], 7
mov word [rbp + 0x130], si
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x18003f6a5
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f6a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fbee
call fcn.1800428b4
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x18003f6fb
inc rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x18003f6f3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fbf5
mov rcx, r13
call fcn.1800428b4
mov r13, qword [rsp + 0x78]
mov r15, qword [rbp - 0x48]
mov r14, qword [rbp - 0x50]
cmp byte [0x180054a71], 0
je 0x18003f7cb
movdqa xmmword [rbp + 0xd0], xmm10
mov edi, dword [0x180054ad4]
movd xmm0, dword [0x180054ae0]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x18004c1d0]
cvttss2si ebx, xmm0
mov rax, qword [0x180054a78]
mov rcx, qword [rax + 0x4860]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.1800095c0
mov r10, rax
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x40], xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x3c], xmm1
cvttss2si ecx, xmm15
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x38], xmm0
cvttss2si ecx, xmm14
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x34], xmm1
lea rcx, [rbp + 0xd0]
call fcn.180007380
mov r9d, eax
movss xmm10, dword [0x18004c204]
movss dword [rsp + 0x20], xmm10
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x38]
mov rcx, r10
call fcn.1800270e0
jmp 0x18003f7d4
movss xmm10, dword [0x18004c204]
cmp byte [0x1800542a9], 0
je 0x18003f7e8
mov rdx, r15
mov rcx, r12
call fcn.18003d0d0
movaps xmm0, xmmword [0x18004c740]
movups xmmword [rbp + 0xb8], xmm0
cmp byte [0x1800542a2], 0
je 0x18003fa56
xorps xmm2, xmm2
cvtss2sd xmm2, xmm12
movss xmm6, dword [rbp - 0x80]
cvtps2pd xmm1, xmm6
movaps xmm0, xmm1
mulsd xmm0, qword [0x18004c230]
comisd xmm0, xmm2
jb 0x18003f838
mov dword [rbp + 0xb8], 0x3f800000
mov dword [rbp + 0xc0], 0x3d20a0a1
movaps xmm0, xmm1
mulsd xmm0, qword [0x18004c228]
comisd xmm0, xmm2
jb 0x18003f867
mov dword [rbp + 0xb8], 0x3f800000
mov dword [rbp + 0xbc], 0x3f169697
mov dword [rbp + 0xc0], 0x3d20a0a1
movaps xmm0, xmm1
mulsd xmm0, qword [0x18004c220]
comisd xmm0, xmm2
jbe 0x18003f896
mov dword [rbp + 0xb8], 0x3f800000
mov dword [rbp + 0xbc], 0x3e48c8c9
mov dword [rbp + 0xc0], 0x3d20a0a1
mulsd xmm1, qword [0x18004c218]
comisd xmm1, xmm2
jbe 0x18003f8c2
mov dword [rbp + 0xb8], 0x3f800000
mov dword [rbp + 0xbc], 0x3d20a0a1
mov dword [rbp + 0xc0], 0x3d20a0a1
movaps xmm0, xmm6
mulss xmm0, xmm8
comiss xmm0, xmm12
jbe 0x18003f8e5
mov qword [rbp + 0xb8], 0
mov dword [rbp + 0xc0], 0
addss xmm13, dword [0x18004c26c]
addss xmm13, xmm11
movaps xmm0, xmmword [0x18004c700]
movdqa xmmword [rbp + 0xd0], xmm0
cvttss2si edi, xmm9
cvttss2si ebx, xmm13
mov rax, qword [0x180054a78]
mov rcx, qword [rax + 0x4860]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.1800095c0
mov r10, rax
lea ecx, [rbx + 5]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x30], xmm0
cvttss2si ecx, xmm7
add ecx, edi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x2c], xmm0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x28], xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x24], xmm0
lea rcx, [rbp + 0xd0]
call fcn.180007380
mov r9d, eax
movss dword [rsp + 0x30], xmm10
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, r10
call fcn.180027240
movups xmm0, xmmword [rbp + 0xb8]
movdqa xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmm9
addss xmm1, xmm10
cvttss2si edi, xmm1
addss xmm13, xmm10
cvttss2si ebx, xmm13
mov rax, qword [0x180054a78]
mov rcx, qword [rax + 0x4860]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.1800095c0
mov r10, rax
lea ecx, [rbx + 3]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x20], xmm0
subss xmm7, dword [0x18004c238]
mulss xmm7, xmm12
divss xmm7, xmm6
cvttss2si ecx, xmm7
add ecx, edi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x1c], xmm0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x18], xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x14], xmm0
lea rcx, [rbp + 0xd0]
call fcn.180007380
mov r9d, eax
mov dword [rsp + 0x28], esi
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
mov rcx, r10
call fcn.180027340
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x180054ae0]
movss xmm11, dword [0x18004c1d0]
mulss xmm0, xmm11
subss xmm0, dword [rbp - 0x78]
movss xmm7, dword [0x18004c238]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x180054ad4]
mulss xmm0, xmm11
subss xmm0, xmm9
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x18003fab6
sqrtss xmm6, xmm6
jmp 0x18003fac1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movss xmm1, dword [0x1800542b0]
comiss xmm1, xmm6
jbe 0x18003fb9f
cmp byte [0x180054ad0], 0
je 0x18003fb4e
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], 0
mov dword [rbp + 0xb0], 0
mov byte [rbp + 0xb4], 0
mov rax, qword [r15]
test rax, rax
je 0x18003fb45
mov rcx, qword [rax + 0x228]
test rcx, rcx
je 0x18003fb45
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rsi
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0xa0]
mov rdx, qword [0x180054a58]
mov rcx, r15
call fcn.180042240
cmp byte [rbp + 0xb5], 0
je 0x18003fb9f
movss xmm7, dword [rsp + 0x68]
ucomiss xmm7, xmm8
jp 0x18003fb75
jne 0x18003fb75
movss dword [rsp + 0x68], xmm6
mov rsi, r14
mov qword [rsp + 0x60], r14
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
jmp 0x18003fbad
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
comiss xmm7, xmm6
jbe 0x18003fb98
movss dword [rsp + 0x68], xmm6
mov rsi, r14
mov qword [rsp + 0x60], r14
jmp 0x18003fbb2
mov rsi, qword [rsp + 0x60]
jmp 0x18003fbb2
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
inc ecx
mov dword [rsp + 0x50], ecx
inc r13
mov qword [rsp + 0x78], r13
cmp ecx, dword [rbp + 0x48]
jge 0x18003fbfc
movss xmm6, dword [0x18004c204]
jmp 0x18003ed60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r12d, r12d
mov r13, qword [rbp - 0x70]
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x100], eax
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [0x180054be0], xmm0
movsd xmm1, qword [rbp + 0x100]
movsd qword [0x180054bf0], xmm1
test rsi, rsi
je 0x180040390
mov rdi, qword [rsi + 0x2d0]
test rdi, rdi
je 0x180040390
cmp byte [rdi + 0x2b8], al
jne 0x18003fc68
mov rdi, qword [rsi + 0xb10]
test rdi, rdi
je 0x1800403e7
movaps xmm13, xmm8
movaps xmm14, xmm8
movaps xmm15, xmm8
movss xmm12, dword [0x18004c2c4]
mov edx, dword [0x180054acc]
test edx, edx
jne 0x18003fef4
mov ebx, r12d
nop
mov edx, ebx
mov rcx, rdi
call fcn.180002760
mov rcx, qword [0x1800549d8]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], r12
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x1b0]
mov rcx, rdi
call fcn.180042240
movss xmm9, dword [rbp + 0x1e0]
movss xmm10, dword [rbp + 0x1e4]
movss xmm11, dword [rbp + 0x1e8]
movss dword [rbp + 0x38], xmm11
movsd xmm0, qword [0x180054bf8]
movsd qword [rbp], xmm0
mov eax, dword [0x180054c00]
mov dword [rbp + 8], eax
movaps xmm0, xmm9
unpcklps xmm0, xmm10
movsd qword [rbp + 0x10], xmm0
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp + 0x200], xmm1
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x220], xmm1
movaps xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], 0
movups xmmword [rbp + 0x248], xmm0
movups xmmword [rbp + 0x258], xmm0
movups xmmword [rbp + 0x268], xmm0
mov rax, qword [0x1800549e8]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 1
mov rax, qword [0x180054a10]
movups xmm0, xmmword [rax + 0x98]
movaps xmmword [rbp + 0xd0], xmm0
mov byte [rsp + 0x40], 1
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp]
lea rdx, [rbp + 0x10]
mov rcx, qword [0x180054a18]
call fcn.180042240
test al, al
jne 0x18003fee7
movss dword [rbp + 0xf0], xmm9
movss dword [rbp + 0xf4], xmm10
movss dword [rbp + 0xf8], xmm11
movaps xmm1, xmm8
movss dword [rbp + 0xfc], xmm1
movaps xmm7, xmm8
movss dword [rbp + 0x100], xmm7
mov byte [rbp + 0x104], al
mov rax, qword [r15]
test rax, rax
je 0x18003fe58
mov rcx, qword [rax + 0x228]
test rcx, rcx
je 0x18003fe58
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], r12
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0xf0]
mov rdx, qword [0x180054a08]
mov rcx, r15
call fcn.180042240
movss xmm7, dword [rbp + 0x100]
movss xmm1, dword [rbp + 0xfc]
cmp byte [rbp + 0x105], 0
jne 0x18003fe69
movaps xmm1, xmm8
movaps xmm7, xmm8
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x180054ae0]
mulss xmm0, dword [0x18004c1d0]
subss xmm0, xmm1
movss xmm1, dword [0x18004c238]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x180054ad4]
mulss xmm0, dword [0x18004c1d0]
subss xmm0, xmm7
movss xmm1, dword [0x18004c238]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x18003fec9
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x18003fed1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm12, xmm0
jbe 0x18003fee7
movaps xmm12, xmm0
movaps xmm13, xmm9
movaps xmm14, xmm10
movaps xmm15, xmm11
inc ebx
cmp ebx, 0xf
jl 0x18003fc90
jmp 0x18003ff44
mov rcx, rdi
call fcn.180002760
mov rdx, qword [0x1800549d8]
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r12
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x280]
mov rcx, rdi
call fcn.180042240
movss xmm13, dword [rbp + 0x2b0]
movss xmm14, dword [rbp + 0x2b4]
movss xmm15, dword [rbp + 0x2b8]
movss xmm3, dword [0x180054bf8]
movss xmm4, dword [0x180054bfc]
movss xmm5, dword [0x180054c00]
mov rcx, qword [0x1800549f8]
mov rdx, qword [0x1800549c0]
movaps xmm0, xmm8
movaps xmm1, xmm8
movaps xmm2, xmm8
test rdx, rdx
je 0x180040022
movss dword [rbp + 0x168], xmm0
movss dword [rbp + 0x16c], xmm1
movss dword [rbp + 0x170], xmm2
movss dword [rbp + 0x150], xmm3
movss dword [rbp + 0x154], xmm4
movss dword [rbp + 0x158], xmm5
movss dword [rbp + 0x15c], xmm13
movss dword [rbp + 0x160], xmm14
movss dword [rbp + 0x164], xmm15
test rcx, rcx
je 0x180040022
mov rax, qword [rcx]
test rax, rax
je 0x180040022
mov r8, qword [rax + 0x228]
test r8, r8
je 0x180040022
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], r12
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x150]
call fcn.180042240
mov rdx, qword [0x1800549c0]
movss xmm2, dword [rbp + 0x170]
movss xmm1, dword [rbp + 0x16c]
movss xmm0, dword [rbp + 0x168]
mov qword [0x180054be0], rsi
movss dword [0x180054be8], xmm0
movss dword [0x180054bec], xmm1
movss dword [0x180054bf0], xmm2
cmp byte [0x180054ac9], 0
je 0x180040390
movss dword [rbp + 0xd0], xmm13
movss dword [rbp + 0xd4], xmm14
movss dword [rbp + 0xd8], xmm15
mov qword [rbp + 0xdc], 0
mov byte [rbp + 0xe4], 0
mov rax, qword [r15]
test rax, rax
je 0x1800400c0
mov r8, qword [rax + 0x228]
test r8, r8
je 0x1800400c0
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x48], r12
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0xd0]
mov rdx, qword [0x180054a08]
mov rcx, r15
call fcn.180042240
mov rdx, qword [0x1800549c0]
movss xmm0, dword [0x180054bf8]
movss xmm1, dword [0x180054bfc]
movss xmm2, dword [0x180054c00]
mov rcx, qword [0x1800549f8]
movaps xmm6, xmm8
movaps xmm7, xmm8
movaps xmm9, xmm8
test rdx, rdx
je 0x180040192
movss dword [rbp + 0x198], xmm6
movss dword [rbp + 0x19c], xmm7
movss dword [rbp + 0x1a0], xmm8
movss dword [rbp + 0x180], xmm0
movss dword [rbp + 0x184], xmm1
movss dword [rbp + 0x188], xmm2
movss dword [rbp + 0x18c], xmm13
movss dword [rbp + 0x190], xmm14
movss dword [rbp + 0x194], xmm15
test rcx, rcx
je 0x180040192
mov rax, qword [rcx]
test rax, rax
je 0x180040192
mov r8, qword [rax + 0x228]
test r8, r8
je 0x180040192
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r12
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x180]
call fcn.180042240
movss xmm9, dword [rbp + 0x1a0]
movss xmm7, dword [rbp + 0x19c]
movss xmm6, dword [rbp + 0x198]
mov rcx, qword [r13 + 0x30]
movaps xmm10, xmm8
movss dword [rbp + 0xb8], xmm8
movaps xmm11, xmm8
movss dword [rbp + 0xbc], xmm8
movaps xmm12, xmm8
movss dword [rbp + 0xc0], xmm8
test rcx, rcx
je 0x180040218
mov rax, qword [rcx]
test rax, rax
je 0x180040218
mov rdx, qword [rax + 0x228]
test rdx, rdx
je 0x180040218
mov qword [rbp], rdx
mov qword [rbp + 8], r12
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0xb8]
mov rdx, qword [0x180054a20]
call fcn.180042240
movss xmm12, dword [rbp + 0xc0]
movss xmm11, dword [rbp + 0xbc]
movss xmm10, dword [rbp + 0xb8]
mov rcx, qword [0x1800549f8]
mov rdx, qword [0x1800549e0]
movaps xmm2, xmm8
movaps xmm3, xmm8
test rdx, rdx
je 0x1800402d6
movss dword [rbp + 0x1c8], xmm8
movss dword [rbp + 0x1cc], xmm2
movss dword [rbp + 0x1d0], xmm3
movss dword [rbp + 0x1b0], xmm6
movss dword [rbp + 0x1b4], xmm7
movss dword [rbp + 0x1b8], xmm9
movss dword [rbp + 0x1bc], xmm10
movss dword [rbp + 0x1c0], xmm11
movss dword [rbp + 0x1c4], xmm12
test rcx, rcx
je 0x1800402d6
mov rax, qword [rcx]
test rax, rax
je 0x1800402d6
mov r8, qword [rax + 0x228]
test r8, r8
je 0x1800402d6
mov qword [rbp + 0x10], r8
mov qword [rbp + 0x18], r12
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x1b0]
call fcn.180042240
movss xmm3, dword [rbp + 0x1d0]
movss xmm2, dword [rbp + 0x1cc]
movss xmm8, dword [rbp + 0x1c8]
movss xmm1, dword [0x1800542ac]
mulss xmm8, xmm1
movss xmm0, dword [0x18004c1a0]
mulss xmm8, xmm0
addss xmm8, xmm10
mulss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, xmm11
mulss xmm3, xmm1
mulss xmm3, xmm0
addss xmm3, xmm12
movss dword [rbp + 0xb8], xmm8
movss dword [rbp + 0xbc], xmm2
movss dword [rbp + 0xc0], xmm3
mov ecx, dword [0x1800542a4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180040390
mov rcx, qword [r13 + 0x30]
movsd xmm0, qword [rbp + 0xb8]
movsd qword [rbp], xmm0
mov eax, dword [rbp + 0xc0]
mov dword [rbp + 8], eax
test rcx, rcx
je 0x180040390
mov rax, qword [rcx]
test rax, rax
je 0x180040390
mov rdx, qword [rax + 0x228]
test rdx, rdx
je 0x180040390
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], r12
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp]
mov rdx, qword [0x180054a30]
call fcn.180042240
mov rax, qword [0x180054aa8]
test rax, rax
je 0x1800403e7
mov rax, qword [rax + 0x628]
test rax, rax
je 0x1800403e7
mov rax, qword [rax + 0x528]
test rax, rax
je 0x1800403e7
cmp byte [0x180054acb], 0
je 0x1800403c8
mov qword [rax + 0x860], 0
cmp byte [0x180054a72], 0
je 0x1800403e7
mov qword [rax + 0x850], 0
mov qword [rax + 0x858], 0
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.180042310
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001ac0
nop
call fcn.180001a20
int3