Function at 0x140009880
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 [0x140109080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdx, qword [0x14017dcd8]
lea r8, [rbp - 0x39]
add rdx, qword [0x14017dd10]
xor r12d, r12d
mov rdi, rcx
mov qword [rsp + 0x20], r12
mov rcx, qword [0x14017dd58]
lea r9d, [r12 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r9d, [r12 + 8]
mov rcx, qword [0x14017dd58]
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 0x140009980
mov rdx, qword [0x14017dcf8]
lea r9d, [r12 + 8]
add rdx, qword [0x14017dcd8]
lea r8, [rbp - 0x39]
mov rcx, qword [0x14017dd58]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x39]
lea r9d, [r12 + 8]
add rdx, qword [0x14017dd18]
lea r8, [rbp - 9]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
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 0x140009bef
mov rcx, qword [0x14017dd58]
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 0x14000a348
mov rcx, qword [0x14017dd58]
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 0x14000a348
mov rcx, qword [0x14017dd58]
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 0x14000a348
mov rcx, qword [0x14017dd58]
lea r8, [rbp - 0x29]
mov r9d, recvfrom
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 0x140009a76
jne 0x140009a76
movss xmm0, dword [rbp - 0x25]
ucomiss xmm0, xmm6
jp 0x140009a76
jne 0x140009a76
movss xmm0, dword [rbp - 0x21]
ucomiss xmm0, xmm6
jp 0x140009a76
je 0x14000a348
mov rcx, qword [0x14017dd58]
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 0x14000a348
mov rcx, qword [0x14017dd58]
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 0x14000a348
movd xmm6, dword [reloc.WS2_32.dll_accept]
mov ecx, 0x57
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140009af6
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 0x140009b14
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 0x140009b32
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 0x140009b50
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 0x140009b6e
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 0x140009b8c
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 [0x14017dd58]
mov r9d, recvfrom
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 [0x14017dd58]
mov r9d, recvfrom
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 0x140009e4c
mov rdx, qword [0x14017dcd8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14017dd58]
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 0x140009e4c
mov rcx, qword [0x14017dd58]
lea rdx, [rbx + 0x90]
mov r9d, recvfrom
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x14017dd40]
lea r8, [rbp - 9]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
add rdx, 0x3d0
mov r9d, recvfrom
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 0x140009cc3
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 0x140009ce9
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 0x140009d0f
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 0x140009d35
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 0x140009d5b
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 0x140009d81
movss xmm1, dword [rbp - 0x29]
movd xmm0, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [rbp - 0x29], xmm1
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140009d95
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 [0x14017dd58]
mov r9d, recvfrom
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 [0x14017dd58]
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, recvfrom
mov eax, dword [rbp - 0x21]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
mov r9d, recvfrom
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 [0x14017dcd8]
cmp byte [rdi], r12b
je 0x140009e8b
test rdx, rdx
je 0x140009e8b
mov rcx, qword [0x14017dd58]
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 [0x14017dcd8]
cmp byte [rdi + 0x42], r12b
je 0x140009f78
test rdx, rdx
je 0x140009f78
mov rcx, qword [0x14017dd58]
lea r8, [rbp - 0x29]
add rdx, 0x90
mov qword [rsp + 0x20], r12
mov r9d, recvfrom
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [0x14017d930]
lea rcx, str.Coordinates
xor edx, edx
mov r8d, 0xc024f
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x1400f56a0]
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.140031930
movss xmm1, dword [rbp - 0x29]
lea rcx, str.X:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400551c0
movss xmm1, dword [rbp - 0x25]
lea rcx, str.Y:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400551c0
movss xmm1, dword [rbp - 0x21]
lea rcx, str.Z:__.2f
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400551c0
call fcn.140033d10
mov rdx, qword [0x14017dcd8]
mov rcx, qword [0x14017dd58]
lea r8, [rbp - 0x19]
add rdx, 0x10c8
mov qword [rsp + 0x20], r12
mov r9d, 8
cmp byte [rdi + 0x41], r12b
je 0x140009fd2
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x14017dd58]
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 0x14000a00d
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
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 0x14000a0c8
mov rdx, qword [0x14017dcd8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
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 [0x14017dd58]
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 [0x14017dcd8]
lea r8, [rbp - 0x19]
mov rcx, qword [0x14017dd58]
add rdx, 0x10c8
mov r9d, 8
mov qword [rsp + 0x20], r12
cmp byte [rdi + 9], r12b
je 0x14000a101
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x42c80000
jmp 0x14000a10e
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp - 0x39], 0x3f800000
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xb], r12b
jne 0x14000a163
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x84]
mov rcx, qword [0x14017dd58]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], r12d
cmp byte [rdi + 0xc], r12b
jne 0x14000a197
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rsi + 0x134]
mov rcx, qword [0x14017dd58]
lea r8, [rbp - 0x39]
mov qword [rsp + 0x20], r12
mov r9d, 4
mov dword [rbp - 0x39], 0x447a0000
cmp byte [rdi + 0xd], r12b
jne 0x14000a1ce
mov dword [rbp - 0x39], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rdi + 0xe], r12b
je 0x14000a28d
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
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 [0x14017dd58]
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 [0x14017dd58]
mov r9d, 8
mov qword [rsp + 0x20], r12
lea rdx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14017dd58]
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 0x14000a2c3
movd xmm0, dword [rdi + 0x18]
lea rdx, [rsi + 0xb0]
mov rcx, qword [0x14017dd58]
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 0x14000a348
mov rdx, qword [0x14017dd68]
lea r8, [rbp - 0x19]
add rdx, qword [0x14017dd40]
mov r9d, 8
mov rcx, qword [0x14017dd58]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x19]
lea r8, [rbp - 9]
mov rcx, qword [0x14017dd58]
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 [0x14017dd58]
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.1400d6270
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop r12
pop rdi
pop rsi
pop rbp
ret