Function at 0x18000a450
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1800f1690]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18000a993
xor esi, esi
mov dword [rbp - 0x78], esi
lea rdx, [rbp - 0x78]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [r14 + 0x4c]
cmp dword [rbp - 0x78], ecx
jne 0x18000a993
cmp byte [r14 + 0x44], sil
je 0x18000a4e8
lea ecx, [rsi + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x18000a993
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov rdx, qword [r14 + 0x10]
lea rcx, [rbp - 0x70]
call fcn.180008280
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x18000a993
mov r12, qword [rbp - 0x68]
test r12, r12
je 0x18000a993
mov r15, qword [0x1800f2828]
test r15, r15
jne 0x18000a55f
lea rdx, str.theWorld
lea rcx, [rbp - 0x70]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2828], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x2f8]
mov r8, r15
mov rdx, r12
mov rcx, rdi
call r9
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x18000a58b
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rsi
jmp 0x18000a590
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov r15, qword [0x1800f2820]
test r15, r15
jne 0x18000a5e0
lea rdx, str.thePlayer
lea rcx, [rbp - 0x70]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2820], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x2f8]
mov r8, r15
mov rdx, r12
mov rcx, rdi
call r9
mov r15, rax
test rax, rax
jne 0x18000a61a
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
xorps xmm0, xmm0
psrldq xmm0, 8
movq r15, xmm0
movq r13, xmm1
jmp 0x18000a625
mov qword [rbp - 0x48], rax
mov r13, rdi
mov qword [rbp - 0x50], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov rax, qword [0x1800f2810]
test rax, rax
jne 0x18000a682
lea rdx, str.objectMouseOver
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rcx, rbx
call fcn.180005090
mov r8, qword [rsp + 0x30]
mov qword [0x1800f2810], r8
jmp 0x18000a685
mov r8, rax
mov rax, qword [rdi]
mov r9, qword [rax + 0x2f8]
mov rdx, r12
mov rcx, rdi
call r9
test rax, rax
jne 0x18000a6b9
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
xorps xmm0, xmm0
psrldq xmm0, 8
movq rax, xmm0
movq rcx, xmm1
jmp 0x18000a6c4
mov qword [rbp - 0x68], rax
mov rcx, rdi
mov qword [rbp - 0x70], rcx
cmp qword [rsp + 0x38], 0
je 0x18000a993
cmp qword [rsp + 0x28], 0
je 0x18000a993
test r13, r13
je 0x18000a993
test r15, r15
je 0x18000a993
test rcx, rcx
je 0x18000a993
test rax, rax
je 0x18000a993
mov r15, qword [0x1800f2830]
test r15, r15
jne 0x18000a74a
lea rdx, str.inGameHasFocus
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2830], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x300]
mov r8, r15
mov rdx, r12
mov rcx, rdi
call r9
test al, al
je 0x18000a794
cmp byte [r14 + 0x47], 0
je 0x18000a778
lea rcx, [rbp - 0x50]
call fcn.180007d90
test al, al
je 0x18000a794
cmp byte [r14 + 0x49], 0
je 0x18000a78d
lea rcx, [rbp - 0x70]
call fcn.180008080
cmp eax, 1
je 0x18000a794
mov byte [rsp + 0x20], 1
jmp 0x18000a799
mov byte [rsp + 0x20], 0
mov r15, qword [0x1800f2838]
test r15, r15
jne 0x18000a7e2
lea rdx, str.currentScreen
lea rcx, [rbp - 0x70]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2838], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x2f8]
mov r8, r15
mov rdx, r12
mov rcx, rdi
call r9
mov r15, rax
test rax, rax
jne 0x18000a805
mov r15, rsi
jmp 0x18000a808
mov rsi, rdi
mov r13, qword [0x1800f2830]
test r13, r13
jne 0x18000a852
lea rdx, str.inGameHasFocus
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r13, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2830], r13
mov rax, qword [rdi]
mov r9, qword [rax + 0x300]
mov r8, r13
mov rdx, r12
mov rcx, rdi
call r9
test al, al
jne 0x18000a96d
cmp byte [r14 + 0x45], al
je 0x18000a96d
mov rdi, qword [0x1800f27f8]
test rdi, rdi
jne 0x18000a8c3
lea rdx, str.GuiInventory
lea rcx, [rbp - 0x70]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x10
mov rdx, rax
call fcn.18006b890
mov rdi, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f27f8], rdi
test rsi, rsi
je 0x18000a8e7
test r15, r15
je 0x18000a8e7
mov rax, qword [rsi]
mov r9, qword [rax + 0x100]
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call r9
test al, al
jne 0x18000a955
mov rdi, qword [0x1800f27f0]
test rdi, rdi
jne 0x18000a931
lea rdx, str.GuiChest
lea rcx, [rsp + 0x68]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x10
mov rdx, rax
call fcn.18006b890
mov rdi, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f27f0], rdi
test rsi, rsi
je 0x18000a96d
test r15, r15
je 0x18000a96d
mov rax, qword [rsi]
mov r9, qword [rax + 0x100]
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call r9
test al, al
je 0x18000a96d
cmp byte [r14 + 0x46], 0
je 0x18000a969
lea rcx, [rbp - 0x50]
call fcn.18000a270
test al, al
jne 0x18000a96d
mov bl, 1
jmp 0x18000a96f
xor bl, bl
test rsi, rsi
je 0x18000a988
test r15, r15
je 0x18000a988
mov rax, qword [rsi]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0xb8]
cmp byte [rsp + 0x20], 0
jne 0x18000a9db
test bl, bl
jne 0x18000a9df
xor al, al
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.1800c5e80
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test bl, bl
je 0x18000a9e9
movss xmm0, dword [0x1800e0d10]
jmp 0x18000a9ef
movss xmm0, dword [r14 + 0x40]
movss xmm10, dword [0x1800e0d48]
divss xmm10, xmm0
cmp byte [r14 + 0x4a], 0
je 0x18000aa0f
movss xmm9, dword [0x1800e0c64]
jmp 0x18000aa1c
movaps xmm9, xmm10
mulss xmm9, dword [0x1800e0c18]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x1800e0c30]
movsd xmm7, qword [0x1800e0c78]
movaps xmm8, xmm7
subsd xmm8, xmm1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x1800e0c30]
subsd xmm7, xmm1
mulsd xmm7, qword [0x1800e0ca8]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm6, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, qword [0x1800e0d70]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x18000aa8e
sqrtsd xmm0, xmm0
jmp 0x18000aa93
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mulsd xmm6, xmm0
cvtps2pd xmm0, xmm9
mulsd xmm6, xmm0
cvtps2pd xmm1, xmm10
addsd xmm6, xmm1
cvttsd2si edi, xmm6
cmp byte [r14 + 0x48], 0
je 0x18000ab56
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x288df0cb
imul r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x65
sub r8d, ecx
movss xmm6, dword [0x1800e0d58]
cmp r8d, 0x5f
jl 0x18000ab0a
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm6
mulss xmm1, dword [0x1800e0d20]
addss xmm1, dword [0x1800e0d20]
cvttss2si edi, xmm1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x288df0cb
imul r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x65
sub r8d, ecx
cmp r8d, 0x63
jl 0x18000ab56
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm6
mulss xmm1, dword [0x1800e0d2c]
addss xmm1, dword [0x1800e0d2c]
cvttss2si edi, xmm1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x201
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.USER32.dll_PostMessageA]
cmp byte [r14 + 0x4b], 0
je 0x18000ab97
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x66666667
imul ebx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
sub ebx, ecx
inc ebx
jmp 0x18000abb7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x2e8ba2e9
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xb
sub ebx, eax
add ebx, 0xa
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x202
mov rcx, rsi
call qword [sym.imp.USER32.dll_PostMessageA]
test edi, edi
jle 0x18000abe1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x18000a995