Function at 0x180138b90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm7
mov rax, qword [0x18028ab00]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r15, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
movdqu xmmword [rbp - 0x51], xmm0
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.18014f430
mov esi, 0xffffffff
test al, al
je 0x180139160
mov r8, rdi
lea rdx, [rbp - 0x21]
mov rcx, qword [rbp - 0x71]
call fcn.180151130
nop
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp - 0x21]
call fcn.180142950
nop
mov r8, rdi
lea rdx, [rbp - 0x31]
mov r14, qword [rbp - 0x61]
mov rcx, r14
call fcn.18014bfa0
nop
mov r8, rdi
lea rdx, [rbp - 0x11]
mov rcx, qword [rbp - 0x71]
call fcn.1801512a0
nop
mov r8, rdi
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.18014c4e0
movsd xmm2, qword [rax + 0x10]
xorps xmm7, xmm7
subsd xmm2, xmm7
movsd xmm1, qword [rax + 8]
subsd xmm1, qword [0x180259468]
movsd xmm0, qword [rax]
subsd xmm0, xmm7
movsd qword [rsp + 0x40], xmm0
movsd qword [rsp + 0x48], xmm1
movsd qword [rbp - 0x79], xmm2
lea r9, [rsp + 0x40]
mov r8, rdi
lea rdx, [rbp - 0x41]
mov rcx, qword [rbp - 0x51]
call fcn.18014e3c0
nop
movsd xmm2, qword [rbp - 0x79]
subsd xmm2, xmm7
movsd xmm1, qword [rsp + 0x48]
subsd xmm1, qword [0x180259468]
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, xmm7
movsd qword [rbp - 1], xmm0
movsd qword [rbp + 7], xmm1
movsd qword [rbp + 0xf], xmm2
lea r9, [rbp - 1]
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp - 0x51]
call fcn.18014e3c0
nop
cmp byte [r15 + 0xc], 0
jne 0x180138cea
cmp byte [0x1803973d4], 0
jmp 0x180138fc3
mov rcx, qword gs:[0x58]
mov eax, dword [0x1803907bc]
mov edx, 8
mov rax, qword [rcx + rax*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18039a410], ecx
jle 0x180138d3a
lea rcx, [0x18039a410]
call fcn.1801cba90
cmp dword [0x18039a410], 0xffffffff
jne 0x180138d3a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x18039a414], eax
lea rcx, [0x18039a410]
call fcn.1801cba24
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180138d56
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x18039a414], eax
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180138d92
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180138d92
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x18039a414]
sub rax, rcx
cmp rax, 0x1f4
jbe 0x180138d92
cmp byte [0x1803973d4], 0
jmp 0x180138fc3
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180138de4
mov rax, qword [rdi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rdi
call r9
test al, al
jne 0x180138de4
lea r9, str.moveForward
mov r8, qword [r14 + 8]
mov rdx, rdi
mov rcx, qword [0x180387140]
call fcn.180155f70
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x180138de4
cmp byte [0x1803973d4], 0
jmp 0x180138fc3
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180138e3b
mov rax, qword [rdi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rdi
call r9
test al, al
jne 0x180138e2f
lea r9, str.rotationPitch
mov r8, qword [r14 + 8]
mov rdx, rdi
mov rcx, qword [0x180387070]
call fcn.180155f70
movss xmm1, dword [0x18025962c]
comiss xmm1, xmm0
jbe 0x180138e3b
cmp byte [0x1803973d4], 0
jmp 0x180138fc3
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180138e5f
mov rdx, rdi
mov rcx, qword [rbp - 0x31]
call fcn.180145c00
test al, al
jne 0x180138e5f
cmp byte [0x1803973d4], al
jmp 0x180138fc3
mov rbx, qword [rbp - 0x41]
mov rax, qword [rdi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, rdi
call r9
test al, al
jne 0x180138f8c
mov rax, qword [0x180387120]
mov r8, qword [rax + 0x70]
mov rax, qword [rdi]
mov r9, qword [rax + 0x100]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call r9
test al, al
je 0x180138f8c
mov rbx, qword [rsp + 0x40]
mov rax, qword [rdi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, rdi
call r9
test al, al
jne 0x180138f8c
mov rax, qword [0x180387120]
mov r8, qword [rax + 0x70]
mov rax, qword [rdi]
mov r9, qword [rax + 0x100]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call r9
test al, al
je 0x180138f8c
mov rax, qword [rdi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rdi
call r9
test al, al
jne 0x180138f8c
lea r9, str.onGround
mov r8, qword [r14 + 8]
mov rdx, rdi
mov rcx, qword [0x180387070]
call fcn.180155700
test al, al
je 0x180138f8c
mov rbx, qword [rsp + 0x30]
mov rax, qword [rdi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, rdi
call r9
test al, al
jne 0x180138f6c
mov byte [rsp + 0x20], 1
lea r9, str.pressed
mov r8, qword [rbx + 8]
mov rdx, rdi
mov rcx, qword [0x180387360]
call fcn.180156810
mov byte [0x1803973d4], 1
mov edx, dword [0x180386e98]
lea r8d, [rdx + 0x32]
call fcn.18011b910
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18013900a
mov rax, qword [rdi]
mov r10, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rdi
call r10
test al, al
jne 0x18013900a
lea r9, str.onGround
mov r8, qword [r14 + 8]
mov rdx, rdi
mov rcx, qword [0x180387070]
call fcn.180155700
test al, al
je 0x18013900a
mov rbx, qword [rsp + 0x30]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, rdi
mov r9, qword [rax + 0xc0]
call r9
test al, al
jne 0x180139003
mov byte [rsp + 0x20], al
lea r9, str.pressed
mov r8, qword [rbx + 8]
mov rdx, rdi
mov rcx, qword [0x180387360]
call fcn.180156810
mov byte [0x1803973d4], 0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180139045
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180139045
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180139045
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18013907d
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013907d
mov rbx, qword [rbp - 0x39]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18013907d
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1801390b5
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1801390b5
mov rbx, qword [rbp - 9]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1801390b5
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1801390ed
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1801390ed
mov rbx, qword [rbp - 0x29]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1801390ed
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180139128
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180139128
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180139128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x180139160
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180139160
mov rbx, qword [rbp - 0x19]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180139160
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180139197
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180139197
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180139197
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1801391ce
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1801391ce
mov rbx, qword [rbp - 0x59]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1801391ce
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x180139203
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180139203
mov rbx, qword [rbp - 0x69]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180139203
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1801cb9c0
mov rbx, qword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0xf0]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret