Function at 0x140008af0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r12
lea rbp, [rsp - 0x3f]
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdx, qword [0x1400eb3f8]
lea r8, [rbp - 0x39]
add rdx, qword [0x1400eb430]
mov rdi, rcx
mov rcx, qword [0x1400eb470]
xor r12d, r12d
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r8, [rbp - 1]
mov rcx, qword [0x1400eb470]
add rdx, 0x20
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp - 1]
cmp byte [rdi + 0x29], r12b
je 0x140008bf5
mov rdx, qword [0x1400eb418]
lea r8, [rbp - 0x39]
add rdx, qword [0x1400eb3f8]
mov r9d, 8
mov rcx, qword [0x1400eb470]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r8, [rbp - 9]
add rdx, qword [0x1400eb438]
mov r9d, 8
mov rcx, qword [0x1400eb470]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r8, [rbp - 0x39]
movss xmm0, dword [rdi + 0x2c]
add rdx, 0x4c
mov rcx, qword [0x1400eb470]
mov r9d, 4
movss dword [rbp - 0x39], xmm0
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xorps xmm6, xmm6
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], r14
mov qword [rsp + 0xd0], r15
cmp byte [rdi + 2], r12b
je 0x140008e64
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 9]
mov r9d, 8
mov qword [rsp + 0x20], r12
mov edx, r9d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x1400095bd
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x19]
add rdx, 8
mov qword [rsp + 0x20], r12
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1400095bd
mov rcx, qword [0x1400eb470]
lea rdx, [rbx + 0x30]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea r8, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 9]
test r14, r14
je 0x1400095bd
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x29]
mov r9d, 0xc
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0x90]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [rbp - 0x29]
ucomiss xmm0, xmm6
jp 0x140008ceb
jne 0x140008ceb
movss xmm0, dword [rbp - 0x25]
ucomiss xmm0, xmm6
jp 0x140008ceb
jne 0x140008ceb
movss xmm0, dword [rbp - 0x21]
ucomiss xmm0, xmm6
jp 0x140008ceb
je 0x1400095bd
mov rcx, qword [0x1400eb470]
lea rdx, [rbx + 0x40]
mov r9d, 1
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp - 0x49], r12b
jne 0x1400095bd
mov rcx, qword [0x1400eb470]
lea rdx, [rbx + 0x280]
mov r9d, 4
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rbp - 0x39], 0x64
jl 0x1400095bd
movd xmm6, dword [0x140077b04]
mov ecx, 0x57
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008d6b
movss xmm0, dword [rbp - 0x25]
addss xmm0, xmm6
movss dword [rbp - 0x25], xmm0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008d89
movss xmm0, dword [rbp - 0x25]
subss xmm0, xmm6
movss dword [rbp - 0x25], xmm0
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008da7
movss xmm0, dword [rbp - 0x21]
addss xmm0, xmm6
movss dword [rbp - 0x21], xmm0
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008dc5
movss xmm0, dword [rbp - 0x21]
subss xmm0, xmm6
movss dword [rbp - 0x21], xmm0
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008de3
movss xmm0, dword [rbp - 0x29]
subss xmm0, xmm6
movss dword [rbp - 0x29], xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008e01
movss xmm0, dword [rbp - 0x29]
addss xmm0, xmm6
movss dword [rbp - 0x29], xmm0
movsd xmm0, qword [rbp - 0x29]
lea r8, [rbp - 0x39]
mov eax, dword [rbp - 0x21]
lea rdx, [rbx + 0x90]
mov rcx, qword [0x1400eb470]
mov r9d, 0xc
movsd qword [rbp - 0x39], xmm0
mov dword [rbp - 0x31], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp - 0x29]
lea rdx, [r14 + 0x50]
mov eax, dword [rbp - 0x21]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400eb470]
mov r9d, 0xc
movsd qword [rbp - 0x19], xmm0
mov dword [rbp - 0x11], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x5c], r12b
je 0x1400090c1
mov rdx, qword [0x1400eb3f8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400eb470]
add rdx, 0xd30
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x1400090c1
mov rcx, qword [0x1400eb470]
lea rdx, [rbx + 0x90]
mov r9d, 0xc
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1400eb460]
lea r8, [rbp - 9]
mov rcx, qword [0x1400eb470]
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r8, [rbp + 7]
mov rcx, qword [0x1400eb470]
add rdx, 0x3d0
mov r9d, 0xc
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008f38
movss xmm1, dword [rbp - 0x25]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x25], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008f5e
movss xmm1, dword [rbp - 0x25]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 0x25], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008f84
movss xmm1, dword [rbp - 0x21]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x21], xmm1
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008faa
movss xmm1, dword [rbp - 0x21]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 0x21], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008fd0
movss xmm1, dword [rbp - 0x29]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 0x29], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008ff6
movss xmm1, dword [rbp - 0x29]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x29], xmm1
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000900a
mov byte [rdi + 2], r12b
movsd xmm0, qword [rbp - 0x29]
lea rdx, [rbx + 0x90]
mov eax, dword [rbp - 0x21]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400eb470]
mov r9d, 0xc
movsd qword [rbp - 0x39], xmm0
mov dword [rbp - 0x31], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1400eb470]
lea rdx, [rbx + 0x30]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea r8, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 9]
lea r8, [rbp - 0x69]
movsd xmm0, qword [rbp - 0x29]
mov r9d, 0xc
mov eax, dword [rbp - 0x21]
mov rcx, qword [0x1400eb470]
lea rdx, [rbx + 0x30]
movsd qword [rbp - 0x69], xmm0
mov dword [rbp - 0x61], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp - 0x29]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp - 0x21]
lea r8, [rbp - 0x59]
mov rcx, qword [0x1400eb470]
mov r9d, 0xc
movsd qword [rbp - 0x59], xmm0
mov dword [rbp - 0x51], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400eb3f8]
cmp byte [rdi], r12b
je 0x140009100
test rdx, rdx
je 0x140009100
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x49]
add rdx, 0x189
mov byte [rbp - 0x49], 1
mov r9d, 1
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400eb3f8]
cmp byte [rdi + 0x42], r12b
je 0x1400091ed
test rdx, rdx
je 0x1400091ed
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x29]
add rdx, 0x90
mov qword [rsp + 0x20], r12
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [0x1400eb050]
lea rcx, str.Coordinates
xor edx, edx
mov r8d, 0xc024f
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x14006cd78]
or dword [rax + 0x4778], 0x41
mov dword [rax + 0x478c], 0x41a00000
mov qword [rax + 0x4790], 0x3f000000
movss dword [rax + 0x4788], xmm0
mov dword [rax + 0x477c], 1
mov dword [rax + 0x47d8], 0x3e99999a
call fcn.140018950
movss xmm1, dword [rbp - 0x29]
lea rcx, str.X:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b910
movss xmm1, dword [rbp - 0x25]
lea rcx, str.Y:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b910
movss xmm1, dword [rbp - 0x21]
lea rcx, str.Z:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b910
call fcn.14001ad10
mov rdx, qword [0x1400eb3f8]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x19]
add rdx, 0x10c8
mov qword [rsp + 0x20], r12
mov r9d, 8
cmp byte [rdi + 0x41], r12b
je 0x140009247
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400eb470]
mov r9d, 4
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0xcf0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp - 0x39], r12d
jmp 0x140009282
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400eb470]
mov r9d, 4
mov dword [rbp - 0x39], 0x3f800000
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0xcf0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp - 0x39], 0x3f800000
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
mov r9d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 8], r12b
je 0x14000933d
mov rdx, qword [0x1400eb3f8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400eb470]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x10]
lea r8, [rbp - 0x39]
mov rbx, qword [rbp - 0x19]
mov r9d, 4
mov rcx, qword [0x1400eb470]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0xcf0]
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0x14]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r12
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400eb3f8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400eb470]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r12
cmp byte [rdi + 9], r12b
je 0x140009376
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x42c80000
jmp 0x140009383
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x3f800000
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400eb470]
add rdx, 0xcf4
mov r9d, 4
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x2f4]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xb], r12b
jne 0x1400093d8
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xc], r12b
jne 0x14000940c
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], 0x447a0000
cmp byte [rdi + 0xd], r12b
jne 0x140009443
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xe], r12b
je 0x140009502
mov rcx, qword [0x1400eb470]
lea rdx, [rsi + 0x60]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 9]
mov rcx, qword [0x1400eb470]
add rdx, 8
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400eb470]
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 9]
mov rcx, qword [0x1400eb470]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
mov r9d, 4
mov dword [rbp - 0x39], 0x41f00000
lea rdx, [rbx + 0x18]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xa], r12b
je 0x140009538
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x1400eb470]
lea r8, [rbp - 0x39]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r12
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x1c], r12b
je 0x1400095bd
mov rdx, qword [0x1400eb480]
lea r8, [rbp - 0x19]
add rdx, qword [0x1400eb460]
mov r9d, 8
mov rcx, qword [0x1400eb470]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 9]
mov rcx, qword [0x1400eb470]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x20]
lea r8, [rbp - 0x39]
mov rdx, qword [rbp - 9]
mov r9d, 4
mov rcx, qword [0x1400eb470]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r12
movss dword [rbp - 0x39], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400602a0
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop r12
pop rdi
pop rsi
pop rbp
ret