Function at 0x180124f80
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 [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x938], rax
lea rcx, [0x18023886c]
call fcn.180141d70
nop
movzx eax, byte [0x1802268c6]
test eax, eax
je 0x180125747
mov eax, 4
mov eax, eax
mov ecx, dword [0x180229c40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x180226b78], eax
jle 0x180125022
lea rcx, [0x180226b78]
call fcn.180142cd0
cmp dword [0x180226b78], 0xffffffff
jne 0x180125022
lea rcx, [0x180226b70]
call fcn.180123cb0
nop
lea rcx, [0x180226b78]
call fcn.180142c70
nop
call fcn.1801391b0
mov qword [rbp + 8], rax
mov edx, 8
lea rcx, [rbp + 0x28]
call fcn.18000e480
lea rcx, [rbp + 0x28]
call fcn.1801392d0
nop
mov edx, 8
lea rcx, [rbp + 0x48]
call fcn.18000e4c0
lea rcx, [rbp + 0x48]
call fcn.180139370
nop
cmp qword [rbp + 8], 0
je 0x180125747
lea rax, [rbp + 0x28]
test rax, rax
je 0x180125747
lea rcx, [rbp + 0x48]
call fcn.1801395b0
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x180125747
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021f8a8]
call fcn.18011e130
mov qword [rbp + 0x88], rax
lea r9, [0x1801924c4]
lea r8, [0x18016c3ac]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021f8a8]
call fcn.18011e0b0
mov qword [rbp + 0xa8], rax
lea r9, str._I_Ljava_lang_Object_
lea r8, [0x1801924e0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021f8a8]
call fcn.18011e0b0
mov qword [rbp + 0xc8], rax
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021f8a8]
call fcn.18011cf80
mov dword [rbp + 0xe4], eax
mov dword [rbp + 0x104], 0
jmp 0x180125129
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0xe4]
cmp dword [rbp + 0x104], eax
jge 0x180125747
mov r9d, dword [rbp + 0x104]
mov r8, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021f8a8]
call fcn.18011d060
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
je 0x180125742
mov edx, 0x30
lea rcx, [rbp + 0x148]
call fcn.1801200e0
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x148]
call fcn.180139a70
nop
lea rdx, [rbp + 0x628]
lea rcx, [rbp + 0x28]
call fcn.180138b00
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.180139dd0
nop
lea rcx, [rbp + 0x628]
call fcn.18011c230
nop
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.180139dd0
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.180138170
movsd qword [rbp + 0x1c8], xmm0
lea rdx, [rbp + 0x708]
lea rcx, [rbp + 0x148]
call fcn.180139cf0
mov rcx, rax
call fcn.18013a420
movss dword [rbp + 0x1e4], xmm0
mov r8, qword [rbp + 0x128]
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x148]
call fcn.180139ad0
nop
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x248]
call fcn.180121200
nop
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180173698]
jbe 0x18012542b
movsd xmm0, qword [0x180193428]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x18012542b
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014f080]
jp 0x180125310
je 0x18012542b
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014f070]
jp 0x180125328
je 0x18012542b
mov ecx, 0x60
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18012542b
lea rdx, [rbp + 0x248]
lea rcx, [0x180226a40]
call fcn.18011c2c0
nop
lea r8, [0x180226a40]
lea rdx, [0x180192510]
lea rcx, [rbp + 0x728]
call fcn.180118f30
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x920], rax
lea r8, [0x1801924e8]
mov rdx, qword [rbp + 0x920]
lea rcx, [rbp + 0x768]
call fcn.180118e30
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.180138590
nop
lea rcx, [rbp + 0x768]
call fcn.18000bc30
nop
lea rcx, [rbp + 0x728]
call fcn.18000bc30
nop
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.1801189e0
lea rdx, [0x1801922f8]
mov rcx, rax
call fcn.1800079a0
lea rdx, [0x180226a40]
mov rcx, rax
call fcn.1801189e0
mov qword [rbp + 0x918], rax
lea rdx, [0x18000a740]
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]
nop
movzx eax, byte [0x18021f8c5]
test eax, eax
je 0x1801255a7
lea rdx, [0x180226a40]
lea rcx, [rbp + 0x248]
call fcn.180118a50
movzx eax, al
test eax, eax
jne 0x1801255a2
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180173698]
jbe 0x1801255a2
cvtss2sd xmm0, dword [0x1801b104c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x1801255a2
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014f080]
jp 0x18012549c
je 0x1801255a2
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014f070]
jp 0x1801254b4
je 0x1801255a2
lea rdx, [0x180226a40]
lea rcx, [rbp + 0x248]
call fcn.180118a50
movzx eax, al
test eax, eax
jne 0x1801255a2
lea rdx, [rbp + 0x7a8]
lea rcx, [rbp + 0x148]
call fcn.180139cf0
mov rcx, rax
call fcn.18013a420
movss dword [rbp + 0x284], xmm0
lea rcx, [rbp + 0x7c8]
call fcn.180123cb0
lea r8, [0x180226b70]
mov rdx, rax
lea rcx, [rbp + 0x7e8]
call fcn.180118aa0
mov rdx, rax
lea rcx, [rbp + 0x2a8]
call fcn.18011b2b0
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1801255a2
lea rcx, [rbp + 0x2a8]
call fcn.1801217c0
cmp rax, 0x64
jl 0x1801255a2
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, [0x18000a740]
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]
nop
mov rcx, qword [rbp + 0x128]
call fcn.180120d40
nop
lea rcx, [rbp + 0x808]
call fcn.180123cb0
mov rax, qword [rax]
mov qword [0x180226b70], rax
jmp 0x18012571b
lea rdx, [0x180226a40]
lea rcx, [rbp + 0x248]
call fcn.180118a50
movzx eax, al
test eax, eax
jne 0x18012571b
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180173698]
jbe 0x18012571b
cvtss2sd xmm0, dword [0x1801b104c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x18012571b
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014f080]
jp 0x180125609
je 0x18012571b
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014f070]
jp 0x180125621
je 0x18012571b
lea rdx, [0x180226a40]
lea rcx, [rbp + 0x248]
call fcn.180118a50
movzx eax, al
test eax, eax
jne 0x18012571b
lea rdx, [rbp + 0x828]
lea rcx, [rbp + 0x148]
call fcn.180139cf0
mov rcx, rax
call fcn.18013a420
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.180123cb0
lea r8, [0x180226b70]
mov rdx, rax
lea rcx, [rbp + 0x868]
call fcn.180118aa0
mov rdx, rax
lea rcx, [rbp + 0x308]
call fcn.18011b2b0
nop
lea rcx, [rbp + 0x308]
call fcn.1801217c0
movsxd rcx, dword [rbp + 0x2e4]
cmp rax, rcx
jl 0x18012571b
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, [0x18000a740]
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]
nop
mov rcx, qword [rbp + 0x128]
call fcn.180120d40
nop
lea rcx, [rbp + 0x888]
call fcn.180123cb0
mov rax, qword [rax]
mov qword [0x180226b70], rax
lea rcx, [rbp + 0x248]
call fcn.18000bc30
nop
lea rcx, [rbp + 0x208]
call fcn.18000bc30
nop
lea rcx, [rbp + 0x148]
call fcn.18011c230
nop
jmp 0x18012511b
lea rcx, [rbp - 0x20]
lea rdx, [0x180190710]
call fcn.180141b40
mov rcx, qword [rbp + 0x938]
xor rcx, rbp
call fcn.180141fc0
lea rsp, [rbp + 0x940]
pop rdi
pop rsi
pop rbp
ret