Function at 0x140016790
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov dword [rsp + 0x3c], 0
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1400176d0
mov rcx, rax
call fcn.140053240
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x318]
movzx edx, byte [rsp + 0x50]
mov rcx, rax
call fcn.140059f40
nop
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14001680e
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x318]
call fcn.14005a250
nop
lea rax, [rsp + 0x318]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x2f8]
call fcn.140057880
mov qword [rsp + 0x2d0], rax
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rax + 0x18], 0x10
jb 0x1400168e2
mov dword [rsp + 0x54], 1
jmp 0x1400168ea
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14001691f
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x110]
call fcn.140057480
mov qword [rsp + 0x1a0], rax
jmp 0x140016960
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1a0]
cmp qword [rsp + 0x70], rax
je 0x1400169e5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400169e0
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x1400169a8
mov byte [rsp + 0x30], 0x61
jmp 0x1400169ad
mov byte [rsp + 0x30], 0x41
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x31]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x31]
add eax, ecx
mov rcx, qword [rsp + 0x78]
mov byte [rcx], al
jmp 0x140016953
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
lea rdx, [0x140058fe0]
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
lea rcx, [rsp + 0x2f8]
call fcn.140057f50
nop
lea rcx, [rsp + 0x318]
call fcn.140057f50
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x42]
call fcn.140017800
mov rcx, rax
call fcn.1400531b0
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x358]
movzx edx, byte [rsp + 0x4d]
mov rcx, rax
call fcn.140059f40
nop
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x140016a92
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov r8, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x358]
call fcn.14005a250
nop
lea rax, [rsp + 0x358]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x338]
call fcn.140057880
mov qword [rsp + 0x2d8], rax
mov eax, dword [rsp + 0x3c]
or eax, 2
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x338]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x18], 0x10
jb 0x140016b6f
mov dword [rsp + 0x58], 1
jmp 0x140016b77
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x140016bac
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x128]
call fcn.140057480
mov qword [rsp + 0x1e0], rax
jmp 0x140016bf6
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x1e0]
cmp qword [rsp + 0x88], rax
je 0x140016c94
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x140016c8f
mov rax, qword [rsp + 0x90]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x140016c51
mov byte [rsp + 0x32], 0x61
jmp 0x140016c56
mov byte [rsp + 0x32], 0x41
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
mov rax, qword [rsp + 0x90]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x33]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x33]
add eax, ecx
mov rcx, qword [rsp + 0x90]
mov byte [rcx], al
jmp 0x140016be3
lea rax, [rsp + 0x338]
mov qword [rsp + 0x1e8], rax
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
lea rdx, [0x140058fe0]
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
lea rcx, [rsp + 0x338]
call fcn.140057f50
nop
lea rcx, [rsp + 0x358]
call fcn.140057f50
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x44]
call fcn.140017960
mov rcx, rax
call fcn.140053120
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x398]
movzx edx, byte [rsp + 0x4e]
mov rcx, rax
call fcn.140059f40
nop
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
inc qword [rsp + 0x98]
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x98]
cmp byte [rax + rcx], 0
jne 0x140016d41
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x398]
call fcn.14005a250
nop
lea rax, [rsp + 0x398]
mov qword [rsp + 0x208], rax
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x378]
call fcn.140057880
mov qword [rsp + 0x2e0], rax
mov eax, dword [rsp + 0x3c]
or eax, 4
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x378]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rax + 0x18], 0x10
jb 0x140016e1e
mov dword [rsp + 0x5c], 1
jmp 0x140016e26
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x45], al
movzx eax, byte [rsp + 0x45]
test eax, eax
je 0x140016e5b
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x140]
call fcn.140057480
mov qword [rsp + 0x220], rax
jmp 0x140016ea5
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x220]
cmp qword [rsp + 0xa0], rax
je 0x140016f43
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x140016f3e
mov rax, qword [rsp + 0xa8]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x140016f00
mov byte [rsp + 0x34], 0x61
jmp 0x140016f05
mov byte [rsp + 0x34], 0x41
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x35], al
mov rax, qword [rsp + 0xa8]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x35]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x35]
add eax, ecx
mov rcx, qword [rsp + 0xa8]
mov byte [rcx], al
jmp 0x140016e92
lea rax, [rsp + 0x378]
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
lea rdx, [0x140058fe0]
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
lea rcx, [rsp + 0x378]
call fcn.140057f50
nop
lea rcx, [rsp + 0x398]
call fcn.140057f50
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x46]
call fcn.140017ac0
mov rcx, rax
call fcn.140053090
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x3d8]
movzx edx, byte [rsp + 0x4f]
mov rcx, rax
call fcn.140059f40
nop
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0xb0], 0xffffffffffffffff
inc qword [rsp + 0xb0]
mov rax, qword [rsp + 0x230]
mov rcx, qword [rsp + 0xb0]
cmp byte [rax + rcx], 0
jne 0x140016ff0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x240], rax
mov r8, qword [rsp + 0x240]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x3d8]
call fcn.14005a250
nop
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x248]
lea rcx, [rsp + 0x3b8]
call fcn.140057880
mov qword [rsp + 0x2e8], rax
mov eax, dword [rsp + 0x3c]
or eax, 8
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x18], 0x10
jb 0x1400170cd
mov dword [rsp + 0x60], 1
jmp 0x1400170d5
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x47], al
movzx eax, byte [rsp + 0x47]
test eax, eax
je 0x14001710a
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x158]
call fcn.140057480
mov qword [rsp + 0x260], rax
jmp 0x140017154
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x260]
cmp qword [rsp + 0xb8], rax
je 0x1400171f2
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400171ed
mov rax, qword [rsp + 0xc0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x1400171af
mov byte [rsp + 0x36], 0x61
jmp 0x1400171b4
mov byte [rsp + 0x36], 0x41
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x37], al
mov rax, qword [rsp + 0xc0]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x37]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x37]
add eax, ecx
mov rcx, qword [rsp + 0xc0]
mov byte [rcx], al
jmp 0x140017141
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x268], rax
mov rdx, qword [rsp + 0x268]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
lea rdx, [0x140058fe0]
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
lea rcx, [rsp + 0x3b8]
call fcn.140057f50
nop
lea rcx, [rsp + 0x3d8]
call fcn.140057f50
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x48]
call fcn.140017c20
mov rcx, rax
call fcn.140053000
mov rdx, rax
lea rcx, [rsp + 0x418]
call fcn.140057740
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x278], rax
mov rdx, qword [rsp + 0x278]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
nop
lea rcx, [rsp + 0x418]
call fcn.140057f50
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x49]
call fcn.140017d90
mov rcx, rax
call fcn.140052f70
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.140057740
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x288], rax
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x3f8]
call fcn.140057880
mov qword [rsp + 0x2f0], rax
mov eax, dword [rsp + 0x3c]
or eax, 0x10
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rax + 0x18], 0x10
jb 0x14001736b
mov dword [rsp + 0x64], 1
jmp 0x140017373
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x4a], al
movzx eax, byte [rsp + 0x4a]
test eax, eax
je 0x1400173a8
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x168]
call fcn.140057480
mov qword [rsp + 0x2a0], rax
jmp 0x1400173f2
mov rax, qword [rsp + 0xc8]
inc rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x2a0]
cmp qword [rsp + 0xc8], rax
je 0x140017490
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14001748b
mov rax, qword [rsp + 0xd0]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x14001744d
mov byte [rsp + 0x38], 0x61
jmp 0x140017452
mov byte [rsp + 0x38], 0x41
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0xd0]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x39]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x39]
add eax, ecx
mov rcx, qword [rsp + 0xd0]
mov byte [rcx], al
jmp 0x1400173df
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
lea rdx, [0x140058fe0]
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
lea rcx, [rsp + 0x3f8]
call fcn.140057f50
nop
lea rcx, [rsp + 0x438]
call fcn.140057f50
lea rax, [rsp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x4b]
call fcn.140017ee0
mov rcx, rax
call fcn.140052ee0
mov rdx, rax
lea rcx, [rsp + 0x458]
call fcn.140057740
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
nop
lea rcx, [rsp + 0x458]
call fcn.140057f50
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x4c]
call fcn.140018040
mov rcx, rax
call fcn.140052e50
mov rdx, rax
lea rcx, [rsp + 0x478]
call fcn.140057740
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x2c8], rax
mov rdx, qword [rsp + 0x2c8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059030
nop
lea rcx, [rsp + 0x478]
call fcn.140057f50
xor eax, eax
cmp eax, 1
je 0x14001765c
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001764a
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001764a
mov ecx, 0x33
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001764a
mov ecx, 0x34
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001764a
mov ecx, 0x35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001764a
mov ecx, 0x36
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14001764a
mov ecx, 0x37
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x14001764c
jmp 0x14001765c
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400175ba
mov rax, qword [rsp + 0x4b0]
movzx eax, byte [rax]
test eax, eax
jne 0x1400176af
movzx eax, byte [0x140239de0]
test eax, eax
jne 0x1400176af
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140003f60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x4b0]
mov byte [rax], 1
mov rcx, qword [rsp + 0x4b0]
call fcn.1400181a0
add rsp, 0x4a0
pop rdi
ret