Function at 0x1800aa260
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xe0
mov rax, qword [0x180121040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r9
mov qword [rbp + 0x1f], r9
mov rsi, qword [rbp + 0x7f]
mov qword [rbp + 0x27], rsi
xor r12d, r12d
mov rcx, r9
mov rbx, qword [r9 + 0x18]
cmp rbx, 0xf
jbe 0x1800aa2b0
mov rcx, qword [r9]
mov qword [rsp + 0x20], reloc.WS2_32.dll_inet_addr
lea r9, str.AthenaLobby
xor r8d, r8d
mov rdx, qword [r14 + 0x10]
call fcn.18001a520
movzx edi, byte [0x18012432a]
cmp rax, 0xffffffffffffffff
je 0x1800aa323
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1800aa2e6
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 0xc
lea r9, str.OnBeginIntro
xor r8d, r8d
mov rdx, qword [rsi + 0x10]
call fcn.18001a520
cmp rax, 0xffffffffffffffff
je 0x1800aa323
test dil, dil
je 0x1800aa323
movsd xmm0, qword [0x18010a860]
comisd xmm0, xmmword [0x180122c90]
ja 0x1800aa3fc
mov rcx, r14
cmp rbx, 0xf
jbe 0x1800aa32f
mov rcx, qword [r14]
mov qword [rsp + 0x20], reloc.WS2_32.dll_inet_addr
lea r9, str.AthenaLobby
xor r8d, r8d
mov rdx, qword [r14 + 0x10]
call fcn.18001a520
cmp rax, 0xffffffffffffffff
je 0x1800aa38e
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1800aa35e
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 9
lea r9, str.OnSuccess
xor r8d, r8d
mov rdx, qword [rsi + 0x10]
call fcn.18001a520
cmp rax, 0xffffffffffffffff
je 0x1800aa38e
test dil, dil
je 0x1800aa38e
cmp dword [0x180122c98], 0xf
jl 0x1800aa3fc
mov rcx, r14
cmp rbx, 0xf
jbe 0x1800aa39a
mov rcx, qword [r14]
mov qword [rsp + 0x20], reloc.WS2_32.dll_inet_addr
lea r9, str.AthenaLobby
xor r8d, r8d
mov rdx, qword [r14 + 0x10]
call fcn.18001a520
cmp rax, 0xffffffffffffffff
je 0x1800aa8b5
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1800aa3cd
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 0x2b
lea r9, str.DynamicHandleLoadingScreenVisibilityChanged
xor r8d, r8d
mov rdx, qword [rsi + 0x10]
call fcn.18001a520
cmp rax, 0xffffffffffffffff
je 0x1800aa8b5
test dil, dil
je 0x1800aa8b5
cmp byte [0x180124328], 0
jne 0x1800aa6cc
mov byte [0x180124328], 1
mov cl, 1
call fcn.180005ef0
call fcn.18009d430
mov r8, qword [0x180122c88]
test r8, r8
je 0x1800aa45d
cmp qword [0x180123628], 0
je 0x1800aa43b
mov rax, qword [0x1801235c8]
jmp 0x1800aa445
movsxd rax, dword [0x180122c34]
add rax, r8
mov rbx, qword [rax]
test rbx, rbx
je 0x1800aa45d
movsxd rax, dword [0x180122c2c]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800aa460
mov rbx, r12
lea rdx, [0x1801214a0]
cmp qword [0x1801214b8], 7
cmova rdx, qword [0x1801214a0]
cmp word [rdx], 0
je 0x1800aa493
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800aa484
inc rcx
jmp 0x1800aa496
mov rcx, r12
mov dword [rbp - 0x69], ecx
mov dword [rbp - 0x65], ecx
mov rax, r12
test ecx, ecx
cmovne rax, rdx
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x71]
movdqa xmmword [rbp - 0x41], xmm0
mov rdx, qword [0x1801238e0]
test rdx, rdx
jne 0x1800aa50c
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
lea r8d, [rdx + 3]
lea rdx, [0x180108b2c]
lea rcx, [rbp - 0x61]
call fcn.18001ae00
nop
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.180097d90
mov qword [0x1801238e0], rax
lea rcx, [rbp - 0x61]
call fcn.18001ce20
mov r8, qword [0x180122c88]
mov rdx, qword [0x1801238e0]
test rbx, rbx
je 0x1800aa531
test rdx, rdx
je 0x1800aa531
lea r8, [rbp - 0x41]
mov rcx, rbx
call qword [0x1801235f0]
mov r8, qword [0x180122c88]
mov rdx, qword [0x1801238e0]
test r8, r8
je 0x1800aa56b
cmp qword [0x180123628], 0
je 0x1800aa549
mov rax, qword [0x1801235c8]
jmp 0x1800aa553
movsxd rax, dword [0x180122c34]
add rax, r8
mov rbx, qword [rax]
test rbx, rbx
je 0x1800aa56b
movsxd rax, dword [0x180122c2c]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800aa56e
mov rbx, r12
mov dword [rbp - 0x69], reloc.WS2_32.dll_socket
mov dword [rbp - 0x65], reloc.WS2_32.dll_socket
lea rax, str._nWelcome_to_CraniumV1_
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x71]
movdqa xmmword [rbp - 0x71], xmm0
test rdx, rdx
jne 0x1800aa5dc
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
lea r8d, [rdx + 3]
lea rdx, [0x180108b2c]
lea rcx, [rbp - 0x61]
call fcn.18001ae00
nop
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.180097d90
mov qword [0x1801238e0], rax
lea rcx, [rbp - 0x61]
call fcn.18001ce20
mov rdx, qword [0x1801238e0]
test rbx, rbx
je 0x1800aa5f3
test rdx, rdx
je 0x1800aa5f3
lea r8, [rbp - 0x71]
mov rcx, rbx
call qword [0x1801235f0]
call fcn.18001f7a0
call fcn.1800ab1c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r12
mov r8d, socket
lea rdx, str.Welcome_to_CraniumV1_
lea rcx, [rbp - 0x61]
call fcn.18001ae00
lea rcx, [rbp - 0x61]
call fcn.18008eff0
lea rcx, [rbp + 0xf]
call fcn.1800be810
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.1800986a0
nop
lea rcx, str.Current_Engine_Game_Version:_
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], 0x1f
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800aa664
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x71], rcx
mov qword [rbp - 0x69], rax
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rbp - 0x59], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x71], 1
lea rax, [rbp - 0x61]
mov qword [rbp - 0x69], rax
movaps xmm0, xmmword [rbp - 0x71]
movdqa xmmword [rbp - 0x71], xmm0
movaps xmm1, xmmword [rbp - 0x41]
movdqa xmmword [rbp - 0x41], xmm1
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x31]
call fcn.18000d1f0
lea rcx, [rbp - 0x31]
call fcn.18008eff0
nop
lea rcx, [rbp - 0x11]
call fcn.18001ce20
xor ecx, ecx
call fcn.1800af810
call fcn.180036990
mov edx, 1
lea rcx, [rbp - 0x31]
call fcn.1800ab7a0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x11]
call fcn.1800ab370
nop
mov r9, rbx
mov r8, rax
lea rcx, [rbp - 0x61]
call fcn.18002abe0
nop
lea rcx, [rbp - 0x11]
call fcn.18001ce90
nop
lea rcx, [rbp - 0x31]
call fcn.18001ce90
mov rdx, qword [0x1801241d8]
cmp rdx, 7
jbe 0x1800aa75e
mov rcx, qword [0x1801241c0]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800aa759
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800aa7f1
mov rcx, r8
call fcn.1800cc948
movups xmm0, xmmword [rbp - 0x61]
movaps xmmword [0x1801241c0], xmm0
movups xmm1, xmmword [rbp - 0x51]
movaps xmmword [0x1801241d0], xmm1
movdqa xmm0, xmmword [0x18010abf0]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r12w
lea rcx, [rbp - 0x61]
call fcn.18001ce90
mov rax, qword [0x180124240]
cmp rax, qword [0x180124248]
je 0x1800aa7a6
mov qword [0x180124248], rax
call fcn.1800c2580
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
mov r8d, 0x11
lea rdx, str.GameplayAbilities
lea rcx, [rbp - 0x61]
call fcn.18001ae00
nop
test rbx, rbx
je 0x1800aa7f8
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.18004d020
test eax, eax
jle 0x1800aa7f8
movsxd rdi, eax
add rdi, rbx
jmp 0x1800aa7fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, r12
lea rcx, [rbp - 0x61]
call fcn.18001ce20
mov rbx, qword [rdi]
movsxd rax, dword [rdi + 8]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800aa8b0
nop dword [rax + rax]
cmp dword [0x180122c98], 5
jge 0x1800aa874
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1800aa836
mov rax, r12
jmp 0x1800aa841
movsxd rax, dword [0x1801213bc]
mov rax, qword [rax + rcx]
mov qword [rbp - 0x71], rax
mov rdx, qword [0x180124248]
cmp rdx, qword [0x180124250]
je 0x1800aa862
mov qword [rdx], rax
add qword [0x180124248], 8
jmp 0x1800aa8a3
lea r8, [rbp - 0x71]
lea rcx, [0x180124240]
call fcn.18000d910
jmp 0x1800aa8a3
mov rdx, qword [0x180124248]
cmp rdx, qword [0x180124250]
je 0x1800aa894
mov rax, qword [rbx]
mov qword [rdx], rax
add qword [0x180124248], 8
jmp 0x1800aa8a3
mov r8, rbx
lea rcx, [0x180124240]
call fcn.18000d910
add rbx, 8
cmp rbx, rdi
jne 0x1800aa820
call fcn.1800335e0
mov ecx, WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800aa8fb
cmp byte [0x18012432d], 0
jne 0x1800aa8fb
cmp byte [0x18012432a], 0
je 0x1800aa8fb
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], 7
mov word [rbp - 0x61], r12w
xor edx, edx
lea rcx, [rbp - 0x61]
call fcn.180034f30
nop
mov rcx, r14
call fcn.18001ce20
nop
mov rcx, rsi
call fcn.18001ce20
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800cc550
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret