Function at 0x1400a10d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1402345c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x14024c96b], 0
jne 0x1400a122c
cmp byte [0x14024c968], 0
jne 0x1400a124e
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x14020ab60]
movdqa xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov byte [rbp - 0x24], 0
mov qword [rbp - 0x1c], 0
mov dword [rbp - 0x20], 0
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400a1240
movss xmm0, dword [0x14024c1e8]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14024c1ec]
movss dword [rbp - 0x2c], xmm1
movss xmm0, dword [0x14024c1f0]
movss dword [rbp - 0x28], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.WayPoint_Drone_1
lea rcx, [rbp - 0x50]
call fcn.1400f18a0
mov byte [rbp - 0x24], 1
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [0x14024c898]
call fcn.1400f18a0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024c8b8], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024c8c0], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024c8c4], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024c8c8], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024c8d0], eax
lea rcx, [rbp - 0x50]
call fcn.1400f1840
mov byte [0x14024c968], 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14024c8c4], 0
je 0x1400a146f
cmp byte [0x14024c904], 0
je 0x1400a146f
cmp byte [0x14024c944], 0
je 0x1400a146f
mov byte [0x14024c96b], 1
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401b6160
add rsp, 0x70
pop rbp
ret
lea rcx, [rbp - 0x50]
call fcn.1400f1840
jmp 0x1400a1476
cmp byte [0x14024c969], 0
jne 0x1400a1360
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x14020ab60]
movdqa xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov byte [rbp - 0x24], 0
mov qword [rbp - 0x1c], 0
mov dword [rbp - 0x20], 0
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400a1352
movss xmm0, dword [0x14024c1e8]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14024c1ec]
movss dword [rbp - 0x2c], xmm1
movss xmm0, dword [0x14024c1f0]
movss dword [rbp - 0x28], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.WayPoint_Drone_2
lea rcx, [rbp - 0x50]
call fcn.1400f18a0
mov byte [rbp - 0x24], 1
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [0x14024c8d8]
call fcn.1400f18a0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024c8f8], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024c900], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024c904], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024c908], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024c910], eax
lea rcx, [rbp - 0x50]
call fcn.1400f1840
mov byte [0x14024c969], 1
jmp 0x1400a11f3
lea rcx, [rbp - 0x50]
call fcn.1400f1840
jmp 0x1400a1476
cmp byte [0x14024c96a], 0
jne 0x1400a11fe
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x14020ab60]
movdqa xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov byte [rbp - 0x24], 0
mov qword [rbp - 0x1c], 0
mov dword [rbp - 0x20], 0
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400a1464
movss xmm0, dword [0x14024c1e8]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14024c1ec]
movss dword [rbp - 0x2c], xmm1
movss xmm0, dword [0x14024c1f0]
movss dword [rbp - 0x28], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.WayPoint_Drone_3
lea rcx, [rbp - 0x50]
call fcn.1400f18a0
mov byte [rbp - 0x24], 1
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [0x14024c918]
call fcn.1400f18a0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024c938], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024c940], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024c944], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024c948], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024c950], eax
lea rcx, [rbp - 0x50]
call fcn.1400f1840
mov byte [0x14024c96a], 1
jmp 0x1400a11f3
lea rcx, [rbp - 0x50]
call fcn.1400f1840
jmp 0x1400a1476
mov byte [0x14024c96b], 0
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401b6160
add rsp, 0x70
pop rbp
ret