Function at 0x1400089c0
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 [0x140079040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdx, qword [0x1400ed3f8]
lea r8, [rbp - 0x39]
add rdx, qword [0x1400ed430]
xor r12d, r12d
mov rdi, rcx
mov qword [rsp + 0x20], r12
mov rcx, qword [0x1400ed470]
lea r9d, [r12 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r9d, [r12 + 8]
mov rcx, qword [0x1400ed470]
lea r8, [rbp - 1]
add rdx, 0x20
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp - 1]
cmp byte [rdi + 0x29], r12b
je 0x140008ac0
mov rdx, qword [0x1400ed418]
lea r9d, [r12 + 8]
add rdx, qword [0x1400ed3f8]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed470]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r9d, [r12 + 8]
add rdx, qword [0x1400ed438]
lea r8, [rbp - 9]
mov rcx, qword [0x1400ed470]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 9]
lea r9d, [r12 + 4]
movss xmm0, dword [rdi + 0x2c]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed470]
add rdx, 0x4c
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 0x140008d2f
mov rcx, qword [0x1400ed470]
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 0x140009488
mov rcx, qword [0x1400ed470]
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 0x140009488
mov rcx, qword [0x1400ed470]
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 0x140009488
mov rcx, qword [0x1400ed470]
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 0x140008bb6
jne 0x140008bb6
movss xmm0, dword [rbp - 0x25]
ucomiss xmm0, xmm6
jp 0x140008bb6
jne 0x140008bb6
movss xmm0, dword [rbp - 0x21]
ucomiss xmm0, xmm6
jp 0x140008bb6
je 0x140009488
mov rcx, qword [0x1400ed470]
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 0x140009488
mov rcx, qword [0x1400ed470]
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 0x140009488
movd xmm6, dword [0x140079b04]
mov ecx, 0x57
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008c36
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 0x140008c54
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 0x140008c72
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 0x140008c90
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 0x140008cae
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 0x140008ccc
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 [0x1400ed470]
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 [0x1400ed470]
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 0x140008f8c
mov rdx, qword [0x1400ed3f8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400ed470]
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 0x140008f8c
mov rcx, qword [0x1400ed470]
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 [0x1400ed460]
lea r8, [rbp - 9]
mov rcx, qword [0x1400ed470]
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 [0x1400ed470]
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 0x140008e03
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 0x140008e29
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 0x140008e4f
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 0x140008e75
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 0x140008e9b
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 0x140008ec1
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 0x140008ed5
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 [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed3f8]
cmp byte [rdi], r12b
je 0x140008fcb
test rdx, rdx
je 0x140008fcb
mov rcx, qword [0x1400ed470]
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 [0x1400ed3f8]
cmp byte [rdi + 0x42], r12b
je 0x1400090b8
test rdx, rdx
je 0x1400090b8
mov rcx, qword [0x1400ed470]
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 [0x1400ed050]
lea rcx, str.Coordinates
xor edx, edx
mov r8d, 0xc024f
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x14006ed9c]
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.1400189d0
movss xmm1, dword [rbp - 0x29]
lea rcx, str.X:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003c220
movss xmm1, dword [rbp - 0x25]
lea rcx, str.Y:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003c220
movss xmm1, dword [rbp - 0x21]
lea rcx, str.Z:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003c220
call fcn.14001adb0
mov rdx, qword [0x1400ed3f8]
mov rcx, qword [0x1400ed470]
lea r8, [rbp - 0x19]
add rdx, 0x10c8
mov qword [rsp + 0x20], r12
mov r9d, 8
cmp byte [rdi + 0x41], r12b
je 0x140009112
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed470]
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 0x14000914d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed470]
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 [0x1400ed470]
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 0x140009208
mov rdx, qword [0x1400ed3f8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed3f8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400ed470]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r12
cmp byte [rdi + 9], r12b
je 0x140009241
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x42c80000
jmp 0x14000924e
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x3f800000
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed470]
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 [0x1400ed470]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xb], r12b
jne 0x1400092a3
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x1400ed470]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xc], r12b
jne 0x1400092d7
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x1400ed470]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], 0x447a0000
cmp byte [rdi + 0xd], r12b
jne 0x14000930e
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xe], r12b
je 0x1400093cd
mov rcx, qword [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed470]
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 [0x1400ed470]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400ed470]
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 0x140009403
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x1400ed470]
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 0x140009488
mov rdx, qword [0x1400ed480]
lea r8, [rbp - 0x19]
add rdx, qword [0x1400ed460]
mov r9d, 8
mov rcx, qword [0x1400ed470]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 9]
mov rcx, qword [0x1400ed470]
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 [0x1400ed470]
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.140061de0
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop r12
pop rdi
pop rsi
pop rbp
ret