Function at 0x140001540
Capabilities:
Check for unmoving mouse cursor
Create thread
Execute command
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 - 0x4e8]
sub rsp, 0x5c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x490], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x58], r14d
lea rdx, [0x14000967c]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rdx, [0x140009680]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
mov byte [rbp + 0x110], r14b
lea rcx, [rbp + 0x228]
call fcn.140001480
mov dword [rbp - 0x20], 0x53
mov dword [rbp - 0x1c], 0x76
lea rax, [rbp - 0x20]
mov qword [rbp + 0x160], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x168], rax
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x228]
call fcn.140005190
nop
lea rcx, [rbp + 0x210]
call fcn.140001480
mov dword [rbp - 0x38], 0x53
mov dword [rbp - 0x34], 0x77
lea rax, [rbp - 0x38]
mov qword [rbp + 0x160], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x168], rax
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x210]
call fcn.140005190
nop
mov r13, qword [rbp + 0x218]
mov r12, qword [rbp + 0x210]
mov r15, qword [rbp + 0x228]
xor edi, edi
mov rsi, qword [rbp + 0x230]
sub rsi, r15
sar rsi, 2
test rsi, rsi
je 0x1400016a7
mov rbx, r15
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000367c
inc edi
add rbx, 4
movsxd rax, edi
cmp rax, rsi
jb 0x140001688
xor edi, edi
test rsi, rsi
je 0x1400016cc
mov rbx, r15
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400016d9
inc edi
add rbx, 4
movsxd rax, edi
cmp rax, rsi
jb 0x1400016b1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400016a7
lea rcx, [0x140009708]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Recording...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
mov byte [rbp + 0x110], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
xor r15d, r15d
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x150], 0xf
mov byte [rbp + 0x138], r15b
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
mov edi, r15d
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x180], r15
mov r12d, r15d
lea rcx, [rbp + 0x158]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140001490]
lea ecx, [r15 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14000d9f0], rax
test rax, rax
je 0x140004276
mov rax, qword [0x14000d9f8]
cmp rax, qword [0x14000da00]
je 0x140001790
mov qword [0x14000da00], rax
lea rax, [rbp + 0x110]
mov qword [rbp - 0x80], rax
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x228]
lea rcx, [rbp + 0x160]
call fcn.140005e90
nop
mov r13, qword [rbp + 0x170]
cmp byte [rbp + 0x110], 0
je 0x140002d8e
mov qword [rbp - 0x80], r13
jmp 0x1400017d7
mov rdi, qword [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x1400017f8
imul rbx, rcx, 0x64
jmp 0x140001872
cmp rbx, 0x16e3600
jne 0x140001856
movabs r9, 0xb2f4fc0794908cf3
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
add rbx, r8
jmp 0x140001872
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
mov esi, r15d
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400018d3
mov r10b, 1
mov r8d, r15d
mov rax, qword [rbp + 0x178]
mov r9, rax
sub r9, r13
sar r9, 2
test r9, r9
je 0x140001936
mov rax, r13
nop word [rax + rax]
mov edx, r15d
movzx ecx, r10b
cmp esi, dword [rax]
cmovne edx, ecx
movzx r10d, dl
inc r8d
lea rax, [rax + 4]
movsxd rcx, r8d
cmp rcx, r9
jb 0x1400018b0
test dl, dl
jne 0x14000192f
inc esi
cmp esi, 0x100
jl 0x140001875
mov dword [rsp + 0x58], 0xffffffff
mov esi, r15d
mov rdi, r15
mov r15, qword [rbp + 0x178]
sub r15, r13
sar r15, 2
test r15, r15
je 0x1400024e3
lea r14, [rdi*4]
mov ecx, dword [r14 + r13]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001f14
inc esi
inc rdi
movsxd rax, esi
cmp rax, r15
jb 0x140001902
jmp 0x1400024de
mov rax, qword [rbp + 0x178]
mov dword [rsp + 0x58], esi
cmp esi, 0xffffffff
jle 0x1400018e5
cmp rax, rdi
je 0x140001953
mov dword [rax], esi
add rax, 4
mov qword [rbp + 0x178], rax
jmp 0x140001980
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140007000
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x190], rax
mov rcx, qword [rbp + 0x170]
mov qword [rbp - 0x80], rcx
mov edx, r12d
lea rcx, [rsp + 0x60]
call fcn.140005aa0
bts r14d, 0x10
mov dword [rsp + 0x30], r14d
mov r12, qword [rbp + 0x148]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r12
cmp rax, 6
jb 0x140004318
lea r13, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova r13, qword [rbp + 0x138]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea r15, [r12 + 6]
mov r14d, 0xf
lea rdi, [rsp + 0x38]
cmp r15, r14
jbe 0x140001a71
mov r14, r15
or r14, 0xf
cmp r14, rcx
jbe 0x140001a15
mov r14, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140001a3c
cmp r14, 0x16
mov eax, 0x16
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x140001a5b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004312
mov rcx, rax
call fcn.140007330
test rax, rax
je 0x140004151
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001a6c
test rcx, rcx
je 0x140001a6a
call fcn.140007330
mov rdi, rax
jmp 0x140001a6c
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov r8, r12
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x140009740]
mov dword [r12 + rdi], eax
movzx eax, word [0x140009744]
mov word [r12 + rdi + 4], ax
mov byte [rdi + r15], 0
mov r14d, dword [rsp + 0x30]
bts r14d, 0x11
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0x118]
call fcn.1400068e0
bts r14d, 0x12
mov rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x130]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x118]
cmp rax, 1
jb 0x140001b1a
lea rax, [rdx + 1]
mov qword [rbp + 0x128], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x118]
movzx eax, word [0x14000973c]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x118]
jmp 0x140001b34
mov qword [rsp + 0x20], 1
lea r9, [0x14000973c]
mov edx, 1
call fcn.1400066a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
bts r14d, 0x13
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140001b98
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004143
call fcn.1400075ac
movups xmmword [rbp + 0x138], xmm6
movups xmmword [rbp + 0x148], xmm7
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x140001be7
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001be2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000414a
call fcn.1400075ac
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140001c3e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004151
call fcn.1400075ac
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001c7b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004158
call fcn.1400075ac
mov r12d, r15d
cmp esi, 1
je 0x140001d22
cmp esi, 2
je 0x140001d22
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009748]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x118]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
nop
lea rcx, [rbp - 0x60]
call fcn.1400053e0
mov r13, qword [rbp - 0x80]
jmp 0x1400018e5
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rbp - 0x18]
cmp edx, dword [rbp + 0x158]
je 0x140001dcc
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009750]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0x158], eax
mov edx, dword [rbp - 0x14]
cmp edx, dword [rbp + 0x15c]
je 0x140001e6b
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009758]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x15c], eax
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x60]
cmp esi, 1
jne 0x140001ec8
lea r8, str.LDown
call fcn.140005fa0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
mov r13, qword [rbp - 0x80]
jmp 0x1400018e5
lea r8, str.RDown
call fcn.140005fa0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
mov r13, qword [rbp - 0x80]
jmp 0x1400018e5
mov r13d, dword [r14 + r13]
movsxd rax, esi
mov rcx, qword [rbp - 0x80]
lea rcx, [rcx + rax*4]
lea rdx, [rcx + 4]
mov rdi, qword [rbp + 0x178]
mov r8, rdi
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
sub rdi, 4
mov qword [rbp + 0x178], rdi
cmp r13d, 0xffffffff
jle 0x1400024da
mov edx, r12d
lea rcx, [rsp + 0x60]
call fcn.140005aa0
or dword [rsp + 0x30], 0x100
mov r15, qword [rbp + 0x148]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 6
jb 0x140004324
lea r12, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova r12, qword [rbp + 0x138]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea r14, [r15 + 6]
mov esi, 0xf
lea rdi, [rsp + 0x38]
cmp r14, rsi
jbe 0x140002039
mov rsi, r14
or rsi, 0xf
cmp rsi, rcx
jbe 0x140001fe1
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140002008
cmp rsi, 0x16
mov ecx, 0x16
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140002027
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000431e
mov rcx, rax
call fcn.140007330
test rax, rax
je 0x14000416d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002034
test rcx, rcx
je 0x140002031
call fcn.140007330
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rsi
mov r8, r15
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x140009740]
mov dword [rdi + r15], eax
movzx eax, word [0x140009744]
mov word [rdi + r15 + 4], ax
mov byte [rdi + r14], 0
mov r14d, dword [rsp + 0x30]
bts r14d, 9
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0x118]
call fcn.1400068e0
bts r14d, 0xa
mov rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x130]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x118]
cmp rax, 1
jb 0x1400020e2
lea rax, [rdx + 1]
mov qword [rbp + 0x128], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x118]
movzx eax, word [0x14000973c]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x118]
jmp 0x1400020fc
mov qword [rsp + 0x20], 1
lea r9, [0x14000973c]
mov edx, 1
call fcn.1400066a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
bts r14d, 0xb
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140002160
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000215b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000415f
call fcn.1400075ac
movups xmmword [rbp + 0x138], xmm6
movups xmmword [rbp + 0x148], xmm7
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x1400021af
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004166
call fcn.1400075ac
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002206
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002200
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000416d
call fcn.1400075ac
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140002243
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000223e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004174
call fcn.1400075ac
mov r12d, r15d
cmp r13d, 1
je 0x1400022ed
cmp r13d, 2
je 0x1400022ed
mov edx, r13d
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009770]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov r13, qword [rbp - 0x80]
jmp 0x1400024e6
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rbp - 0x10]
cmp edx, dword [rbp + 0x158]
je 0x140002397
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009750]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0x158], eax
mov edx, dword [rbp - 0xc]
cmp edx, dword [rbp + 0x15c]
je 0x140002436
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009758]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov eax, dword [rbp - 0xc]
mov dword [rbp + 0x15c], eax
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x60]
cmp r13d, 1
jne 0x140002491
lea r8, [0x14000977c]
call fcn.140005fa0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
mov r13, qword [rbp - 0x80]
jmp 0x1400024e6
lea r8, [0x140009780]
call fcn.140005fa0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
mov r13, qword [rbp - 0x80]
jmp 0x1400024e6
mov r13, qword [rbp - 0x80]
mov r14d, dword [rsp + 0x30]
xor r15d, r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x360]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140002521
lea rcx, [rbp + 0x360]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x360]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [0x14000da00]
sub rax, qword [0x14000d9f8]
sar rax, 2
test rax, rax
je 0x140002cb5
mov edx, r12d
lea rcx, [rsp + 0x60]
call fcn.140005aa0
bts r14d, 0xc
mov dword [rsp + 0x30], r14d
mov r15, qword [rbp + 0x148]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 6
jb 0x14000433c
lea r12, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova r12, qword [rbp + 0x138]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea r14, [r15 + 6]
mov esi, 0xf
lea rdi, [rsp + 0x38]
cmp r14, rsi
jbe 0x140002629
mov rsi, r14
or rsi, 0xf
cmp rsi, rcx
jbe 0x1400025d1
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400025f8
cmp rsi, 0x16
mov ecx, 0x16
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140002617
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000432a
mov rcx, rax
call fcn.140007330
test rax, rax
je 0x140004189
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002624
test rcx, rcx
je 0x140002621
call fcn.140007330
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rsi
mov r8, r15
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x140009740]
mov dword [rdi + r15], eax
movzx eax, word [0x140009744]
mov word [rdi + r15 + 4], ax
mov byte [rdi + r14], 0
mov esi, dword [rsp + 0x30]
bts esi, 0xd
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0x118]
call fcn.1400068e0
bts esi, 0xe
mov rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x130]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x118]
cmp rax, 1
jb 0x1400026cf
lea rax, [rdx + 1]
mov qword [rbp + 0x128], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x118]
movzx eax, word [0x14000973c]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x118]
jmp 0x1400026e9
mov qword [rsp + 0x20], 1
lea r9, [0x14000973c]
mov edx, 1
call fcn.1400066a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
bts esi, 0xf
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140002747
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000417b
call fcn.1400075ac
movups xmmword [rbp + 0x138], xmm6
movups xmmword [rbp + 0x148], xmm7
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x140002796
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004182
call fcn.1400075ac
mov qword [rbp + 0x128], r14
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400027ed
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004189
call fcn.1400075ac
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000282a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002825
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004190
call fcn.1400075ac
mov dword [rbp - 0x30], r14d
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rbp - 0x20]
cmp edx, dword [rbp + 0x158]
je 0x1400028d8
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009750]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov eax, dword [rbp - 0x20]
mov dword [rbp + 0x158], eax
mov edx, dword [rbp - 0x1c]
cmp edx, dword [rbp + 0x15c]
je 0x140002977
lea rcx, [rbp + 0x118]
call fcn.1400012a0
mov rdi, rax
lea r8, [0x140009758]
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x38]
call fcn.140005fa0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400061e0
nop
lea r8, [0x14000973c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140006100
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140005440
lea rcx, [rbp - 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x38]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
mov eax, dword [rbp - 0x1c]
mov dword [rbp + 0x15c], eax
mov r8d, r14d
mov edx, r14d
mov r9, qword [0x14000da00]
mov rcx, qword [0x14000d9f8]
sub r9, rcx
sar r9, 2
test r9, r9
je 0x1400029b1
nop word [rax + rax]
add r8d, dword [rcx]
inc edx
lea rcx, [rcx + 4]
movsxd rax, edx
cmp rax, r9
jb 0x1400029a0
mov edx, r8d
lea rcx, [rsp + 0x60]
call fcn.140005aa0
or esi, 8
mov dword [rsp + 0x30], esi
mov r15, qword [rbp + 0x148]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 7
jb 0x140004336
lea r12, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova r12, qword [rbp + 0x138]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea r14, [r15 + 7]
mov esi, 0xf
lea rdi, [rsp + 0x38]
cmp r14, rsi
jbe 0x140002a9d
mov rsi, r14
or rsi, 0xf
cmp rsi, rcx
jbe 0x140002a41
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140002a68
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140002a87
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004330
mov rcx, rax
call fcn.140007330
test rax, rax
je 0x1400041a5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002a98
test rcx, rcx
je 0x140002a96
call fcn.140007330
mov rdi, rax
jmp 0x140002a98
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rsi
mov r8, r15
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x140009788]
mov dword [rdi + r15], eax
movzx eax, word [0x14000978c]
mov word [rdi + r15 + 4], ax
movzx eax, byte [0x14000978e]
mov byte [rdi + r15 + 6], al
mov byte [rdi + r14], 0
mov r14d, dword [rsp + 0x30]
or r14d, 4
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0x118]
call fcn.1400068e0
or r14d, 2
mov rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x130]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x118]
cmp rax, 1
jb 0x140002b51
lea rax, [rdx + 1]
mov qword [rbp + 0x128], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x118]
movzx eax, word [0x14000973c]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x118]
jmp 0x140002b6b
mov qword [rsp + 0x20], 1
lea r9, [0x14000973c]
mov edx, 1
call fcn.1400066a0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
or r14d, 1
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140002bce
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004197
call fcn.1400075ac
movups xmmword [rbp + 0x138], xmm6
movups xmmword [rbp + 0x148], xmm7
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x140002c1d
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000419e
call fcn.1400075ac
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002c74
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041a5
call fcn.1400075ac
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140002cb1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041ac
call fcn.1400075ac
mov r12, qword [rbp - 0x30]
mov esi, r12d
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rdi, 0x989680
jne 0x140002ce4
imul rcx, rcx, 0x64
jmp 0x140002d5d
cmp rdi, 0x16e3600
jne 0x140002d42
movabs r9, 0xb2f4fc0794908cf3
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
jmp 0x140002d5d
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
mov r12, rdx
sar r12, 0x12
mov rax, r12
shr rax, 0x3f
add r12, rax
add r12d, esi
cmp byte [rbp + 0x110], 0
jne 0x1400017d0
cmp dword [rbp + 0x168], 0
je 0x14000426a
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x168], eax
je 0x14000425e
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140004252
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
mov rcx, qword [0x14000d9f0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
lea rcx, [0x140009708]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x140009790]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
mov rcx, rax
lea rdx, [0x140005e50]
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]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
lea rdx, [rbp + 0x1a0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140006200
mov rdx, qword [rbp + 0x1b0]
mov r8, qword [rbp + 0x1b8]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x1a0]
cmp rax, 4
jb 0x140002e93
lea rax, [rdx + 4]
mov qword [rbp + 0x1b0], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x1a0]
mov eax, dword [str..txt]
mov dword [rcx + rdx], eax
mov byte [rcx + rdx + 4], 0
jmp 0x140002ead
mov qword [rsp + 0x20], 4
lea r9, str..txt
mov edx, 4
call fcn.1400066a0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x250]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rbx, qword [rbp + 0x1a0]
lea rax, [0x140000000]
lea rax, [rax + 0x9b40]
mov qword [rbp + 0x250], rax
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 0x10
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x58], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x250]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x250], rdi
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x24c], edx
lea rcx, [rbp + 0x258]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x258], rax
mov byte [rbp + 0x2d4], 0
mov byte [rbp + 0x2c9], 0
lea rcx, [rbp + 0x258]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x2d8], r15
mov rax, qword [0x14000da20]
mov qword [rbp + 0x2cc], rax
mov qword [rbp + 0x2c0], r15
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x258]
call fcn.1400057f0
test rax, rax
jne 0x140002fe5
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x250]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x250], rdi
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x24c], edx
cmp qword [rbp + 0x2d8], 0
je 0x140003480
lea rdi, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
seta r12b
mov r15, qword [rbp + 0x138]
cmova rdi, r15
mov r14, qword [rbp + 0x148]
test r14, r14
je 0x140003172
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x390]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x39a], 1
lea rax, [r14 - 1]
mov rbx, 0xffffffffffffffff
cmp rax, rbx
cmovb rbx, rax
add rbx, rdi
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x390], 0
jne 0x1400030a9
nop dword [rax]
cmp rbx, rdi
je 0x140003172
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x390], 0
je 0x140003090
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x140003172
xor esi, esi
nop dword [rax + rax]
cmp rbx, 0xffffffffffffffff
je 0x14000315f
lea rdi, [rbp + 0x138]
test r12b, r12b
cmovne rdi, r15
dec rbx
test r14, r14
je 0x140003130
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x390]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x39a], 1
lea rax, [r14 - 1]
cmp rax, rbx
cmovb rbx, rax
add rbx, rdi
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x390], 0
jne 0x14000312b
cmp rbx, rdi
je 0x140003130
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x390], 0
je 0x140003116
sub rbx, rdi
jmp 0x140003137
mov rbx, 0xffffffffffffffff
inc rsi
cmp rsi, 3
jb 0x1400030c0
cmp rbx, 0xffffffffffffffff
je 0x14000315f
lea rdx, [rbx + 1]
mov r8, r14
lea rcx, [rbp + 0x138]
call fcn.140005370
jmp 0x14000317e
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x138]
call fcn.140005370
jmp 0x14000317e
lea rcx, [rbp + 0x138]
call fcn.140005350
lea rdx, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova rdx, qword [rbp + 0x138]
mov r8, qword [rbp + 0x148]
lea rcx, [rbp + 0x250]
call fcn.140006af0
lea rcx, [rbp + 0x258]
call fcn.140005730
test rax, rax
jne 0x1400031db
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x250]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r14, qword [rbp + 0x1b0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x24
jb 0x14000430c
lea r15, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova r15, qword [rbp + 0x1a0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xor eax, eax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
lea rsi, [r14 + 0x24]
mov edi, 0xf
lea rbx, [rbp + 0x118]
cmp rsi, rdi
jbe 0x1400032bb
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x140003261
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140003288
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400032a7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004342
mov rcx, rax
call fcn.140007330
test rax, rax
je 0x1400041ba
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400032b4
test rcx, rcx
je 0x1400032b1
call fcn.140007330
mov rbx, rax
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], rdi
movups xmm0, xmmword [0x140009868]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x140009878]
movups xmmword [rbx + 0x10], xmm1
mov eax, dword [0x140009888]
mov dword [rbx + 0x20], eax
lea rcx, [rbx + 0x24]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov r14d, dword [rsp + 0x30]
or r14d, 0x40
mov rcx, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x130]
mov rax, rdx
sub rax, rcx
cmp rax, 0x85
jb 0x140003368
lea rax, [rcx + 0x85]
mov qword [rbp + 0x128], rax
lea rbx, [rbp + 0x118]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x118]
add rbx, rcx
mov r8d, 0x85
lea rdx, [0x1400097e0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x85], 0
lea rax, [rbp + 0x118]
jmp 0x140003389
mov qword [rsp + 0x20], 0x85
lea r9, [0x1400097e0]
mov edx, 0x85
lea rcx, [rbp + 0x118]
call fcn.1400066a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r15d, r15d
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
bts r14d, 7
mov dword [rsp + 0x30], r14d
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006af0
mov rcx, rax
lea rdx, [0x140005e50]
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 rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14000342d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041b3
call fcn.1400075ac
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x1400034a4
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041ba
call fcn.1400075ac
jmp 0x1400034a4
lea rdx, [0x140009890]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005c80
mov rcx, rax
lea rdx, [0x140005e50]
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 rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x250], rax
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x24c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x2d8], 0
je 0x140003527
mov rax, qword [rbp + 0x270]
lea rcx, [rbp + 0x2c8]
cmp qword [rax], rcx
jne 0x140003527
mov rdx, qword [rbp + 0x2e8]
mov rcx, qword [rbp + 0x2e0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x290]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x2a8]
mov dword [rax], edx
cmp byte [rbp + 0x2d4], 0
je 0x14000353c
lea rcx, [rbp + 0x258]
call fcn.140005730
lea rcx, [rbp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x260]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x1400035a6
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041c1
call fcn.1400075ac
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
cmp dword [rbp + 0x168], 0
jne 0x14000424b
test r13, r13
je 0x140003626
mov rax, qword [rbp + 0x190]
sub rax, r13
sar rax, 2
lea rdx, [rax*4]
mov rax, r13
cmp rdx, 0x1000
jb 0x14000360c
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041c8
mov rcx, r13
call fcn.1400075ac
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r15
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x140003667
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003662
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041cf
call fcn.1400075ac
mov r13, qword [rbp + 0x218]
mov r12, qword [rbp + 0x210]
mov r15, qword [rbp + 0x228]
xor edi, edi
mov rsi, r13
sub rsi, r12
sar rsi, 2
test rsi, rsi
je 0x1400036af
mov rbx, r12
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140004133
inc edi
add rbx, 4
movsxd rax, edi
cmp rax, rsi
jb 0x140003690
lea rdx, [0x1400098b8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
mov rcx, rax
lea rdx, [0x140005e50]
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]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xor edi, edi
mov qword [rbp + 0x1f0], rdi
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], dil
lea rdx, [rbp + 0x1e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140006200
mov rdx, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x1f8]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x1e0]
cmp rax, 4
jb 0x140003752
lea rax, [rdx + 4]
mov qword [rbp + 0x1f0], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x1e0]
mov eax, dword [str..txt]
mov dword [rcx + rdx], eax
mov byte [rcx + rdx + 4], dil
jmp 0x14000376c
mov qword [rsp + 0x20], 4
lea r9, str..txt
mov edx, 4
call fcn.1400066a0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rbx, qword [rbp + 0x1e0]
lea rax, [0x140000000]
lea rax, [rax + 0x9b48]
mov qword [rbp], rax
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 0x20
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x58], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x10], rax
mov byte [rbp + 0x8c], 0
mov byte [rbp + 0x81], 0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x90], rdi
mov rax, qword [0x14000da20]
mov qword [rbp + 0x84], rax
mov qword [rbp + 0x78], rdi
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1400057f0
test rax, rax
jne 0x140003877
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
cmp qword [rbp + 0x90], 0
jne 0x1400038b8
lea rdx, [0x1400098f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
jmp 0x140004059
lea rcx, [0x140009708]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x140009920]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
mov rsi, r13
sub rsi, r12
sar rsi, 2
test rsi, rsi
je 0x14000390b
mov rbx, r12
nop word [rax + rax]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140003968
inc edi
add rbx, 4
movsxd rax, edi
cmp rax, rsi
jb 0x1400038f0
lea rcx, [0x140009708]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Playing...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
mov rsi, r13
sub rsi, r12
sar rsi, 2
xor edi, edi
test rsi, rsi
je 0x14000395b
mov rbx, r12
nop
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000397a
inc edi
add rbx, 4
movsxd rax, edi
cmp rax, rsi
jb 0x140003940
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003935
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
jmp 0x1400038e7
mov byte [rbp + 0x111], 1
mov ecx, 0x28
call fcn.140007330
mov rsi, rax
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x111]
mov qword [rsi], rax
lea rdi, [rsi + 8]
mov qword [rbp + 0x190], rdi
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rdx, r13
sub rdx, r12
sar rdx, 2
test rdx, rdx
je 0x1400039f1
mov rcx, rdi
call fcn.140006850
mov rbx, qword [rdi]
mov r8, r13
sub r8, r12
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov rax, r13
sub rax, r12
sar rax, 2
lea rax, [rbx + rax*4]
mov qword [rdi + 8], rax
lea rax, [0x1400012e0]
mov qword [rsi + 0x20], rax
bts r14d, 0x14
mov dword [rsp + 0x30], r14d
xor edi, edi
mov qword [rbp - 0x80], rdi
mov qword [rbp + 0x190], rsi
lea rcx, [rbp - 0x80]
call fcn.140007190
lea rax, [rbp + 0x208]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rsi
lea r8, [0x140007210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x200], rax
test rax, rax
je 0x140004239
mov qword [rbp + 0x190], rdi
lea rcx, [rbp + 0x190]
call fcn.140007190
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rdi
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], dil
cmp byte [rbp + 0x111], dil
je 0x140003fc7
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::eof_void_const___ptr64]
test al, al
je 0x140003ae2
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x118]
lea rcx, [rbp]
call fcn.140006cb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov rsi, rdi
mov qword [rbp + 0x1d0], rdi
mov r14d, 0xf
mov qword [rbp + 0x1d8], r14
mov byte [rbp + 0x1c0], 0
cmp qword [rbp + 0x130], r14
seta r9b
mov rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x128]
test r8, r8
jne 0x140003b57
xor al, al
jmp 0x140003b59
mov al, 1
test al, al
je 0x140003fae
lea rbx, [rbp + 0x118]
test r9b, r9b
cmovne rbx, rdx
test r8, r8
je 0x140003b8b
mov edx, 0x20
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140003b8b
sub rax, rbx
jmp 0x140003b92
mov rax, 0xffffffffffffffff
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x118]
call fcn.140005200
lea rcx, [rbp + 0x1c0]
cmp rcx, rax
je 0x140003bec
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1d0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
movq rsi, xmm1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003c29
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041d6
call fcn.1400075ac
lea rax, [rsi + 1]
mov r8, qword [rbp + 0x128]
cmp r8, rax
jbe 0x140003d68
lea rbx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rbx, qword [rbp + 0x118]
test r8, r8
je 0x140003c70
mov edx, 0x20
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140003c70
sub rax, rbx
jmp 0x140003c77
mov rax, 0xffffffffffffffff
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x118]
call fcn.140005200
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x140003ca9
mov rbx, qword [rbx]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rbp - 8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r12d, eax
mov dword [rbp - 0x40], eax
cmp rbx, qword [rbp - 8]
je 0x1400041f2
cmp dword [rdi], 0x22
je 0x1400041e4
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003d18
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041dd
call fcn.1400075ac
xor edi, edi
lea rdx, [rbp + 0x1c0]
cmp r14, 0xf
seta r8b
mov rbx, qword [rbp + 0x1c0]
cmova rdx, rbx
cmp rsi, 5
jne 0x140003d92
mov rcx, rdi
lea r9, str.LDown
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140003d6e
cmp rcx, 5
jne 0x140003d50
mov eax, edi
jmp 0x140003d73
mov r12d, dword [rbp - 0x40]
jmp 0x140003d1a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003d92
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140003f75
lea rax, [rbp + 0x1c0]
test r8b, r8b
cmovne rax, rbx
cmp rsi, 3
jne 0x140003ddf
cmp byte [rax], 0x4c
jne 0x140003dbb
cmp byte [rax + 1], 0x55
jne 0x140003dbb
cmp byte [rax + 2], 0x70
jne 0x140003dbb
mov eax, edi
jmp 0x140003dc0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003ddf
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140003f75
lea rdx, [rbp + 0x1c0]
cmp r14, 0xf
cmova rdx, rbx
cmp rsi, 5
jne 0x140003e3c
mov rcx, rdi
lea r8, str.RDown
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140003e18
cmp rcx, 5
jne 0x140003e00
mov eax, edi
jmp 0x140003e1d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003e3c
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 8]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140003f75
lea rdx, [0x140009780]
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003e6e
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140003f75
lea rdx, str.press
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003e93
movzx ecx, r12w
call fcn.140001370
jmp 0x140003f75
lea rdx, str.unpress
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003eb8
movzx ecx, r12w
call fcn.1400013c0
jmp 0x140003f75
lea rdx, str.moveAX
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003eef
lea rcx, [rbp + 0x248]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [rbp + 0x24c]
mov ecx, r12d
call fcn.140001410
jmp 0x140003f75
lea rdx, str.moveAY
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003f23
lea rcx, [rbp + 0x240]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edx, r12d
mov ecx, dword [rbp + 0x240]
call fcn.140001410
jmp 0x140003f75
lea rdx, str.scroll
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003f54
mov qword [rsp + 0x20], rdi
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140003f75
lea rdx, str.sleep
lea rcx, [rbp + 0x1c0]
call fcn.1400063e0
test al, al
je 0x140003f75
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp r14, 0xf
jbe 0x140003fae
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003fa4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004200
mov rcx, rbx
call fcn.1400075ac
jmp 0x140003fae
cmp byte [rbp + 0x111], 0
jne 0x140003aa0
mov r14d, dword [rsp + 0x30]
mov r12, qword [rbp + 0x210]
cmp dword [rbp + 0x208], 0
je 0x14000422d
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x208], eax
je 0x140004221
movaps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x190], xmm0
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140004215
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x200], xmm0
lea rcx, [0x140009708]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x1400099d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005c80
nop
lea rcx, [rbp + 0x118]
call fcn.1400053e0
nop
cmp dword [rbp + 0x208], 0
jne 0x14000420e
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x90], 0
je 0x1400040bd
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x80]
cmp qword [rax], rcx
jne 0x1400040bd
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0x98]
mov qword [rax], rcx
mov rax, qword [rbp + 0x48]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x60]
mov dword [rax], edx
cmp byte [rbp + 0x8c], 0
je 0x1400040cf
lea rcx, [rbp + 0x10]
call fcn.140005730
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x140004133
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000412e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004207
call fcn.1400075ac
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001670
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x208], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.Failed_to_set_mouse_hook_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005c80
mov rcx, rax
lea rdx, [0x140005e50]
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
lea rcx, [rbp + 0x170]
call fcn.140005130
nop
lea rcx, [rbp + 0x138]
call fcn.1400053e0
nop
lea rcx, [rbp + 0x210]
call fcn.140005130
nop
lea rcx, [rbp + 0x228]
call fcn.140005130
mov eax, 1
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.140007310
lea r11, [rsp + 0x5c0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011c0
nop
call fcn.140001120
int3
call fcn.1400011c0
nop
call fcn.140001120
int3
call fcn.1400011c0
nop
call fcn.140001120
nop
call fcn.140001120
int3
call fcn.1400011c0
nop
call fcn.1400011c0
nop
call fcn.140001120
int3