Function at 0x140012750
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400dd180]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [0x140119c08]
lea r8, [rsp + 0x50]
mov rdi, rcx
xor r15d, r15d
mov rcx, qword [0x140104e58]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xd30]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
lea rdx, [rsi + 0x938]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea rdx, [rbx + 0x10c8]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x50]
mov rdx, qword [0x140119c30]
mov r9d, 8
add rdx, qword [0x140119c08]
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x78]
mov rdx, qword [rsp + 0x50]
mov r9d, 8
add rdx, 0x20
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea rdx, [rbx + 0x30]
mov r14, qword [rbp - 0x78]
lea r8, [rbp - 0x48]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rdi + 3], r15b
je 0x1400128c6
test rbx, rbx
je 0x140013144
test rsi, rsi
je 0x140013144
mov rcx, qword [0x140104e58]
lea rdx, [rsi + 0xc5c]
mov r9d, 4
mov dword [rbp - 0x70], 0x43960000
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x14], r15b
je 0x140012b36
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x50]
mov rdx, qword [0x140119c60]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x58]
mov rdx, qword [0x140119c08]
mov r9d, ntohs
add rdx, 0x90
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x20]
mov rdx, qword [rsp + 0x50]
mov r9d, ntohs
add rdx, 0x3d0
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140012978
movss xmm1, dword [rsp + 0x5c]
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400129a0
movss xmm1, dword [rsp + 0x5c]
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400129c8
movss xmm1, dword [rsp + 0x60]
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rsp + 0x60], xmm1
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400129f0
movss xmm1, dword [rsp + 0x60]
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rsp + 0x60], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140012a18
movss xmm1, dword [rsp + 0x58]
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rsp + 0x58], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140012a40
movss xmm1, dword [rsp + 0x58]
movd xmm0, dword [rdi + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rsp + 0x58], xmm1
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140012a54
mov byte [rdi + 0x14], r15b
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x70]
mov rdx, qword [0x140119c08]
mov r9d, ntohs
movsd xmm0, qword [rsp + 0x58]
add rdx, 0x90
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x50]
mov rdx, qword [0x140119c08]
mov r9d, 8
add rdx, 0x30
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov r9d, ntohs
movsd xmm0, qword [rsp + 0x58]
mov eax, dword [rsp + 0x60]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
lea rdx, [rbx + 0x30]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x140104e58]
lea rdx, [rbx + 0x50]
movsd xmm0, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x60]
mov r9d, ntohs
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x17], r15b
je 0x140012bd9
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x50]
mov rdx, qword [0x140119c08]
mov r9d, 8
add rdx, 0x10c8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 8]
lea r8, [rbp - 0x80]
mov rbx, qword [rsp + 0x50]
mov r9d, 4
mov rcx, qword [0x140104e58]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xcf0]
mov rcx, qword [rcx]
movss dword [rbp - 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0xc]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x68]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
movss dword [rbp - 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x20], r15b
je 0x140012ce4
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x140012ce4
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x40]
add rdx, 0x10
mov qword [rsp + 0x20], r15
mov r9d, 8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140012ce4
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x38]
add rdx, 0x20
mov qword [rsp + 0x20], r15
mov r9d, 8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140012ce4
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x30]
add rdx, 0x70
mov qword [rsp + 0x20], r15
mov r9d, 8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x140012ce4
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x28]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140012ce4
cmp byte [rdi + 0x20], r15b
je 0x140012cb4
movss xmm0, dword [0x1400c40c4]
jmp 0x140012cbc
movss xmm0, dword [0x1400c3e70]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x80]
add rdx, 0x2c
movss dword [rbp - 0x80], xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x28], r15b
je 0x140012d1b
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x60]
mov rdx, qword [rbp - 0x50]
mov r9d, 4
add rdx, 0xcf4
mov dword [rbp - 0x60], 0x42c80000
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x21], r15b
je 0x140012d54
movd xmm0, dword [rdi + 0x24]
lea rdx, [r14 + 0xb0]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x58]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
movss dword [rbp - 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x18], r15b
je 0x140012de7
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x50]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rdx, qword [rcx + 0x10]
add rdx, qword [0x140119c60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov r9d, 8
add rdx, 0x10
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 4]
lea r8, [rbp - 0x50]
mov rcx, qword [0x140104e58]
mov r9d, 4
mov rdx, qword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
add rdx, 0x30
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
movss dword [rbp - 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x29], r15b
je 0x140012eb5
mov rcx, qword [0x140104e58]
lea rdx, [r14 + 0x60]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x70]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x78]
mov rdx, qword [rsp + 0x70]
mov r9d, 8
add rdx, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x78]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rbp - 0x78]
mov rbx, qword [rsp + 0x70]
mov r9d, 8
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x50], 0x41f00000
lea rdx, [rbx + 0x18]
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x1a], r15b
je 0x140013144
mov rdx, qword [0x140119c08]
test rdx, rdx
je 0x140013144
mov rcx, qword [0x140104e58]
lea r8, [rsp + 0x70]
add rdx, 0x90
movaps xmmword [rsp + 0x100], xmm6
mov r9d, ntohs
mov qword [rsp + 0x20], r15
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [0x1401174f0]
mov ecx, 3
movss xmm1, dword [rax + 0x14]
subss xmm1, dword [0x1400c406c]
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x1400c3e88]
or dword [rax + 0x3fe0], 0x41
mov dword [rax + 0x3ff8], r15d
movss dword [rax + 0x3ff4], xmm1
subss xmm0, dword [0x1400c40a0]
movss xmm1, dword [0x1400c3fc0]
mov dword [rax + 0x3ffc], 0x3f800000
mov dword [rax + 0x3fe4], 1
mov dword [rax + 0x4040], 0x3f000000
movss dword [rax + 0x3ff0], xmm0
call fcn.14001b170
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x41200000
mov ecx, ntohs
mov dword [rsp + 0x54], 0x41200000
call fcn.14001b1f0
mov rbx, qword [0x1401174f0]
lea rdx, [rbp - 0x20]
movdqa xmm6, xmmword [0x1400c44b0]
mov dword [rbp - 0x20], 2
movups xmm0, xmmword [rbx + 0x38ec]
lea rcx, [rbx + 0x4050]
movups xmmword [rbp - 0x1c], xmm0
call fcn.14002fa80
xor edx, edx
lea rcx, str.Coordinates
mov r8d, 0xc024f
movups xmmword [rbx + 0x38ec], xmm6
call fcn.1400248d0
movss xmm1, dword [rsp + 0x70]
lea rcx, str.X:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400477c0
movss xmm1, dword [rsp + 0x74]
lea rcx, str.Y:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400477c0
movss xmm1, dword [rsp + 0x78]
lea rcx, str.Z:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400477c0
call fcn.140026e70
mov r8, qword [0x1401174f0]
lea r11, [0x1400be000]
movaps xmm6, xmmword [rsp + 0x100]
mov rcx, qword [r8 + 0x4058]
movsxd rax, dword [r8 + 0x4050]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x38cc], xmm0
dec dword [r8 + 0x4050]
movsxd rax, dword [r8 + 0x4060]
mov rdx, qword [r8 + 0x4068]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea rax, [rax + rax*2]
cmp dword [r11 + rax*4], 8
mov r9d, dword [r11 + rax*4 + 8]
jne 0x1400130d4
mov eax, dword [r11 + rax*4 + 4]
cmp eax, 1
jne 0x1400130b7
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x37f8], eax
jmp 0x1400130d4
cmp eax, 2
jne 0x1400130d4
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x37f8], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r9 + r8 + 0x37fc], eax
movsxd rcx, dword [r8 + 0x4060]
lea eax, [rcx - 1]
mov dword [r8 + 0x4060], eax
lea rax, [rcx - 2]
mov rdx, qword [r8 + 0x4068]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
cmp dword [r11 + r10*4], 8
mov r9d, dword [r11 + r10*4 + 8]
jne 0x14001313d
mov eax, dword [r11 + r10*4 + 4]
cmp eax, 1
jne 0x140013120
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x37f8], eax
jmp 0x14001313d
cmp eax, 2
jne 0x14001313d
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x37f8], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x37fc], eax
dec dword [r8 + 0x4060]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ad050
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret