Function at 0x140008520
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140079040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdx, qword [0x1400ed438]
lea r8, [rbp - 0x21]
add rdx, qword [0x1400ed470]
mov rdi, rcx
mov rcx, qword [0x1400ed4b8]
xor r15d, r15d
mov r9d, 8
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x21]
lea r8, [rbp + 7]
mov rcx, qword [0x1400ed4b8]
add rdx, 0x20
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp + 7]
cmp byte [rdi + 0x2d], r15b
je 0x140008624
mov rdx, qword [0x1400ed458]
lea r8, [rbp - 0x21]
add rdx, qword [0x1400ed438]
mov r9d, 8
mov rcx, qword [0x1400ed4b8]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x21]
lea r8, [rbp - 0x11]
add rdx, qword [0x1400ed478]
mov r9d, 8
mov rcx, qword [0x1400ed4b8]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x21]
movss xmm0, dword [rdi + 0x30]
add rdx, 0x4c
mov rcx, qword [0x1400ed4b8]
mov r9d, 4
movss dword [rbp - 0x21], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0xe8], rbx
mov rbx, qword [0x1400ed438]
cmp byte [rdi + 3], r15b
je 0x14000884d
test rbx, rbx
je 0x14000884d
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
mov r9d, 0xc
mov qword [rsp + 0xf8], r14
lea rdx, [rbx + 0x90]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1400ed4a0]
lea r8, [rbp - 0x11]
mov rcx, qword [0x1400ed4b8]
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x11]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1400ed4b8]
add rdx, 0x3d0
mov r9d, 0xc
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400086dd
movss xmm0, dword [rbp - 0x1d]
addss xmm0, dword [0x14006ee8c]
movss dword [rbp - 0x1d], xmm0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400086ff
movss xmm0, dword [rbp - 0x1d]
addss xmm0, dword [0x14006f008]
movss dword [rbp - 0x1d], xmm0
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008721
movss xmm0, dword [rbp - 0x19]
addss xmm0, dword [0x14006ee8c]
movss dword [rbp - 0x19], xmm0
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008743
movss xmm0, dword [rbp - 0x19]
addss xmm0, dword [0x14006f008]
movss dword [rbp - 0x19], xmm0
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008765
movss xmm0, dword [rbp - 0x21]
addss xmm0, dword [0x14006f008]
movss dword [rbp - 0x21], xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008787
movss xmm0, dword [rbp - 0x21]
addss xmm0, dword [0x14006ee8c]
movss dword [rbp - 0x21], xmm0
movsd xmm0, qword [rbp - 0x21]
lea r8, [rbp - 9]
mov eax, dword [rbp - 0x19]
lea rdx, [rbx + 0x90]
mov rcx, qword [0x1400ed4b8]
mov r9d, 0xc
movsd qword [rbp - 9], xmm0
mov dword [rbp - 1], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x30]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x11]
lea r8, [rbp - 0x49]
movsd xmm0, qword [rbp - 0x21]
mov r9d, 0xc
mov eax, dword [rbp - 0x19]
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x30]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp - 0x21]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed4b8]
mov r9d, 0xc
movsd qword [rbp - 0x39], xmm0
mov dword [rbp - 0x31], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [0x1400ed438]
mov r14, qword [rsp + 0xf8]
cmp byte [rdi + 0x60], r15b
je 0x140008aaa
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0xd30]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x11]
test rbx, rbx
je 0x140008aa3
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x90]
mov r9d, 0xc
mov qword [rsp + 0x20], r15
lea r8, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1400ed4a0]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400ed4b8]
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x21]
lea r8, [rbp + 0x27]
mov rcx, qword [0x1400ed4b8]
add rdx, 0x3d0
mov r9d, 0xc
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000891a
movss xmm1, dword [rbp - 5]
movd xmm0, dword [rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 5], xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008940
movss xmm1, dword [rbp - 5]
movd xmm0, dword [rdi + 8]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 5], xmm1
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008966
movss xmm1, dword [rbp - 1]
movd xmm0, dword [rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 1], xmm1
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000898c
movss xmm1, dword [rbp - 1]
movd xmm0, dword [rdi + 8]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 1], xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400089b2
movss xmm1, dword [rbp - 9]
movd xmm0, dword [rdi + 8]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rbp - 9], xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400089d8
movss xmm1, dword [rbp - 9]
movd xmm0, dword [rdi + 8]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 9], xmm1
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400089ec
mov byte [rdi + 3], r15b
movsd xmm0, qword [rbp - 9]
lea rdx, [rbx + 0x90]
mov eax, dword [rbp - 1]
lea r8, [rbp - 0x39]
mov rcx, qword [0x1400ed4b8]
mov r9d, 0xc
movsd qword [rbp - 0x39], xmm0
mov dword [rbp - 0x31], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x30]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x21]
lea r8, [rbp - 0x49]
movsd xmm0, qword [rbp - 9]
mov r9d, 0xc
mov eax, dword [rbp - 1]
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x30]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsd xmm0, qword [rbp - 9]
lea rdx, [rbx + 0x50]
mov eax, dword [rbp - 1]
lea r8, [rbp + 0x17]
mov rcx, qword [0x1400ed4b8]
mov r9d, 0xc
movsd qword [rbp + 0x17], xmm0
mov dword [rbp + 0x1f], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [0x1400ed438]
cmp byte [rdi], r15b
je 0x140008ae2
test rbx, rbx
je 0x140008ae2
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x189]
mov r9d, 1
mov byte [rbp - 0x29], 1
lea r8, [rbp - 0x29]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [0x1400ed438]
cmp byte [rdi + 0x46], r15b
je 0x140008bcf
test rbx, rbx
je 0x140008bcf
mov rcx, qword [0x1400ed4b8]
lea rdx, [rbx + 0x90]
mov r9d, 0xc
mov qword [rsp + 0x20], r15
lea r8, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [0x1400ed060]
lea rcx, str.Coordinates
xor edx, edx
mov r8d, 0xc024f
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x14006ee48]
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.140018700
movss xmm1, dword [rbp - 9]
lea rcx, str.X:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b600
movss xmm1, dword [rbp - 5]
lea rcx, str.Y:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b600
movss xmm1, dword [rbp - 1]
lea rcx, str.Z:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.14003b600
call fcn.14001aac0
mov rbx, qword [0x1400ed438]
lea rdx, [rbx + 0x10c8]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x11]
mov qword [rsp + 0x20], r15
mov r9d, 8
cmp byte [rdi + 0x45], r15b
je 0x140008c29
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x11]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400ed4b8]
mov r9d, 4
mov dword [rbp - 0x21], r15d
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xcf0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp - 0x21], r15d
jmp 0x140008c64
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x11]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400ed4b8]
mov r9d, 4
mov dword [rbp - 0x21], 0x3f800000
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xcf0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp - 0x21], 0x3f800000
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
mov r9d, 4
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xc], r15b
je 0x140008d1f
mov rdx, qword [0x1400ed438]
lea r8, [rbp - 0x11]
mov rcx, qword [0x1400ed4b8]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x14]
lea r8, [rbp - 0x21]
mov rbx, qword [rbp - 0x11]
mov r9d, 4
mov rcx, qword [0x1400ed4b8]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0xcf0]
movss dword [rbp - 0x21], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movd xmm0, dword [rdi + 0x18]
lea rdx, [rbx + 0x170]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x21], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400ed438]
lea r8, [rbp - 0x11]
mov rcx, qword [0x1400ed4b8]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r15
cmp byte [rdi + 0xd], r15b
je 0x140008d58
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x21], 0x42c80000
jmp 0x140008d65
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x21], 0x3f800000
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400ed4b8]
add rdx, 0xcf4
mov r9d, 4
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x2f4]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov dword [rbp - 0x21], r15d
cmp byte [rdi + 0xf], r15b
jne 0x140008dba
mov dword [rbp - 0x21], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov dword [rbp - 0x21], r15d
cmp byte [rdi + 0x10], r15b
jne 0x140008dee
mov dword [rbp - 0x21], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov dword [rbp - 0x21], 0x447a0000
cmp byte [rdi + 0x11], r15b
jne 0x140008e25
mov dword [rbp - 0x21], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0x12], r15b
je 0x140008ee4
mov rcx, qword [0x1400ed4b8]
lea rdx, [rsi + 0x60]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400ed4b8]
add rdx, 8
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x21]
lea r8, [rbp - 0x11]
mov rcx, qword [0x1400ed4b8]
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x11]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400ed4b8]
mov r9d, 8
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
mov r9d, 4
mov dword [rbp - 0x21], 0x41f00000
lea rdx, [rbx + 0x18]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, qword [rsp + 0xe8]
cmp byte [rdi + 0xe], r15b
je 0x140008f22
movd xmm0, dword [rdi + 0x1c]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x21]
cvtdq2ps xmm0, xmm0
mov r9d, 4
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x21], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x20]
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x29]
mov qword [rsp + 0x20], r15
mov r9d, 1
cmp byte [rdi + 1], r15b
je 0x140008f52
mov byte [rbp - 0x29], 5
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [rbp - 0x29], 3
jmp 0x140008f60
mov byte [rbp - 0x29], r15b
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [rbp - 0x29], r15b
mov rcx, qword [0x1400ed4b8]
lea r8, [rbp - 0x29]
mov r9d, 1
mov qword [rsp + 0x20], r15
lea rdx, [rsi + 0x24]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0xf0]
cmp byte [rdi + 0x20], r15b
je 0x14000900d
mov rdx, qword [0x1400ed4c8]
lea r8, [rbp - 0x11]
add rdx, qword [0x1400ed4a0]
mov r9d, 8
mov rcx, qword [0x1400ed4b8]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x11]
lea r8, [rbp + 7]
mov rcx, qword [0x1400ed4b8]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [rdi + 0x24]
lea r8, [rbp - 0x21]
mov rdx, qword [rbp + 7]
mov r9d, 4
mov rcx, qword [0x1400ed4b8]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], r15
movss dword [rbp - 0x21], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400617c0
add rsp, 0xc0
pop r15
pop rdi
pop rbp
ret