Function at 0x140011270
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1400b2048]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov ecx, dword [0x1400b2074]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400112c7
cmp byte [0x1400b2078], 0
sete al
mov byte [0x1400b2078], al
jmp 0x1400112ce
movzx eax, byte [0x1400b2078]
test al, al
je 0x140011b83
mov rcx, qword [0x1400b2e68]
mov eax, dword [rcx + 0x4778]
or eax, 2
mov dword [rcx + 0x4778], eax
mov dword [rcx + 0x4798], 0x43c80000
mov dword [rcx + 0x479c], 0x43c80000
mov dword [rcx + 0x4780], 2
movss xmm0, dword [0x1400b207c]
or eax, 0x40
mov dword [rcx + 0x4778], eax
movss dword [rcx + 0x47d8], xmm0
mov eax, 0x38
mov r8d, 0x3c
cmp byte [0x1400b206e], 0
cmovne r8d, eax
xor edx, edx
lea rcx, str.Lobby
call fcn.1400349a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rcx, [rbp - 0x40]
call fcn.140017180
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14000e090
nop
movaps xmm1, xmmword [0x1400a6510]
movaps xmm2, xmmword [0x1400a6540]
movaps xmm3, xmmword [0x1400a6530]
movaps xmm0, xmmword [0x1400a6520]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm3
xorps xmm7, xmm7
mov qword [rsp + 0x30], 0
mov rbx, qword [0x1400b2e68]
mov rax, qword [rbx + 0x3ea0]
movsxd r8, dword [rax + 0xe8]
mov rax, qword [rax + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.PlayerTable
call fcn.14002a250
mov edi, eax
cmp dword [rbx + 0x3ee8], eax
jne 0x1400113e8
lea r8, str.PlayerTable
mov edx, 0xb
mov ecx, eax
call fcn.140041b00
movss dword [rsp + 0x28], xmm7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c1
mov r8d, 4
mov edx, edi
lea rcx, str.PlayerTable
call fcn.1400556f0
test al, al
je 0x140011ad0
xor r13d, r13d
lea esi, [r13 + 8]
lea r14d, [r13 - 1]
lea r12d, [r13 + 1]
cmp byte [0x1400b2fc9], r13b
je 0x140011577
lea r15, str.Party_ID
mov rax, qword [0x1400b2e68]
mov rdi, qword [rax + 0x4ae8]
movsx rcx, byte [rdi + 0x1fb]
cmp ecx, dword [rdi + 0x74]
jge 0x140011577
imul rbx, rcx, 0x68
add rbx, qword [rdi + 0x18]
inc cl
mov byte [rdi + 0x1fb], cl
lea r8d, [r13 + 0x10]
mov rdx, rbx
mov rcx, rdi
call fcn.1400563a0
mov dword [rbx + 0x30], r13d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], r13d
cmp byte [rdi + 0x213], r13b
je 0x1400114d7
comiss xmm7, dword [rbx + 0x10]
jbe 0x1400114a6
comiss xmm7, dword [rbx + 0x18]
jbe 0x1400114a6
test sil, al
je 0x1400114a6
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x1400114b5
test byte [rdi + 0x68], 4
jne 0x1400114b5
mov word [rbx + 0x5b], r13w
test al, 4
je 0x1400114d7
test byte [rdi + 0x68], sil
jne 0x1400114d7
mov byte [rbx + 0x56], r13b
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x65]
and al, 0xfc
or cl, al
mov byte [rbx + 0x65], cl
mov word [rbx + 0x50], r14w
add rdi, 0x190
mov eax, dword [rdi]
lea ecx, [rax - 1]
test eax, eax
cmove cx, r13w
mov word [rbx + 0x50], cx
lea r14, [0x14008e459]
sub r14d, r15d
mov eax, dword [rdi]
mov r15d, r12d
test eax, eax
cmovne r15d, eax
lea ebx, [r15 + r14]
mov edx, dword [rdi + 4]
cmp ebx, edx
jl 0x140011522
add edx, edx
cmp ebx, edx
cmovg edx, ebx
mov rcx, rdi
call fcn.140042800
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x140011549
test ecx, ecx
je 0x140011538
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001153a
mov eax, esi
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.140042800
mov dword [rdi], ebx
movsxd r8, r14d
lea eax, [r15 - 1]
movsxd rcx, eax
add rcx, qword [rdi + 8]
lea rdx, str.Party_ID
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, ebx
mov rax, qword [rdi + 8]
mov byte [rcx + rax - 1], r13b
mov r14d, 0xffffffff
cmp byte [0x1400b2079], r13b
je 0x1400116c1
lea r15, str.Level
mov rax, qword [0x1400b2e68]
mov rdi, qword [rax + 0x4ae8]
movsx rcx, byte [rdi + 0x1fb]
cmp ecx, dword [rdi + 0x74]
jge 0x1400116c1
imul rbx, rcx, 0x68
add rbx, qword [rdi + 0x18]
inc cl
mov byte [rdi + 0x1fb], cl
mov r8d, 0x10
mov rdx, rbx
mov rcx, rdi
call fcn.1400563a0
mov dword [rbx + 0x30], r13d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], r13d
cmp byte [rdi + 0x213], r13b
je 0x140011627
comiss xmm7, dword [rbx + 0x10]
jbe 0x1400115f6
comiss xmm7, dword [rbx + 0x18]
jbe 0x1400115f6
test sil, al
je 0x1400115f6
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x140011605
test byte [rdi + 0x68], 4
jne 0x140011605
mov word [rbx + 0x5b], r13w
test al, 4
je 0x140011627
test byte [rdi + 0x68], sil
jne 0x140011627
mov byte [rbx + 0x56], r13b
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x65]
and al, 0xfc
or cl, al
mov byte [rbx + 0x65], cl
mov word [rbx + 0x50], r14w
add rdi, 0x190
mov eax, dword [rdi]
lea ecx, [rax - 1]
test eax, eax
cmove cx, r13w
mov word [rbx + 0x50], cx
lea r14, [0x14008e462]
sub r14d, r15d
mov eax, dword [rdi]
mov r15d, r12d
test eax, eax
cmovne r15d, eax
lea ebx, [r15 + r14]
mov edx, dword [rdi + 4]
cmp ebx, edx
jl 0x140011672
add edx, edx
cmp ebx, edx
cmovg edx, ebx
mov rcx, rdi
call fcn.140042800
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x140011699
test ecx, ecx
je 0x140011688
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001168a
mov eax, esi
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.140042800
mov dword [rdi], ebx
movsxd r8, r14d
lea eax, [r15 - 1]
movsxd rcx, eax
add rcx, qword [rdi + 8]
lea rdx, str.Level
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, ebx
mov rax, qword [rdi + 8]
mov byte [rcx + rax - 1], r13b
cmp byte [0x1400b2081], r13b
je 0x14001180c
lea r15, str.Class
mov rax, qword [0x1400b2e68]
mov rdi, qword [rax + 0x4ae8]
movsx rcx, byte [rdi + 0x1fb]
cmp ecx, dword [rdi + 0x74]
jge 0x14001180c
imul rbx, rcx, 0x68
add rbx, qword [rdi + 0x18]
inc cl
mov byte [rdi + 0x1fb], cl
mov r8d, 0x10
mov rdx, rbx
mov rcx, rdi
call fcn.1400563a0
mov dword [rbx + 0x30], r13d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], r13d
cmp byte [rdi + 0x213], r13b
je 0x140011771
comiss xmm7, dword [rbx + 0x10]
jbe 0x140011740
comiss xmm7, dword [rbx + 0x18]
jbe 0x140011740
test sil, al
je 0x140011740
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x14001174f
test byte [rdi + 0x68], 4
jne 0x14001174f
mov word [rbx + 0x5b], r13w
test al, 4
je 0x140011771
test byte [rdi + 0x68], sil
jne 0x140011771
mov byte [rbx + 0x56], r13b
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x65]
and al, 0xfc
or cl, al
mov byte [rbx + 0x65], cl
mov word [rbx + 0x50], 0xffff
add rdi, 0x190
mov eax, dword [rdi]
lea ecx, [rax - 1]
test eax, eax
cmove cx, r13w
mov word [rbx + 0x50], cx
lea r14, [0x14008e46a]
sub r14d, r15d
mov eax, dword [rdi]
mov r15d, r12d
test eax, eax
cmovne r15d, eax
lea ebx, [r15 + r14]
mov edx, dword [rdi + 4]
cmp ebx, edx
jl 0x1400117bd
add edx, edx
cmp ebx, edx
cmovg edx, ebx
mov rcx, rdi
call fcn.140042800
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x1400117e4
test ecx, ecx
je 0x1400117d3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400117d5
mov eax, esi
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.140042800
mov dword [rdi], ebx
movsxd r8, r14d
lea eax, [r15 - 1]
movsxd rcx, eax
add rcx, qword [rdi + 8]
lea rdx, str.Class
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, ebx
mov rax, qword [rdi + 8]
mov byte [rcx + rax - 1], r13b
cmp byte [0x1400b2080], r13b
je 0x14001194e
lea r15, str.Name
mov rax, qword [0x1400b2e68]
mov rdi, qword [rax + 0x4ae8]
movsx rcx, byte [rdi + 0x1fb]
cmp ecx, dword [rdi + 0x74]
jge 0x14001194e
imul rbx, rcx, 0x68
add rbx, qword [rdi + 0x18]
inc cl
mov byte [rdi + 0x1fb], cl
mov r8d, 0x10
mov rdx, rbx
mov rcx, rdi
call fcn.1400563a0
mov dword [rbx + 0x30], r13d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], r13d
cmp byte [rdi + 0x213], r13b
je 0x1400118bc
comiss xmm7, dword [rbx + 0x10]
jbe 0x14001188b
comiss xmm7, dword [rbx + 0x18]
jbe 0x14001188b
test sil, al
je 0x14001188b
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x14001189a
test byte [rdi + 0x68], 4
jne 0x14001189a
mov word [rbx + 0x5b], r13w
test al, 4
je 0x1400118bc
test byte [rdi + 0x68], sil
jne 0x1400118bc
mov byte [rbx + 0x56], r13b
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x65]
and al, 0xfc
or cl, al
mov byte [rbx + 0x65], cl
mov word [rbx + 0x50], 0xffff
add rdi, 0x190
mov eax, dword [rdi]
lea ecx, [rax - 1]
test eax, eax
cmove cx, r13w
mov word [rbx + 0x50], cx
lea r14, [0x14008e471]
sub r14d, r15d
mov eax, dword [rdi]
test eax, eax
cmovne r12d, eax
lea ebx, [r12 + r14]
mov edx, dword [rdi + 4]
cmp ebx, edx
jl 0x140011905
add edx, edx
cmp ebx, edx
cmovg edx, ebx
mov rcx, rdi
call fcn.140042800
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x140011929
test ecx, ecx
je 0x14001191a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
mov edx, ebx
cmp esi, ebx
cmovg edx, esi
mov rcx, rdi
call fcn.140042800
mov dword [rdi], ebx
movsxd r8, r14d
lea eax, [r12 - 1]
movsxd rcx, eax
add rcx, qword [rdi + 8]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, ebx
mov rax, qword [rdi + 8]
mov byte [rcx + rax - 1], r13b
call fcn.14005a490
mov rbx, qword [rbp - 0x28]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r13b
jne 0x140011ac9
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [rbx + 0x30]
mov rdi, qword [rbx + 0x28]
cmp dword [rbx + 0x20], r13d
jne 0x1400119f8
cmp rdi, rsi
je 0x140011a66
nop word [rax + rax]
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rdi + 0x50]
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rdi + 0x60]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rdi + 0x70]
movsd qword [rbp - 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140011bc0
movaps xmm1, xmm7
xor ecx, ecx
call fcn.140058250
add rdi, 0x78
cmp rdi, rsi
jne 0x140011990
jmp 0x140011a66
cmp rdi, rsi
je 0x140011a66
nop dword [rax]
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rdi + 0x50]
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rdi + 0x60]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rdi + 0x70]
movsd qword [rbp - 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140011bc0
movaps xmm1, xmm7
xor ecx, ecx
call fcn.140058250
add rdi, 0x78
cmp rdi, rsi
jne 0x140011a00
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
je 0x140011a98
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r13b
jne 0x140011a93
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140011a93
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x140011a80
mov rbx, rax
jmp 0x140011abf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r13b
jne 0x140011abf
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r13b
je 0x140011ab0
cmp byte [rbx + 0x19], r13b
je 0x140011970
call fcn.140057980
nop
movaps xmm0, xmmword [0x1400a6520]
movups xmmword [rsp + 0x30], xmm0
lea rdx, str.Alive
lea rcx, [rsp + 0x30]
call fcn.14005dbd0
movss xmm1, dword [0x1400a63cc]
movaps xmm0, xmm7
call fcn.14003a330
movaps xmm2, xmmword [0x1400a6510]
movups xmmword [rsp + 0x30], xmm2
lea rdx, str.Dead
lea rcx, [rsp + 0x30]
call fcn.14005dbd0
movss xmm1, dword [0x1400a63cc]
movaps xmm0, xmm7
call fcn.14003a330
movaps xmm2, xmmword [0x1400a6540]
movups xmmword [rsp + 0x30], xmm2
lea rdx, str.Escaped
lea rcx, [rsp + 0x30]
call fcn.14005dbd0
movss xmm1, dword [0x1400a63cc]
movaps xmm0, xmm7
call fcn.14003a330
movaps xmm0, xmmword [0x1400a6530]
movups xmmword [rsp + 0x30], xmm0
lea rdx, str.Down
lea rcx, [rsp + 0x30]
call fcn.14005dbd0
call fcn.140036db0
nop
lea rcx, [rbp - 0x28]
call fcn.140017110
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14006cea0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm7, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret