Function at 0x180081360
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x70
mov esi, ecx
call qword [0x1803418a8]
test rax, rax
je 0x180081380
movzx eax, byte [rax + 0x189]
add rsp, 0x70
pop rsi
ret
mov qword [rsp + 0x80], rbx
movabs rax, 0x50fac3a3e030a6e1
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rdi
mov edi, 3
mov qword [rsp + 0x58], r12
xor r12d, r12d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x88], r12
mov qword [0x18034fb80], rax
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x88], esi
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], r15
mov qword [0x1802da5c8], rax
movaps xmmword [rsp + 0x30], xmm6
mov dword [0x1802da500], r12d
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov qword [rsp + 0x88], r12
mov ebx, dword [rax]
movabs rax, 0xb721981b2b939e07
mov qword [0x18034fb80], rax
mov dword [rsp + 0x88], ebx
mov rax, qword [rsp + 0x88]
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], r12d
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov ecx, esi
mov r15d, dword [rax]
call fcn.180081820
mov edx, dword [rsp + 0x88]
mov ecx, esi
movzx r14d, al
call fcn.180081750
mov qword [rsp + 0x88], r12
movzx ebp, al
movabs rax, 0x5a47b3b5e63e94c6
mov dword [rsp + 0x88], ebx
mov rcx, qword [rsp + 0x88]
mov qword [0x1802da5c8], rcx
mov dword [0x1802da500], r12d
mov qword [0x18034fb80], rax
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
imul ecx, esi, 0x35e
mov eax, dword [rax]
mov dword [rsp + 0x88], eax
mov rax, qword [0x18034fb78]
inc ecx
movsxd rdx, ecx
mov rcx, qword [rax + 0x38]
mov eax, dword [rcx + rdx*8 + 0x25548]
mov r8d, dword [rcx + rdx*8 + 0x25530]
mov r13d, dword [rcx + rdx*8 + 0x255f8]
mov r12d, dword [rcx + rdx*8 + 0x25600]
movss xmm6, dword [rcx + rdx*8 + 0x255e8]
mov dword [rsp + 0x90], eax
mov eax, dword [rcx + rdx*8 + 0x256d8]
xor ecx, ecx
sub eax, r8d
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
movabs rax, 0x9f47b058362c84b5
mov qword [0x18034fb80], rax
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x28]
mov qword [0x1802da5c8], rax
mov dword [rsp + 0x98], r8d
mov dword [0x1802da500], ecx
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov esi, dword [rax]
movabs rax, 0xd24d37cc275948cc
mov qword [0x18034fb80], rax
lea rax, str.mp_m_freemode_01
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], 0
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov ebx, dword [rax]
movabs rax, 0xd24d37cc275948cc
mov qword [0x18034fb80], rax
lea rax, str.mp_f_freemode_01
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], 0
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
cmp esi, ebx
je 0x1800815c6
cmp esi, dword [rax]
mov ecx, 0xd
cmovne edi, ecx
test r15d, r15d
lea ecx, [rdi + 1]
mov r15, qword [rsp + 0x40]
cmove ecx, edi
mov rdi, qword [rsp + 0x60]
test r14b, r14b
mov r14, qword [rsp + 0x48]
je 0x1800815e6
add ecx, 5
test bpl, bpl
mov rbp, qword [rsp + 0x68]
je 0x1800815f3
add ecx, 5
cmp dword [rsp + 0x88], 0x19
lea eax, [rcx + 1]
cmovge eax, ecx
cmp dword [rsp + 0x90], 0x378
lea ecx, [rax + 3]
cmovle ecx, eax
cmp dword [rsp + 0x98], 0x4c4b400
lea eax, [rcx + 2]
cmovle eax, ecx
cmp dword [rsp + 0x20], 0x4c4b400
lea ecx, [rax + 3]
cmovle ecx, eax
comiss xmm6, dword [0x180269fa8]
movaps xmm6, xmmword [rsp + 0x30]
jbe 0x18008165a
cmp r13d, 0x2710
lea eax, [rcx + 1]
cmovle eax, ecx
lea ecx, [rax + 1]
cmp r12d, 0x2710
jle 0x18008165a
inc ecx
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
cmp ecx, 3
jle 0x18008173a
cmp byte [0x180329f63], 0
je 0x18008168b
cmp byte [0x1802c2393], 0
je 0x18008168b
lea rcx, str.RModder_in_your_Lobby__You_want_change_the_session__Press_bY_yyes_Ror_bN_yno
call fcn.1800b2e90
cmp byte [0x1802c23e0], 0
mov ebx, 0x8000
je 0x180081700
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x180081700
mov rcx, qword [0x18034fb78]
xor edx, edx
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x35f8], edx
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x4348], edx
mov edx, 1
mov rcx, qword [rcx + 0x30]
add rcx, 0x35e8
call fcn.1800ab960
mov rax, qword [0x18034fb78]
xor edx, edx
mov rcx, qword [rax + 0x30]
add rcx, 0x35e8
call fcn.1800ab960
lea rcx, str.gYour_session_will_be_switched
call fcn.1800b2e90
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x18008172a
lea rcx, str.gYou_stay_in_the_session
mov byte [0x1802c2393], 0
mov byte [0x1802c23e0], 0
call fcn.1800b2e90
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rsi
ret
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rsi
ret