Function at 0x140008ae0
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 [0x140078040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdx, qword [0x1400ec3c8]
lea r8, [rbp - 0x39]
add rdx, qword [0x1400ec400]
mov rdi, rcx
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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 0x140008be5
mov rdx, qword [0x1400ec3e8]
lea r8, [rbp - 0x39]
add rdx, qword [0x1400ec3c8]
mov r9d, 8
mov rcx, qword [0x1400ec440]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r8, [rbp - 9]
add rdx, qword [0x1400ec408]
mov r9d, 8
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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 0x140008e54
mov rcx, qword [0x1400ec440]
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 0x1400095ad
mov rcx, qword [0x1400ec440]
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 0x1400095ad
mov rcx, qword [0x1400ec440]
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 0x1400095ad
mov rcx, qword [0x1400ec440]
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 0x140008cdb
jne 0x140008cdb
movss xmm0, dword [rbp - 0x25]
ucomiss xmm0, xmm6
jp 0x140008cdb
jne 0x140008cdb
movss xmm0, dword [rbp - 0x21]
ucomiss xmm0, xmm6
jp 0x140008cdb
je 0x1400095ad
mov rcx, qword [0x1400ec440]
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 0x1400095ad
mov rcx, qword [0x1400ec440]
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 0x1400095ad
movd xmm6, dword [0x140078b04]
mov ecx, 0x57
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008d5b
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 0x140008d79
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 0x140008d97
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 0x140008db5
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 0x140008dd3
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 0x140008df1
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 [0x1400ec440]
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 [0x1400ec440]
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 0x1400090b1
mov rdx, qword [0x1400ec3c8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400ec440]
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 0x1400090b1
mov rcx, qword [0x1400ec440]
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 [0x1400ec430]
lea r8, [rbp - 9]
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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 0x140008f28
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 0x140008f4e
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 0x140008f74
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 0x140008f9a
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 0x140008fc0
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 0x140008fe6
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 0x140008ffa
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 [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec3c8]
cmp byte [rdi], r12b
je 0x1400090f0
test rdx, rdx
je 0x1400090f0
mov rcx, qword [0x1400ec440]
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 [0x1400ec3c8]
cmp byte [rdi + 0x42], r12b
je 0x1400091dd
test rdx, rdx
je 0x1400091dd
mov rcx, qword [0x1400ec440]
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 [0x1400ec020]
lea rcx, str.Coordinates
xor edx, edx
mov r8d, 0xc024f
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x14006dd18]
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.140018500
movss xmm1, dword [rbp - 0x29]
lea rcx, str.X:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b480
movss xmm1, dword [rbp - 0x25]
lea rcx, str.Y:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b480
movss xmm1, dword [rbp - 0x21]
lea rcx, str.Z:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b480
call fcn.14001a8c0
mov rdx, qword [0x1400ec3c8]
mov rcx, qword [0x1400ec440]
lea r8, [rbp - 0x19]
add rdx, 0x10c8
mov qword [rsp + 0x20], r12
mov r9d, 8
cmp byte [rdi + 0x41], r12b
je 0x140009237
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ec440]
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 0x140009272
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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 0x14000932d
mov rdx, qword [0x1400ec3c8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec3c8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x1400ec440]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r12
cmp byte [rdi + 9], r12b
je 0x140009366
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x42c80000
jmp 0x140009373
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x3f800000
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xb], r12b
jne 0x1400093c8
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x1400ec440]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xc], r12b
jne 0x1400093fc
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x1400ec440]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], 0x447a0000
cmp byte [rdi + 0xd], r12b
jne 0x140009433
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xe], r12b
je 0x1400094f2
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec440]
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 [0x1400ec440]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400ec440]
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 0x140009528
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x1400ec440]
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 0x1400095ad
mov rdx, qword [0x1400ec450]
lea r8, [rbp - 0x19]
add rdx, qword [0x1400ec430]
mov r9d, 8
mov rcx, qword [0x1400ec440]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 9]
mov rcx, qword [0x1400ec440]
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 [0x1400ec440]
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.140060db0
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop r12
pop rdi
pop rsi
pop rbp
ret