Function at 0x1400a4660
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
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 0x1400a4ac0
movss xmm0, dword [0x14024a2b0]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14024a2b8]
movss dword [rbp - 0x28], xmm1
mov dword [rbp - 0x2c], 0
cmp ebx, 1
jne 0x1400a47e7
mov rax, qword [rbp - 0x38]
cmp rax, 0x15
jb 0x1400a4736
lea rbx, [rbp - 0x50]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], reloc.WS2_32.dll_setsockopt
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.WayPoint_1___SWIM_OUT
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x15], 0
jmp 0x1400a474b
lea r9, str.WayPoint_1___SWIM_OUT
mov edx, reloc.WS2_32.dll_setsockopt
lea rcx, [rbp - 0x50]
call fcn.1400fa0d0
mov byte [rbp - 0x24], 1
mov rdi, qword [rbp - 0x40]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov rax, qword [0x14024abc0]
cmp rdi, rax
ja 0x1400a479b
lea rbx, [0x14024aba8]
cmp rax, 0xf
cmova rbx, qword [0x14024aba8]
mov qword [0x14024abb8], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a47aa
mov rdx, rdi
lea rcx, [0x14024aba8]
call fcn.1400fa0d0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024abc8], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024abd0], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024abd4], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024abd8], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024abe0], eax
mov bl, 1
jmp 0x1400a4ac2
cmp ebx, 2
jne 0x1400a48db
mov rax, qword [rbp - 0x38]
cmp rax, 0x11
jb 0x1400a482a
lea rbx, [rbp - 0x50]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], reloc.WS2_32.dll_recvfrom
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WayPoint_2___LEFT
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x11], 0
jmp 0x1400a483f
lea r9, str.WayPoint_2___LEFT
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rbp - 0x50]
call fcn.1400fa0d0
mov byte [rbp - 0x24], 1
mov rdi, qword [rbp - 0x40]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov rax, qword [0x14024ac00]
cmp rdi, rax
ja 0x1400a488f
lea rbx, [0x14024abe8]
cmp rax, 0xf
cmova rbx, qword [0x14024abe8]
mov qword [0x14024abf8], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a489e
mov rdx, rdi
lea rcx, [0x14024abe8]
call fcn.1400fa0d0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024ac08], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024ac10], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024ac14], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024ac18], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024ac20], eax
mov bl, 1
jmp 0x1400a4ac2
cmp ebx, 3
jne 0x1400a49cf
mov rax, qword [rbp - 0x38]
cmp rax, 0x13
jb 0x1400a491e
lea rbx, [rbp - 0x50]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], reloc.WS2_32.dll_send
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.WayPoint_3___MIDDLE
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x13], 0
jmp 0x1400a4933
lea r9, str.WayPoint_3___MIDDLE
mov edx, reloc.WS2_32.dll_send
lea rcx, [rbp - 0x50]
call fcn.1400fa0d0
mov byte [rbp - 0x24], 1
mov rdi, qword [rbp - 0x40]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov rax, qword [0x14024ac40]
cmp rdi, rax
ja 0x1400a4983
lea rbx, [0x14024ac28]
cmp rax, 0xf
cmova rbx, qword [0x14024ac28]
mov qword [0x14024ac38], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a4992
mov rdx, rdi
lea rcx, [0x14024ac28]
call fcn.1400fa0d0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024ac48], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024ac50], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024ac54], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024ac58], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024ac60], eax
mov bl, 1
jmp 0x1400a4ac2
cmp ebx, 4
jne 0x1400a4ac0
mov rax, qword [rbp - 0x38]
cmp rax, 0x12
jb 0x1400a4a12
lea rbx, [rbp - 0x50]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], reloc.WS2_32.dll_select
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.WayPoint_4___RIGHT
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x12], 0
jmp 0x1400a4a27
lea r9, str.WayPoint_4___RIGHT
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp - 0x50]
call fcn.1400fa0d0
mov byte [rbp - 0x24], 1
mov rdi, qword [rbp - 0x40]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov rax, qword [0x14024ac80]
cmp rdi, rax
ja 0x1400a4a77
lea rbx, [0x14024ac68]
cmp rax, 0xf
cmova rbx, qword [0x14024ac68]
mov qword [0x14024ac78], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a4a86
mov rdx, rdi
lea rcx, [0x14024ac68]
call fcn.1400fa0d0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024ac88], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024ac90], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024ac94], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024ac98], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024aca0], eax
mov bl, 1
jmp 0x1400a4ac2
xor bl, bl
lea rcx, [rbp - 0x50]
call fcn.1400f0030
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401b4860
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret