Function at 0x1400a4d80
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 0x1400a51e0
movss xmm0, dword [0x14024a210]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14024a218]
movss dword [rbp - 0x28], xmm1
mov dword [rbp - 0x2c], 0
cmp ebx, 1
jne 0x1400a4f07
mov rax, qword [rbp - 0x38]
cmp rax, 0x15
jb 0x1400a4e56
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 0x1400a4e6b
lea r9, str.WayPoint_1___SWIM_OUT
mov edx, reloc.WS2_32.dll_setsockopt
lea rcx, [rbp - 0x50]
call fcn.1400fadc0
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 [0x14024ab10]
cmp rdi, rax
ja 0x1400a4ebb
lea rbx, [0x14024aaf8]
cmp rax, 0xf
cmova rbx, qword [0x14024aaf8]
mov qword [0x14024ab08], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a4eca
mov rdx, rdi
lea rcx, [0x14024aaf8]
call fcn.1400fadc0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024ab18], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024ab20], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024ab24], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024ab28], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024ab30], eax
mov bl, 1
jmp 0x1400a51e2
cmp ebx, 2
jne 0x1400a4ffb
mov rax, qword [rbp - 0x38]
cmp rax, 0x11
jb 0x1400a4f4a
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 0x1400a4f5f
lea r9, str.WayPoint_2___LEFT
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rbp - 0x50]
call fcn.1400fadc0
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 [0x14024ab50]
cmp rdi, rax
ja 0x1400a4faf
lea rbx, [0x14024ab38]
cmp rax, 0xf
cmova rbx, qword [0x14024ab38]
mov qword [0x14024ab48], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a4fbe
mov rdx, rdi
lea rcx, [0x14024ab38]
call fcn.1400fadc0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024ab58], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024ab60], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024ab64], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024ab68], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024ab70], eax
mov bl, 1
jmp 0x1400a51e2
cmp ebx, 3
jne 0x1400a50ef
mov rax, qword [rbp - 0x38]
cmp rax, 0x13
jb 0x1400a503e
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 0x1400a5053
lea r9, str.WayPoint_3___MIDDLE
mov edx, reloc.WS2_32.dll_send
lea rcx, [rbp - 0x50]
call fcn.1400fadc0
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 [0x14024ab90]
cmp rdi, rax
ja 0x1400a50a3
lea rbx, [0x14024ab78]
cmp rax, 0xf
cmova rbx, qword [0x14024ab78]
mov qword [0x14024ab88], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a50b2
mov rdx, rdi
lea rcx, [0x14024ab78]
call fcn.1400fadc0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024ab98], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024aba0], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024aba4], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024aba8], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024abb0], eax
mov bl, 1
jmp 0x1400a51e2
cmp ebx, 4
jne 0x1400a51e0
mov rax, qword [rbp - 0x38]
cmp rax, 0x12
jb 0x1400a5132
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 0x1400a5147
lea r9, str.WayPoint_4___RIGHT
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp - 0x50]
call fcn.1400fadc0
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 [0x14024abd0]
cmp rdi, rax
ja 0x1400a5197
lea rbx, [0x14024abb8]
cmp rax, 0xf
cmova rbx, qword [0x14024abb8]
mov qword [0x14024abc8], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a51a6
mov rdx, rdi
lea rcx, [0x14024abb8]
call fcn.1400fadc0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024abd8], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024abe0], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024abe4], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024abe8], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024abf0], eax
mov bl, 1
jmp 0x1400a51e2
xor bl, bl
lea rcx, [rbp - 0x50]
call fcn.1400f0c30
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401b5590
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret