Function at 0x140001d40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x440
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, r8
mov qword [rsp + 0x48], r8
mov r14, rdx
lea rax, [r8 + 0x1f58b58]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1b8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x1b8]
test rax, rax
je 0x1400028d5
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1b8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rbp + 0x1b8]
lea rax, [rbx + 0x100]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1b8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r12, qword [rbp + 0x1b8]
mov qword [rbp + 0x1b8], r12
lea rax, [rbx + 0x108]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1b0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 4
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, dword [rbp + 0x1b0]
mov dword [rsp + 0x44], edi
lea rax, [rsi + 0x2593320]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1d8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x1d8]
add rax, 8
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1d8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rbp + 0x1d8]
mov qword [rbp + 0x1d8], rbx
lea rax, [rbx + 0x90]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x220]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [0x1400f80a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400028d5
mov r15d, r13d
mov dword [rsp + 0x40], r13d
test edi, edi
jle 0x1400028d5
mov eax, r13d
mov dword [rbp + 0x1b0], eax
movss xmm10, dword [0x1400ef400]
movss xmm14, dword [0x1400eedfc]
movsd xmm13, qword [0x1400eee68]
xorps xmm9, xmm9
nop dword [rax]
cdqe
add rax, r12
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x240]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdi, qword [rbp + 0x240]
test rdi, rdi
je 0x1400028b3
cmp rdi, rbx
je 0x1400028b3
lea rax, [rdi + 0x280]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x1f0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 4
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [0x1400f8084]
comiss xmm0, dword [rbp + 0x1f0]
jae 0x1400028b3
mov rdx, rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x140002be0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, [rdi + 0x90]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x230]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm1, dword [rbp + 0x228]
subss xmm1, dword [rbp + 0x238]
movss xmm0, dword [rbp + 0x224]
subss xmm0, dword [rbp + 0x234]
movss xmm2, dword [rbp + 0x220]
subss xmm2, dword [rbp + 0x230]
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm0
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140002214
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14000221c
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, dword [0x1400f8090]
ja 0x1400028b3
mov r12d, dword [0x1400f8068]
sub r12d, dword [0x1400f8060]
mov r13d, dword [0x1400f806c]
sub r13d, dword [0x1400f8064]
movd xmm11, r12d
cvtdq2ps xmm11, xmm11
mulss xmm11, xmm14
movd xmm12, r13d
cvtdq2ps xmm12, xmm12
mulss xmm12, xmm14
lea rax, [rsi + 0x20019e0]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x248]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x248]
add rax, 0x24c
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x260]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x40
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f8], xmm1
mov qword [rbp + 0x208], rbx
lea ecx, [rbx + 4]
call fcn.1400508e0
mov rbx, rax
mov qword [rbp + 0x1f8], rax
lea rsi, [rax + 4]
mov qword [rbp + 0x208], rsi
mov dword [rax], 0x796e
mov qword [rbp + 0x200], rsi
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov qword [rbp + 0x1d0], rax
cmp rbx, rsi
je 0x1400023b2
mov r8d, dword [rbx]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140001720
mov rdx, qword [rbp + 0x1c8]
cmp rdx, qword [rbp + 0x1d0]
je 0x14000239a
mov ecx, dword [rax]
mov dword [rdx], ecx
mov ecx, dword [rax + 4]
mov dword [rdx + 4], ecx
mov eax, dword [rax + 8]
mov dword [rdx + 8], eax
add qword [rbp + 0x1c8], 0xc
jmp 0x1400023a9
mov r8, rax
lea rcx, [rbp + 0x1c0]
call fcn.1400030c0
add rbx, 4
cmp rbx, rsi
jne 0x140002360
xor edi, edi
mov esi, edi
mov rcx, qword [rbp + 0x1c8]
mov r8, qword [rbp + 0x1c0]
sub rcx, r8
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400027f0
mov r15d, edi
nop dword [rax]
lea rcx, [r8 + r15]
mov dword [rsp + 0x20], r13d
mov r9d, r12d
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x260]
call fcn.1400018e0
movss xmm0, dword [rsp + 0x54]
subss xmm0, xmm12
cvtps2pd xmm0, xmm0
movaps xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movss xmm1, dword [rsp + 0x50]
subss xmm1, xmm11
cvtps2pd xmm0, xmm1
movaps xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x140002457
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x14000245f
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x1400f808c]
comiss xmm0, xmm1
jb 0x1400027b7
lea rdx, [0x140053a00]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002ef0
lea rdx, [0x140002be0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x1c0]
cmp rax, qword [rbp + 0x1c8]
je 0x14000298f
movss xmm0, dword [rax]
ucomiss xmm0, xmm9
jp 0x1400024d8
jne 0x1400024d8
movss xmm0, dword [rax + 4]
ucomiss xmm0, xmm9
jp 0x1400024d8
jne 0x1400024d8
movss xmm0, dword [rax + 8]
ucomiss xmm0, xmm9
jp 0x1400024d8
je 0x14000298f
mov rax, qword [rsp + 0x48]
add rax, 0x20025b8
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x250]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 8
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rbp + 0x250]
test rbx, rbx
je 0x140002960
mov qword [rbp + 0x1e0], 0
mov dword [rbp + 0x1e8], 0
lea rdi, [rbx + 0x60]
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0x1e0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 0
add rbx, 0x3d0
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221dd8
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm1, dword [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [0x140002be0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x1c0]
movss xmm7, dword [rax + 8]
subss xmm7, dword [rbp + 0x1e8]
movss xmm6, dword [rax + 4]
subss xmm6, dword [rbp + 0x1e4]
movss xmm8, dword [rax]
subss xmm8, dword [rbp + 0x1e0]
movaps xmm1, xmm8
mulss xmm1, xmm8
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14000267b
xorps xmm4, xmm4
sqrtss xmm4, xmm1
jmp 0x140002686
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm4, xmm0
movaps xmm1, xmm7
movss xmm3, dword [0x1400f8094]
mulss xmm1, xmm3
movaps xmm2, xmm6
mulss xmm2, xmm3
divss xmm7, xmm4
addss xmm7, xmm1
divss xmm6, xmm4
addss xmm6, xmm2
movaps xmm0, xmm8
divss xmm0, xmm4
mulss xmm8, xmm3
addss xmm0, xmm8
movss dword [rbp + 0x210], xmm0
movss dword [rbp + 0x214], xmm6
movss dword [rbp + 0x218], xmm7
subss xmm7, dword [rsp + 0x78]
subss xmm6, dword [rsp + 0x74]
movss xmm1, dword [0x1400f8098]
subss xmm0, dword [rsp + 0x70]
andps xmm0, xmm10
comiss xmm1, xmm0
jbe 0x14000292f
andps xmm6, xmm10
comiss xmm1, xmm6
jbe 0x14000292f
andps xmm7, xmm10
comiss xmm1, xmm7
jbe 0x14000292f
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0x210]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221ddc
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp - 0x78], rbx
lea rax, [rbp + 0x210]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0xc
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x230
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rbp - 0x80]
mov edx, 0x221ddc
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movabs rbx, 0x2aaaaaaaaaaaaaab
inc rsi
add r15, 0xc
mov rcx, qword [rbp + 0x1c8]
mov r8, qword [rbp + 0x1c0]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x1400023f0
mov r15d, dword [rsp + 0x40]
test r8, r8
je 0x140002859
mov rcx, qword [rbp + 0x1d0]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov rax, r8
cmp rdx, 0x1000
jb 0x14000283f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a76
mov rcx, r8
call fcn.140050924
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], rdi
mov rcx, qword [rbp + 0x1f8]
test rcx, rcx
je 0x14000289d
mov rdx, qword [rbp + 0x208]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002898
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a7d
call fcn.140050924
xor r13d, r13d
mov r12, qword [rbp + 0x1b8]
mov rbx, qword [rbp + 0x1d8]
mov rsi, qword [rsp + 0x48]
inc r15d
mov dword [rsp + 0x40], r15d
mov eax, dword [rbp + 0x1b0]
add eax, 0x10
mov dword [rbp + 0x1b0], eax
cmp r15d, dword [rsp + 0x44]
jl 0x140002080
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400508c0
lea r11, [rsp + 0x440]
mov rbx, 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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.error23
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002ef0
lea rdx, [0x140002be0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edi, edi
movabs rbx, 0x2aaaaaaaaaaaaaab
jmp 0x1400029b3
lea rdx, str.error2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002ef0
lea rdx, [0x140002be0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs rbx, 0x2aaaaaaaaaaaaaab
jmp 0x1400029b3
lea rdx, str.error
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002ef0
lea rdx, [0x140002be0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov r8, qword [rbp + 0x1c0]
test r8, r8
je 0x140002a26
mov rcx, qword [rbp + 0x1d0]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov rax, r8
cmp rdx, 0x1000
jb 0x140002a0c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140050924
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], rdi
mov rcx, qword [rbp + 0x1f8]
test rcx, rcx
je 0x1400028d5
mov rdx, qword [rbp + 0x208]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050924
jmp 0x1400028d5
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