Function at 0x180121f70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x960
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x190
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18021f400]
xor rax, rbp
mov qword [rbp + 0x938], rax
lea rcx, [0x180238861]
call fcn.180140630
movzx eax, byte [0x180226956]
test eax, eax
je 0x180122727
mov eax, 4
mov eax, eax
mov ecx, dword [0x180229d80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x180226c58], eax
jle 0x18012200f
lea rcx, [0x180226c58]
call fcn.180141590
cmp dword [0x180226c58], 0xffffffff
jne 0x18012200f
lea rcx, [0x180226c50]
call fcn.180120d00
lea rcx, [0x180226c58]
call fcn.180141530
call fcn.180137aa0
mov qword [rbp + 8], rax
mov edx, 8
lea rcx, [rbp + 0x28]
call fcn.18000e160
lea rcx, [rbp + 0x28]
call fcn.180137bc0
mov edx, 8
lea rcx, [rbp + 0x48]
call fcn.18000e1a0
lea rcx, [rbp + 0x48]
call fcn.180137c60
cmp qword [rbp + 8], 0
je 0x180122727
lea rax, [rbp + 0x28]
test rax, rax
je 0x180122727
lea rcx, [rbp + 0x48]
call fcn.180137ea0
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x180122727
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021f938]
call fcn.18011b250
mov qword [rbp + 0x88], rax
lea r9, [0x1801916c4]
lea r8, [0x18016b50c]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021f938]
call fcn.18011b1d0
mov qword [rbp + 0xa8], rax
lea r9, str._I_Ljava_lang_Object_
lea r8, [0x1801916e0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021f938]
call fcn.18011b1d0
mov qword [rbp + 0xc8], rax
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021f938]
call fcn.18011a0e0
mov dword [rbp + 0xe4], eax
mov dword [rbp + 0x104], 0
jmp 0x180122114
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0xe4]
cmp dword [rbp + 0x104], eax
jge 0x180122727
mov r9d, dword [rbp + 0x104]
mov r8, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021f938]
call fcn.18011a1c0
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
je 0x180122722
mov edx, 0x30
lea rcx, [rbp + 0x148]
call fcn.18011d190
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x148]
call fcn.180138340
nop
lea rdx, [rbp + 0x628]
lea rcx, [rbp + 0x28]
call fcn.180137410
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x920], rax
mov rax, qword [rbp + 0x920]
mov qword [rbp + 0x928], rax
lea rdx, [rbp + 0x198]
mov rcx, qword [rbp + 0x928]
call fcn.1801386a0
nop
lea rcx, [rbp + 0x628]
call fcn.180119360
lea rax, [rbp + 0x6d8]
lea rcx, [rbp + 0x198]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x678]
lea rcx, [rbp + 0x148]
call fcn.1801386a0
lea rcx, [rbp + 0x6a8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x8f0]
lea rcx, [rbp + 0x6d8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x8b0]
lea rcx, [rbp + 0x6a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x8f0]
lea rcx, [rbp + 0x8b0]
call fcn.180136a90
movsd qword [rbp + 0x1c8], xmm0
lea rdx, [rbp + 0x708]
lea rcx, [rbp + 0x148]
call fcn.1801385c0
mov rcx, rax
call fcn.180138ce0
movss dword [rbp + 0x1e4], xmm0
mov r8, qword [rbp + 0x128]
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x148]
call fcn.1801383a0
nop
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x248]
call fcn.18011e2e0
nop
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x1801727f8]
jbe 0x180122412
movsd xmm0, qword [0x1801924e8]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x180122412
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014e110]
jp 0x1801222fa
je 0x180122412
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014e100]
jp 0x180122312
je 0x180122412
mov ecx, 0x60
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180122412
lea rdx, [rbp + 0x248]
lea rcx, [0x180226ad0]
call fcn.180119460
lea r8, [0x180226ad0]
lea rdx, [0x180191710]
lea rcx, [rbp + 0x728]
call fcn.180116390
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x920], rax
lea r8, [0x1801916e8]
mov rdx, qword [rbp + 0x920]
lea rcx, [rbp + 0x768]
call fcn.180116290
mov qword [rbp + 0x928], rax
mov rax, qword [rbp + 0x928]
mov qword [rbp + 0x930], rax
mov rdx, qword [rbp + 0x930]
lea rcx, [rbp + 0x28]
call fcn.180136eb0
nop
lea rcx, [rbp + 0x768]
call fcn.18000b9f0
nop
lea rcx, [rbp + 0x728]
call fcn.18000b9f0
lea rdx, [rbp + 0x248]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180115e50
lea rdx, [0x1801913b8]
mov rcx, rax
call fcn.180007560
lea rdx, [0x180226ad0]
mov rcx, rax
call fcn.180115e50
mov qword [rbp + 0x918], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0x918]
call qword [sym.imp.MSVCP140D.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]
movzx eax, byte [0x18021f955]
test eax, eax
je 0x18012258b
lea rdx, [0x180226ad0]
lea rcx, [rbp + 0x248]
call fcn.180115ec0
movzx eax, al
test eax, eax
jne 0x180122586
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x1801727f8]
jbe 0x180122586
cvtss2sd xmm0, dword [0x1801b104c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x180122586
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014e110]
jp 0x180122483
je 0x180122586
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014e100]
jp 0x18012249b
je 0x180122586
lea rdx, [0x180226ad0]
lea rcx, [rbp + 0x248]
call fcn.180115ec0
movzx eax, al
test eax, eax
jne 0x180122586
lea rdx, [rbp + 0x7a8]
lea rcx, [rbp + 0x148]
call fcn.1801385c0
mov rcx, rax
call fcn.180138ce0
movss dword [rbp + 0x284], xmm0
lea rcx, [rbp + 0x7c8]
call fcn.180120d00
lea r8, [0x180226c50]
mov rdx, rax
lea rcx, [rbp + 0x7e8]
call fcn.180115f10
mov rdx, rax
lea rcx, [rbp + 0x2a8]
call fcn.180118310
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180122586
lea rcx, [rbp + 0x2a8]
call fcn.18011e890
cmp rax, 0x64
jl 0x180122586
movss xmm1, dword [rbp + 0x284]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.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]
mov qword [rbp + 0x918], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0x918]
call qword [sym.imp.MSVCP140D.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 rcx, qword [rbp + 0x128]
call fcn.18011de20
lea rcx, [rbp + 0x808]
call fcn.180120d00
mov rax, qword [rax]
mov qword [0x180226c50], rax
jmp 0x1801226fc
lea rdx, [0x180226ad0]
lea rcx, [rbp + 0x248]
call fcn.180115ec0
movzx eax, al
test eax, eax
jne 0x1801226fc
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x1801727f8]
jbe 0x1801226fc
cvtss2sd xmm0, dword [0x1801b104c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x1801226fc
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014e110]
jp 0x1801225ed
je 0x1801226fc
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014e100]
jp 0x180122605
je 0x1801226fc
lea rdx, [0x180226ad0]
lea rcx, [rbp + 0x248]
call fcn.180115ec0
movzx eax, al
test eax, eax
jne 0x1801226fc
lea rdx, [rbp + 0x828]
lea rcx, [rbp + 0x148]
call fcn.1801385c0
mov rcx, rax
call fcn.180138ce0
movss dword [rbp + 0x2c4], xmm0
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x190
idiv ecx
mov eax, edx
add eax, 0x191
mov dword [rbp + 0x2e4], eax
lea rcx, [rbp + 0x848]
call fcn.180120d00
lea r8, [0x180226c50]
mov rdx, rax
lea rcx, [rbp + 0x868]
call fcn.180115f10
mov rdx, rax
lea rcx, [rbp + 0x308]
call fcn.180118310
lea rcx, [rbp + 0x308]
call fcn.18011e890
movsxd rcx, dword [rbp + 0x2e4]
cmp rax, rcx
jl 0x1801226fc
movss xmm1, dword [rbp + 0x2c4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.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]
mov qword [rbp + 0x918], rax
lea rdx, [0x18000a510]
mov rcx, qword [rbp + 0x918]
call qword [sym.imp.MSVCP140D.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 rcx, qword [rbp + 0x128]
call fcn.18011de20
lea rcx, [rbp + 0x888]
call fcn.180120d00
mov rax, qword [rax]
mov qword [0x180226c50], rax
lea rcx, [rbp + 0x248]
call fcn.18000b9f0
nop
lea rcx, [rbp + 0x208]
call fcn.18000b9f0
nop
lea rcx, [rbp + 0x148]
call fcn.180119360
jmp 0x180122106
lea rcx, [rbp - 0x20]
lea rdx, [0x18018f8e0]
call fcn.180140400
mov rcx, qword [rbp + 0x938]
xor rcx, rbp
call fcn.180140880
lea rsp, [rbp + 0x940]
pop rdi
pop rsi
pop rbp
ret