Function at 0x1400a4de0
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 0x1400a5240
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 0x1400a4f67
mov rax, qword [rbp - 0x38]
cmp rax, 0x15
jb 0x1400a4eb6
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 0x1400a4ecb
lea r9, str.WayPoint_1___SWIM_OUT
mov edx, reloc.WS2_32.dll_setsockopt
lea rcx, [rbp - 0x50]
call fcn.1400faea0
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 0x1400a4f1b
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 0x1400a4f2a
mov rdx, rdi
lea rcx, [0x14024aaf8]
call fcn.1400faea0
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 0x1400a5242
cmp ebx, 2
jne 0x1400a505b
mov rax, qword [rbp - 0x38]
cmp rax, 0x11
jb 0x1400a4faa
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 0x1400a4fbf
lea r9, str.WayPoint_2___LEFT
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rbp - 0x50]
call fcn.1400faea0
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 0x1400a500f
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 0x1400a501e
mov rdx, rdi
lea rcx, [0x14024ab38]
call fcn.1400faea0
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 0x1400a5242
cmp ebx, 3
jne 0x1400a514f
mov rax, qword [rbp - 0x38]
cmp rax, 0x13
jb 0x1400a509e
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 0x1400a50b3
lea r9, str.WayPoint_3___MIDDLE
mov edx, reloc.WS2_32.dll_send
lea rcx, [rbp - 0x50]
call fcn.1400faea0
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 0x1400a5103
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 0x1400a5112
mov rdx, rdi
lea rcx, [0x14024ab78]
call fcn.1400faea0
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 0x1400a5242
cmp ebx, 4
jne 0x1400a5240
mov rax, qword [rbp - 0x38]
cmp rax, 0x12
jb 0x1400a5192
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 0x1400a51a7
lea r9, str.WayPoint_4___RIGHT
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp - 0x50]
call fcn.1400faea0
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 0x1400a51f7
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 0x1400a5206
mov rdx, rdi
lea rcx, [0x14024abb8]
call fcn.1400faea0
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 0x1400a5242
xor bl, bl
lea rcx, [rbp - 0x50]
call fcn.1400f0d10
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401b5670
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret