Function at 0x180051220
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ff040]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor esi, esi
mov ecx, 0x28
call fcn.180095a98
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x18], 4
mov rcx, qword [0x18014cd30]
mov qword [0x18014cd30], rax
test rcx, rcx
je 0x18005127e
mov edx, 0x28
call fcn.180095a90
mov ecx, 0x28
call fcn.180095a98
mov rbx, rax
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rax
call fcn.18005a200
nop
lea rcx, [rbx + 0x10]
xor edx, edx
call fcn.18005a200
nop
mov byte [rbx + 0x20], 0
mov rdi, qword [0x18014cd38]
mov qword [0x18014cd38], rbx
test rdi, rdi
je 0x1800512e6
lea rcx, [rdi + 0x18]
movzx edx, byte [rdi + 0x10]
call fcn.18004fc20
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.18004fc20
nop
mov edx, 0x28
mov rcx, rdi
call fcn.180095a90
mov ecx, 0x20
call fcn.180095a98
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov byte [rax], 0
mov rcx, qword [0x18014cdd0]
mov qword [0x18014cdd0], rax
test rcx, rcx
je 0x18005131f
mov edx, 0x20
call fcn.180095a90
mov ecx, 0x50
call fcn.180095a98
mov rdi, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov ecx, 0x50
call fcn.180095a98
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x20], rbx
mov dword [rbx], esi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov ecx, 0x50
call fcn.180095a98
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
mov edx, 0x10
call fcn.180051970
nop
mov rbx, qword [0x18014cda0]
mov qword [0x18014cda0], rdi
test rbx, rbx
je 0x1800513f9
lea rcx, [rbx + 0x10]
call fcn.180051810
mov rcx, rbx
call fcn.180051900
mov edx, 0x50
mov rcx, rbx
call fcn.180095a90
mov ecx, 1
call fcn.180095a98
mov qword [rsp + 0x20], rax
mov byte [rax], 0
mov rcx, qword [0x18014cda8]
mov qword [0x18014cda8], rax
test rcx, rcx
je 0x180051428
mov edx, 1
call fcn.180095a90
mov rcx, qword [0x18014cd38]
call fcn.180088ab0
mov rbx, qword [0x18014cd30]
lea rdx, str.___Waiting_for_JVM...
lea rcx, [0x18014ebd0]
call fcn.180050530
mov rcx, rax
call fcn.1800507e0
lea rcx, [0x1800e2470]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18005148d
nop dword [rax + rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1800e2470]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180051470
lea rdx, str.___Waiting_for_OpenGL...
lea rcx, [0x18014ebd0]
call fcn.180050530
mov rcx, rax
call fcn.1800507e0
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800514dd
nop word [rax + rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800514c0
lea rdx, str.___Waiting_for_WS2...
lea rcx, [0x18014ebd0]
call fcn.180050530
mov rcx, rax
call fcn.1800507e0
lea rcx, str.Ws2_32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18005152d
nop word [rax + rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.Ws2_32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180051510
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x28]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x1800515a6
cmp dword [rsp + 0x28], eax
je 0x1800515a6
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10008
lea rdx, [rbx + 8]
call r9
cmp eax, 0xfffffffe
jne 0x1800515a6
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [rbx + 8]
call r9
test eax, eax
jne 0x1800515a6
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
lea rdx, [rbx + 0x10]
mov r8d, 0x30010200
call r9
test eax, eax
jne 0x1800515a6
mov rcx, qword [rbx + 8]
call fcn.1800804f0
mov rcx, qword [0x18014cd30]
call fcn.180051ed0
mov rax, qword [0x18014cd30]
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 8]
mov rcx, qword [0x18014cdd0]
call fcn.18007cb40
test al, al
jne 0x1800515f1
lea rdx, str.___Classloader_initialization_failed
lea rcx, [0x18014ed50]
call fcn.180050530
mov rcx, rax
call fcn.1800507e0
jmp 0x180051685
call fcn.180053b00
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18005162c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180051611
mov rax, qword [0x18014cd30]
mov byte [rax + 0x1c], 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180054110
mov rbx, qword [0x18014cdd0]
call fcn.180080430
mov r8, qword [rax]
mov rdx, qword [rbx + 0x18]
mov rcx, rax
call qword [r8 + 0xb0]
mov rbx, qword [0x18014cd30]
mov byte [rbx + 0x1c], 1
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x3f0]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180095340
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret