Function at 0x180122260
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.18013ebd0
movzx eax, byte [0x1802237f6]
test eax, eax
je 0x180122a17
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 0x1801222ff
lea rcx, [0x180223af8]
call fcn.18013fb30
cmp dword [0x180223af8], 0xffffffff
jne 0x1801222ff
lea rcx, [0x180223af0]
call fcn.180120ff0
lea rcx, [0x180223af8]
call fcn.18013fad0
call fcn.180136040
mov qword [rbp + 8], rax
mov edx, 8
lea rcx, [rbp + 0x28]
call fcn.18000de30
lea rcx, [rbp + 0x28]
call fcn.180136160
mov edx, 8
lea rcx, [rbp + 0x48]
call fcn.18000de70
lea rcx, [rbp + 0x48]
call fcn.180136200
cmp qword [rbp + 8], 0
je 0x180122a17
lea rax, [rbp + 0x28]
test rax, rax
je 0x180122a17
lea rcx, [rbp + 0x48]
call fcn.180136440
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x180122a17
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021c7d8]
call fcn.18011b510
mov qword [rbp + 0x88], rax
lea r9, [0x18018f354]
lea r8, [0x18016916c]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021c7d8]
call fcn.18011b490
mov qword [rbp + 0xa8], rax
lea r9, str._I_Ljava_lang_Object_
lea r8, [0x18018f370]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [0x18021c7d8]
call fcn.18011b490
mov qword [rbp + 0xc8], rax
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021c7d8]
call fcn.18011a3a0
mov dword [rbp + 0xe4], eax
mov dword [rbp + 0x104], 0
jmp 0x180122404
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0xe4]
cmp dword [rbp + 0x104], eax
jge 0x180122a17
mov r9d, dword [rbp + 0x104]
mov r8, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [0x18021c7d8]
call fcn.18011a480
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
je 0x180122a12
mov edx, 0x30
lea rcx, [rbp + 0x148]
call fcn.18011d3c0
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x148]
call fcn.1801368e0
nop
lea rdx, [rbp + 0x628]
lea rcx, [rbp + 0x28]
call fcn.1801359b0
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.180136c40
nop
lea rcx, [rbp + 0x628]
call fcn.180119560
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.180136c40
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.180135030
movsd qword [rbp + 0x1c8], xmm0
lea rdx, [rbp + 0x708]
lea rcx, [rbp + 0x148]
call fcn.180136b60
mov rcx, rax
call fcn.180137280
movss dword [rbp + 0x1e4], xmm0
mov r8, qword [rbp + 0x128]
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x148]
call fcn.180136940
nop
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x248]
call fcn.18011e510
nop
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180170458]
jbe 0x180122702
movsd xmm0, qword [0x180190178]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x180122702
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bd70]
jp 0x1801225ea
je 0x180122702
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bd60]
jp 0x180122602
je 0x180122702
mov ecx, 0x60
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180122702
lea rdx, [rbp + 0x248]
lea rcx, [0x180223970]
call fcn.180119660
lea r8, [0x180223970]
lea rdx, [0x18018f3a0]
lea rcx, [rbp + 0x728]
call fcn.1801160f0
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x920], rax
lea r8, [0x18018f378]
mov rdx, qword [rbp + 0x920]
lea rcx, [rbp + 0x768]
call fcn.180115ff0
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.180135450
nop
lea rcx, [rbp + 0x768]
call fcn.18000b6f0
nop
lea rcx, [rbp + 0x728]
call fcn.18000b6f0
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.180115bb0
lea rdx, [0x18018f0c8]
mov rcx, rax
call fcn.180007530
lea rdx, [0x180223970]
mov rcx, rax
call fcn.180115bb0
mov qword [rbp + 0x918], rax
lea rdx, [0x18000a2a0]
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 0x18012287b
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115c20
movzx eax, al
test eax, eax
jne 0x180122876
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180170458]
jbe 0x180122876
cvtss2sd xmm0, dword [0x1801ae04c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x180122876
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bd70]
jp 0x180122773
je 0x180122876
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bd60]
jp 0x18012278b
je 0x180122876
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115c20
movzx eax, al
test eax, eax
jne 0x180122876
lea rdx, [rbp + 0x7a8]
lea rcx, [rbp + 0x148]
call fcn.180136b60
mov rcx, rax
call fcn.180137280
movss dword [rbp + 0x284], xmm0
lea rcx, [rbp + 0x7c8]
call fcn.180120ff0
lea r8, [0x180223af0]
mov rdx, rax
lea rcx, [rbp + 0x7e8]
call fcn.180115c70
mov rdx, rax
lea rcx, [rbp + 0x2a8]
call fcn.1801184d0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180122876
lea rcx, [rbp + 0x2a8]
call fcn.18011eb40
cmp rax, 0x64
jl 0x180122876
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, [0x18000a2a0]
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.18011e050
lea rcx, [rbp + 0x808]
call fcn.180120ff0
mov rax, qword [rax]
mov qword [0x180223af0], rax
jmp 0x1801229ec
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115c20
movzx eax, al
test eax, eax
jne 0x1801229ec
movsd xmm0, qword [rbp + 0x1c8]
comisd xmm0, xmmword [0x180170458]
jbe 0x1801229ec
cvtss2sd xmm0, dword [0x1801ae04c]
comisd xmm0, xmmword [rbp + 0x1c8]
jbe 0x1801229ec
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bd70]
jp 0x1801228dd
je 0x1801229ec
cvtss2sd xmm0, dword [rbp + 0x1e4]
ucomisd xmm0, qword [0x18014bd60]
jp 0x1801228f5
je 0x1801229ec
lea rdx, [0x180223970]
lea rcx, [rbp + 0x248]
call fcn.180115c20
movzx eax, al
test eax, eax
jne 0x1801229ec
lea rdx, [rbp + 0x828]
lea rcx, [rbp + 0x148]
call fcn.180136b60
mov rcx, rax
call fcn.180137280
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.180120ff0
lea r8, [0x180223af0]
mov rdx, rax
lea rcx, [rbp + 0x868]
call fcn.180115c70
mov rdx, rax
lea rcx, [rbp + 0x308]
call fcn.1801184d0
lea rcx, [rbp + 0x308]
call fcn.18011eb40
movsxd rcx, dword [rbp + 0x2e4]
cmp rax, rcx
jl 0x1801229ec
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, [0x18000a2a0]
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.18011e050
lea rcx, [rbp + 0x888]
call fcn.180120ff0
mov rax, qword [rax]
mov qword [0x180223af0], rax
lea rcx, [rbp + 0x248]
call fcn.18000b6f0
nop
lea rcx, [rbp + 0x208]
call fcn.18000b6f0
nop
lea rcx, [rbp + 0x148]
call fcn.180119560
jmp 0x1801223f6
lea rcx, [rbp - 0x20]
lea rdx, [0x18018d450]
call fcn.18013e9a0
mov rcx, qword [rbp + 0x938]
xor rcx, rbp
call fcn.18013ee20
lea rsp, [rbp + 0x940]
pop rdi
pop rsi
pop rbp
ret