Function at 0x180121da0
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 [0x18021c400]
xor rax, rbp
mov qword [rbp + 0x938], rax
lea rcx, [0x180235861]
call fcn.18013e710
movzx eax, byte [0x1802237f6]
test eax, eax
je 0x180122557
mov eax, 4
mov eax, eax
mov ecx, dword [0x180226c20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x180223af8], eax
jle 0x180121e3f
lea rcx, [0x180223af8]
call fcn.18013f670
cmp dword [0x180223af8], 0xffffffff
jne 0x180121e3f
lea rcx, [0x180223af0]
call fcn.180120b30
lea rcx, [0x180223af8]
call fcn.18013f610
call fcn.180135b80
mov qword [rbp + 8], rax
mov edx, 8
lea rcx, [rbp + 0x28]
call fcn.18000de40
lea rcx, [rbp + 0x28]
call fcn.180135ca0
mov edx, 8
lea rcx, [rbp + 0x48]
call fcn.18000de80
lea rcx, [rbp + 0x48]
call fcn.180135d40
cmp qword [rbp + 8], 0
je 0x180122557
lea rax, [rbp + 0x28]
test rax, rax
je 0x180122557
lea rcx, [rbp + 0x48]
call fcn.180135f80
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x180122557
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021c7d8]
call fcn.18011b080
mov qword [rbp + 0x88], rax
lea r9, [0x18018f664]
lea r8, [0x18016938c]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021c7d8]
call fcn.18011b000
mov qword [rbp + 0xa8], rax
lea r9, str._I_Ljava_lang_Object_
lea r8, [0x18018f680]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021c7d8]
call fcn.18011b000
mov qword [rbp + 0xc8], rax
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021c7d8]
call fcn.180119f10
mov dword [rbp + 0xe4], eax
mov dword [rbp + 0x104], 0
jmp 0x180121f44
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0xe4]
cmp dword [rbp + 0x104], eax
jge 0x180122557
mov r9d, dword [rbp + 0x104]
mov r8, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021c7d8]
call fcn.180119ff0
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
je 0x180122552
mov edx, 0x30
lea rcx, [rbp + 0x148]
call fcn.18011cfc0
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x148]
call fcn.180136420
nop
lea rdx, [rbp + 0x628]
lea rcx, [rbp + 0x28]
call fcn.1801354f0
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.180136780
nop
lea rcx, [rbp + 0x628]
call fcn.180119190
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.180136780
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.180134b70
movsd qword [rbp + 0x1c8], xmm0
lea rdx, [rbp + 0x708]
lea rcx, [rbp + 0x148]
call fcn.1801366a0
mov rcx, rax
call fcn.180136dc0
movss dword [rbp + 0x1e4], xmm0
mov r8, qword [rbp + 0x128]
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x148]
call fcn.180136480
nop
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x248]
call fcn.18011e110
nop
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180170678]
jbe 0x180122242
movsd xmm0, qword [0x180190488]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x180122242
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bf00]
jp 0x18012212a
je 0x180122242
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bef0]
jp 0x180122142
je 0x180122242
mov ecx, 0x60
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180122242
lea rdx, [rbp + 0x248]
lea rcx, [0x180223970]
call fcn.180119290
lea r8, [0x180223970]
lea rdx, [0x18018f6b0]
lea rcx, [rbp + 0x728]
call fcn.180115ef0
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x920], rax
lea r8, [0x18018f688]
mov rdx, qword [rbp + 0x920]
lea rcx, [rbp + 0x768]
call fcn.180115df0
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.180134f90
nop
lea rcx, [rbp + 0x768]
call fcn.18000b6d0
nop
lea rcx, [rbp + 0x728]
call fcn.18000b6d0
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.1801159b0
lea rdx, [0x18018f358]
mov rcx, rax
call fcn.180007510
lea rdx, [0x180223970]
mov rcx, rax
call fcn.1801159b0
mov qword [rbp + 0x918], rax
lea rdx, [0x18000a280]
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 [0x18021c7f5]
test eax, eax
je 0x1801223bb
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115a20
movzx eax, al
test eax, eax
jne 0x1801223b6
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180170678]
jbe 0x1801223b6
cvtss2sd xmm0, dword [0x1801ae04c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x1801223b6
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bf00]
jp 0x1801222b3
je 0x1801223b6
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bef0]
jp 0x1801222cb
je 0x1801223b6
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115a20
movzx eax, al
test eax, eax
jne 0x1801223b6
lea rdx, [rbp + 0x7a8]
lea rcx, [rbp + 0x148]
call fcn.1801366a0
mov rcx, rax
call fcn.180136dc0
movss dword [rbp + 0x284], xmm0
lea rcx, [rbp + 0x7c8]
call fcn.180120b30
lea r8, [0x180223af0]
mov rdx, rax
lea rcx, [rbp + 0x7e8]
call fcn.180115a70
mov rdx, rax
lea rcx, [rbp + 0x2a8]
call fcn.1801180b0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1801223b6
lea rcx, [rbp + 0x2a8]
call fcn.18011e6c0
cmp rax, 0x64
jl 0x1801223b6
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, [0x18000a280]
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.18011dc50
lea rcx, [rbp + 0x808]
call fcn.180120b30
mov rax, qword [rax]
mov qword [0x180223af0], rax
jmp 0x18012252c
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115a20
movzx eax, al
test eax, eax
jne 0x18012252c
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180170678]
jbe 0x18012252c
cvtss2sd xmm0, dword [0x1801ae04c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x18012252c
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bf00]
jp 0x18012241d
je 0x18012252c
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bef0]
jp 0x180122435
je 0x18012252c
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115a20
movzx eax, al
test eax, eax
jne 0x18012252c
lea rdx, [rbp + 0x828]
lea rcx, [rbp + 0x148]
call fcn.1801366a0
mov rcx, rax
call fcn.180136dc0
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.180120b30
lea r8, [0x180223af0]
mov rdx, rax
lea rcx, [rbp + 0x868]
call fcn.180115a70
mov rdx, rax
lea rcx, [rbp + 0x308]
call fcn.1801180b0
lea rcx, [rbp + 0x308]
call fcn.18011e6c0
movsxd rcx, dword [rbp + 0x2e4]
cmp rax, rcx
jl 0x18012252c
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, [0x18000a280]
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.18011dc50
lea rcx, [rbp + 0x888]
call fcn.180120b30
mov rax, qword [rax]
mov qword [0x180223af0], rax
lea rcx, [rbp + 0x248]
call fcn.18000b6d0
nop
lea rcx, [rbp + 0x208]
call fcn.18000b6d0
nop
lea rcx, [rbp + 0x148]
call fcn.180119190
jmp 0x180121f36
lea rcx, [rbp - 0x20]
lea rdx, [0x18018d740]
call fcn.18013e4e0
mov rcx, qword [rbp + 0x938]
xor rcx, rbp
call fcn.18013e960
lea rsp, [rbp + 0x940]
pop rdi
pop rsi
pop rbp
ret