Function at 0x18004f170
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.180054140
sub rsp, rax
mov rax, qword [0x180066240]
xor rax, rsp
mov qword [rbp + 0xfe0], rax
cmp byte [0x1800ad0cc], 0
je 0x18004fa67
movaps xmmword [rsp + 0x10f0], xmm9
call qword [0x1800ad2b0]
test rax, rax
je 0x18004f1c5
xorps xmm1, xmm1
mov rcx, rax
call qword [0x1800ad1e8]
cmp byte [0x1800662b4], 0
movss xmm9, dword [0x18005dd14]
mov qword [rsp + 0x1140], rbx
mov qword [rsp + 0x1150], rdi
jne 0x18004f453
cmp byte [0x1800ad18a], 0
je 0x18004f34b
movss xmm0, dword [0x1800662e8]
lea r8, str.Foreground
mov rax, qword [0x1800ad0d0]
mov edx, 1
movss xmm1, dword [0x1800662ec]
movss dword [rbp + 0x790], xmm0
movss xmm0, dword [0x1800662f0]
mov rcx, qword [rax + 0x4b28]
movss dword [rbp + 0x794], xmm1
movss dword [rbp + 0x798], xmm0
movaps xmmword [rsp + 0x1100], xmm6
mov rcx, qword [rcx]
mov dword [rbp + 0x79c], 0x3f800000
call fcn.180007d00
movss xmm2, dword [0x1800ad550]
lea rcx, [rbp + 0x790]
subss xmm2, dword [0x18005dd90]
movss xmm1, dword [0x1800ad554]
mov r10, rax
movss dword [rsp + 0x34], xmm1
movss dword [rsp + 0x3c], xmm1
movaps xmm0, xmm2
movss dword [rsp + 0x38], xmm2
addss xmm0, dword [0x18005ddac]
movss dword [rsp + 0x30], xmm0
call fcn.180003f10
movss xmm6, dword [0x18005dd1c]
lea rdx, [rsp + 0x38]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rsp + 0x30]
mov rcx, r10
mov ebx, eax
call fcn.1800290a0
mov rcx, qword [0x1800ad0d0]
lea r8, str.Foreground
mov rdx, qword [rcx + 0x4b28]
mov rcx, qword [rdx]
mov edx, 1
call fcn.180007d00
movss xmm1, dword [0x1800ad554]
lea r8, [rsp + 0x30]
subss xmm1, dword [0x18005dd90]
movss xmm2, dword [0x1800ad550]
lea rdx, [rsp + 0x38]
mov r9d, ebx
movss dword [rsp + 0x30], xmm2
mov rcx, rax
movss dword [rsp + 0x38], xmm2
movss dword [rsp + 0x20], xmm6
movaps xmm0, xmm1
movss dword [rsp + 0x3c], xmm1
addss xmm0, dword [0x18005ddac]
movss dword [rsp + 0x34], xmm0
call fcn.1800290a0
movaps xmm6, xmmword [rsp + 0x1100]
cmp byte [0x1800ad0ca], 0
je 0x18004f453
mov rax, qword [0x1800ad0d0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4b28]
mov rcx, qword [rcx]
call fcn.180007d00
movss xmm0, dword [0x1800662f8]
lea rcx, [rbp + 0x790]
movss xmm1, dword [0x1800662fc]
mov rbx, rax
movss dword [rbp + 0x790], xmm0
movss xmm0, dword [0x180066300]
movss dword [rbp + 0x798], xmm0
movss dword [rbp + 0x794], xmm1
mov dword [rbp + 0x79c], 0x3f800000
call fcn.180003f10
movd xmm2, dword [0x1800662dc]
mov edi, eax
movss xmm0, dword [0x1800ad550]
movss xmm1, dword [0x1800ad554]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
cvtdq2ps xmm2, xmm2
test eax, 0xff000000
je 0x18004f453
movss xmm0, dword [0x18005dcd4]
comiss xmm0, xmm2
ja 0x18004f453
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x167
movss xmm0, dword [0x18005dd88]
lea rdx, [rsp + 0x30]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rbx
call fcn.180028760
mov r8d, dword [rbx + 0x50]
mov r9d, edi
mov rdx, qword [rbx + 0x58]
mov rcx, rbx
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
call fcn.180026da0
mov dword [rbx + 0x50], 0
mov rax, qword [0x1800ad540]
sub rax, qword [0x1800ad538]
sar rax, 3
test rax, rax
je 0x18004fa4e
mov qword [rsp + 0x1148], rsi
mov qword [rsp + 0x1128], r12
mov qword [rsp + 0x1120], r13
xor r13d, r13d
mov qword [rsp + 0x1118], r14
xor r12d, r12d
mov qword [rsp + 0x1110], r15
nop dword [rax]
mov rcx, qword [0x1800ad280]
test rcx, rcx
je 0x18004fa01
mov rax, qword [0x1800ad1d0]
call rax
mov r8, qword [0x1800ad218]
xor edx, edx
mov rcx, rax
call r8
test rax, rax
je 0x18004f51e
mov rdx, qword [0x1800ad178]
mov rcx, rax
call rdx
mov rdi, rax
test rax, rax
je 0x18004f51e
mov rdx, qword [0x1800ad150]
lea rcx, str.PlayerMovement
mov rbx, qword [0x1800ad1b0]
call rdx
mov rdx, rax
mov rcx, rdi
call rbx
test rax, rax
je 0x18004f51e
cmp byte [0x1800ad188], 0
mov rcx, rax
je 0x18004f516
mov r8b, 1
jmp 0x18004f519
xor r8d, r8d
call fcn.1800504f0
mov ecx, dword [0x1800662e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18004f5bd
mov rax, qword [0x1800ad1d0]
mov rcx, qword [0x1800ad280]
call rax
mov r8, qword [0x1800ad218]
xor edx, edx
mov rcx, rax
call r8
test rax, rax
je 0x18004f5bd
mov rdx, qword [0x1800ad178]
mov rcx, rax
call rdx
mov rdi, rax
test rax, rax
je 0x18004f5bd
mov rdx, qword [0x1800ad150]
lea rcx, str.PlayerMovement
mov rbx, qword [0x1800ad1b0]
call rdx
mov rdx, rax
mov rcx, rdi
call rbx
mov rbx, rax
test rax, rax
je 0x18004f5bd
mov r9, qword [0x1800ad108]
lea rdx, str.ChangeNoClip
mov rcx, qword [rax]
mov r8d, 0xffffffff
call r9
test rax, rax
je 0x18004f5bd
mov rax, qword [rax]
test rax, rax
je 0x18004f5bd
mov rcx, rbx
call rax
call fcn.18004aec0
call fcn.18004b420
cmp byte [0x1800ad0c9], 0
je 0x18004f5d5
call fcn.18004b980
mov rax, qword [0x1800ad538]
mov rdi, qword [r12 + rax]
test rdi, rdi
je 0x18004fa01
cmp rdi, qword [0x1800ad280]
je 0x18004fa01
mov rax, qword [0x1800ad150]
lea rcx, str.ClientPlayer
mov rbx, qword [0x1800ad1b0]
call rax
mov rdx, rax
mov rcx, rdi
call rbx
mov rsi, rax
test rax, rax
je 0x18004fa01
mov rcx, qword [0x1800ad538]
mov rdx, qword [0x1800ad150]
mov rdi, qword [0x1800ad1b0]
mov rbx, qword [r12 + rcx]
lea rcx, str.PlayerState
call rdx
mov rdx, rax
mov rcx, rbx
call rdi
mov rbx, rax
test rax, rax
je 0x18004fa01
mov r8, qword [0x1800ad0f8]
lea rdx, str.JHEIDIGEOCM
mov rcx, qword [rsi]
call r8
test rax, rax
je 0x18004f67e
movsxd rax, dword [rax + 0x18]
test eax, eax
js 0x18004f6b3
movzx eax, byte [rax + rsi]
jmp 0x18004f6ab
mov rax, qword [0x1800ad110]
lea rdx, str.JHEIDIGEOCM
mov rcx, qword [rsi]
call rax
test rax, rax
je 0x18004f6a9
mov rax, qword [rax + 0x10]
test rax, rax
je 0x18004f6a9
mov rax, qword [rax]
mov rcx, rsi
call rax
jmp 0x18004f6ab
xor al, al
test al, al
jne 0x18004fa01
mov rax, qword [0x1800ad0f8]
lea rdx, str.bones
mov rcx, qword [rsi]
call rax
test rax, rax
je 0x18004f6dd
movsxd rax, dword [rax + 0x18]
test eax, eax
js 0x18004fa01
mov rax, qword [rax + rsi]
jmp 0x18004f70a
mov rax, qword [0x1800ad110]
lea rdx, str.bones
mov rcx, qword [rsi]
call rax
test rax, rax
je 0x18004f708
mov rax, qword [rax + 0x10]
test rax, rax
je 0x18004f708
mov rax, qword [rax]
mov rcx, rsi
call rax
jmp 0x18004f70a
xor eax, eax
test rax, rax
je 0x18004fa01
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x18004fa01
mov rax, qword [0x1800ad0f8]
lea rdx, str.FMPAELOCION
mov rcx, qword [rbx]
call rax
test rax, rax
je 0x18004f746
movsxd rax, dword [rax + 0x18]
test eax, eax
js 0x18004f775
lea rdx, [rbx + rax]
jmp 0x18004f799
mov rax, qword [0x1800ad110]
lea rdx, str.FMPAELOCION
mov rcx, qword [rbx]
call rax
test rax, rax
je 0x18004f775
mov rax, qword [rax + 0x10]
test rax, rax
je 0x18004f775
mov rdx, rbx
lea rcx, [rbp + 0x7c0]
call qword [rax]
jmp 0x18004f7ab
xorps xmm0, xmm0
lea rcx, [rbp - 0x7c]
xor eax, eax
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, 0x800
mov dword [rbp - 0x80], eax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
mov r8d, 0x818
lea rcx, [rbp + 0x7c0]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x1800ad0f8]
lea rdx, str.KFPCBKIFBJI
mov rcx, qword [rbx]
call rax
test rax, rax
je 0x18004f7d1
movsxd rax, dword [rax + 0x18]
test eax, eax
js 0x18004f7ff
mov r15d, dword [rax + rbx]
jmp 0x18004f802
mov rax, qword [0x1800ad110]
lea rdx, str.KFPCBKIFBJI
mov rcx, qword [rbx]
call rax
test rax, rax
je 0x18004f7ff
mov rax, qword [rax + 0x10]
test rax, rax
je 0x18004f7ff
mov rax, qword [rax]
mov rcx, rbx
call rax
mov r15d, eax
jmp 0x18004f802
xor r15d, r15d
cmp byte [0x1800ad0cf], 0
je 0x18004f810
call fcn.18004bb40
cmp byte [0x1800ad0ce], 0
je 0x18004f829
mov rcx, qword [0x1800ad538]
mov rcx, qword [r12 + rcx]
call fcn.18004bde0
cmp byte [0x1800ad0cd], 0
je 0x18004f9e5
mov r14, qword [0x1800ad3f8]
mov rbx, qword [0x1800ad3f0]
cmp rbx, r14
je 0x18004f9e5
nop dword [rax]
mov eax, dword [rbx]
mov rcx, qword [rsi + rax*8 + 0x20]
test rcx, rcx
je 0x18004f9d8
mov eax, dword [rbx + 4]
mov rdi, qword [rsi + rax*8 + 0x20]
test rdi, rdi
je 0x18004f9d8
lea rdx, [rbp + 0x7a0]
mov qword [rbp + 0x7a4], 0
mov dword [rbp + 0x7a0], 0
call qword [0x1800ad228]
lea rdx, [rbp + 0x7b0]
mov qword [rbp + 0x7b4], 0
mov rcx, rdi
mov dword [rbp + 0x7b0], 0
call qword [0x1800ad228]
movsd xmm0, qword [rbp + 0x7a0]
lea rdx, [rsp + 0x30]
mov eax, dword [rbp + 0x7a8]
lea rcx, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x68], eax
call fcn.18004a910
test al, al
je 0x18004f9d8
movsd xmm0, qword [rbp + 0x7b0]
lea rdx, [rsp + 0x38]
mov eax, dword [rbp + 0x7b8]
lea rcx, [rbp + 0x790]
movsd qword [rbp + 0x790], xmm0
mov dword [rbp + 0x798], eax
call fcn.18004a910
test al, al
je 0x18004f9d8
mov rax, qword [0x1800ad0d0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x4b28]
mov rcx, qword [rcx]
call fcn.180007d00
movss xmm0, dword [0x1800662d0]
lea rcx, [rsp + 0x50]
movss xmm1, dword [0x1800662d4]
mov r10, rax
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x1800662d8]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x54], xmm1
movss xmm1, dword [rsp + 0x38]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rsp + 0x30]
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x48], xmm1
mov dword [rsp + 0x5c], 0x3f800000
call fcn.180003f10
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea rdx, [rsp + 0x48]
mov rcx, r10
lea r8, [rsp + 0x40]
call fcn.1800290a0
add rbx, 8
cmp rbx, r14
jne 0x18004f850
cmp byte [0x1800ad0cb], 0
je 0x18004fa01
mov rcx, qword [0x1800ad538]
mov edx, r15d
mov rcx, qword [r12 + rcx]
call fcn.18004c090
mov rcx, qword [0x1800ad540]
inc r13d
sub rcx, qword [0x1800ad538]
add r12, 8
sar rcx, 3
movsxd rax, r13d
cmp rax, rcx
jb 0x18004f4a0
mov r15, qword [rsp + 0x1110]
mov r14, qword [rsp + 0x1118]
mov r13, qword [rsp + 0x1120]
mov r12, qword [rsp + 0x1128]
mov rsi, qword [rsp + 0x1148]
mov rdi, qword [rsp + 0x1150]
mov rbx, qword [rsp + 0x1140]
movaps xmm9, xmmword [rsp + 0x10f0]
mov rcx, qword [rbp + 0xfe0]
xor rcx, rsp
call fcn.1800531f0
add rsp, 0x1130
pop rbp
ret