Function at 0x180024410
Capabilities:
Log keystrokes via polling

Disassembly:
mov byte [rsp + 8], cl
push rbx
push rsi
push rdi
sub rsp, 0x90
xor esi, esi
movabs rbx, 0xd80958fc74e988a6
mov dword [0x18014e878], esi
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rbx
call fcn.18003c460
mov qword [rsp + 0xb8], rsi
mov ecx, dword [rax]
movabs rax, 0x3a87e44bb9a01d54
mov qword [0x1801b3ad0], rax
mov dword [rsp + 0xb8], ecx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xb8], rsi
mov qword [0x18014e958], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e960], rax
mov dword [0x18014e888], esi
mov dword [0x18014e878], 3
call fcn.18003c460
mov dword [0x18014e878], esi
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rbx
call fcn.18003c460
mov ecx, 0xa0
mov ebx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
cmp byte [0x1801b0228], sil
mov byte [0x1801af9ef], al
je 0x180024dff
cmp dword [rsp + 0xb0], 0x5fc3c11
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x78], r14
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x70], r15
jne 0x1800249cc
movabs rbp, 0x6c4d0409ba1a2bc2
movabs rdi, 0xae3cbe5bf394c9c9
movabs r15, 0x35b9e0803292b641
movabs r14, 0xc0296a2edf545e92
movabs r12, 0x963d27a58df860ac
movabs r13, 0x98a4eb5d89a0c952
test al, al
jne 0x1800247a4
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
lea rax, [0x1801b0208]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rbp
mov dword [0x18014e878], 2
call fcn.18003c460
cmp dword [rax], esi
je 0x180024797
lea rax, [0x1801b0224]
mov dword [0x18014e888], esi
mov qword [0x18014e950], rax
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 1
call fcn.18003c460
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x55e61282
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r15
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x180024797
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x55e61282
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r14
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x180024797
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x55e61282
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r12
mov dword [0x18014e878], 1
call fcn.18003c460
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x55e61282
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r13
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x180024797
movss xmm0, dword [0x1801b0218]
mov edx, 0x55e61282
movss xmm3, dword [0x1801b0210]
movss xmm2, dword [0x1801b0208]
mov dword [rsp + 0x38], 1
movss dword [rsp + 0x20], xmm0
call fcn.18002f4e0
mov qword [rsp + 0xb8], rsi
movabs rcx, 0x428ca6dbd1094446
mov dword [rsp + 0xb8], eax
mov dword [0x1801b0224], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rsi
mov qword [0x18014e950], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rcx
mov dword [0x18014e878], 2
call fcn.18003c460
cmp byte [0x1801af9ef], sil
je 0x1800249d8
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
lea rax, [0x1801b01f0]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rbp
mov dword [0x18014e878], 2
call fcn.18003c460
cmp dword [rax], esi
je 0x1800249d8
lea rax, [0x1801b0220]
mov dword [0x18014e888], esi
mov qword [0x18014e950], rax
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 1
call fcn.18003c460
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x89b85806
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r15
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x1800249d8
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x89b85806
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r14
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x1800249d8
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x89b85806
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r12
mov dword [0x18014e878], 1
call fcn.18003c460
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], 0x89b85806
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r13
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x1800249d8
movss xmm0, dword [0x1801b0200]
mov edx, 0x89b85806
movss xmm3, dword [0x1801b01f8]
movss xmm2, dword [0x1801b01f0]
mov dword [rsp + 0x38], 1
movss dword [rsp + 0x20], xmm0
call fcn.18002f4e0
mov qword [rsp + 0xb8], rsi
movabs rcx, 0x428ca6dbd1094446
mov dword [rsp + 0xb8], eax
mov dword [0x1801b0220], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rsi
mov qword [0x18014e950], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rcx
mov dword [0x18014e878], 2
call fcn.18003c460
jmp 0x1800249d8
lea rcx, str.Use_LeftShift_to_switch_Portal_gun_and_Equip_boldpSniper_rRifle
call fcn.18002aee0
mov qword [rsp + 0xb8], rsi
movabs rdi, 0x17ffc1b2ba35a494
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov eax, dword [0x1801b0224]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 2
call fcn.18003c460
movss xmm6, dword [0x180103d88]
movabs rbp, 0x7239b21a38f536ba
mov r15, qword [rsp + 0x70]
movabs r14, 0x3fef770d40960d5a
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
cmp dword [rax], esi
je 0x180024b74
mov eax, dword [0x1801b0220]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rbp
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x180024b68
mov eax, dword [0x1801b0220]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r14
mov qword [0x18014e958], rsi
mov dword [0x18014e878], 2
call fcn.18003c460
mov dword [rsp + 0x38], esi
mov ecx, ebx
mov dword [rsp + 0x30], 1
movups xmm2, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movaps xmm1, xmm2
movsd qword [rsp + 0x50], xmm0
movss xmm3, dword [rsp + 0x50]
addss xmm1, xmm6
movups xmmword [0x1801b01f0], xmm2
addss xmm3, xmm6
shufps xmm2, xmm2, 0xaa
movsd qword [0x1801b0200], xmm0
call fcn.18002f690
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x1801b1368]
mov dword [0x1801b1360], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
jmp 0x180024b74
lea rcx, str.Spawn_in_PORTAL_o2
call fcn.18002aee0
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov eax, dword [0x1801b0220]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 2
call fcn.18003c460
cmp dword [rax], esi
je 0x180024cd5
mov eax, dword [0x1801b0224]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rbp
mov dword [0x18014e878], 1
call fcn.18003c460
cmp dword [rax], esi
je 0x180024cc9
mov eax, dword [0x1801b0224]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], r14
mov qword [0x18014e958], rsi
mov dword [0x18014e878], 2
call fcn.18003c460
mov dword [rsp + 0x38], esi
mov ecx, ebx
mov dword [rsp + 0x30], 1
movups xmm2, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movaps xmm1, xmm2
movsd qword [rsp + 0x50], xmm0
movss xmm3, dword [rsp + 0x50]
addss xmm1, xmm6
movups xmmword [0x1801b0208], xmm2
addss xmm3, xmm6
shufps xmm2, xmm2, 0xaa
movsd qword [0x1801b0218], xmm0
call fcn.18002f690
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x1801b1368]
mov dword [0x1801b1360], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
jmp 0x180024cd5
lea rcx, str.Spawn_in_PORTAL_b1
call fcn.18002aee0
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov eax, dword [0x1801b0220]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 2
call fcn.18003c460
movaps xmm6, xmmword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc0]
cmp dword [rax], esi
jne 0x180024de2
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e950], rax
mov eax, dword [0x1801b0224]
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xb8]
mov qword [0x18014e958], rax
mov dword [0x18014e888], esi
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 2
call fcn.18003c460
cmp dword [rax], esi
jne 0x180024de2
cmp byte [0x18014de21], sil
jne 0x180024de2
cmp byte [0x1801af9ef], sil
jne 0x180024dd6
lea rcx, str.PORTAL_b1
call fcn.18002aee0
cmp byte [0x1801af9ef], sil
je 0x180024de2
lea rcx, str.PORTAL_o2
call fcn.18002aee0
mov ecx, ebx
call fcn.180016b10
test al, al
je 0x180024e5d
mov byte [0x18014de21], sil
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
lea rax, [0x1801b0224]
mov dword [0x18014e888], esi
movabs rdi, 0xae3cbe5bf394c9c9
mov qword [0x18014e950], rax
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 1
call fcn.18003c460
lea rax, [0x1801b0220]
mov dword [0x18014e888], esi
mov qword [0x18014e950], rax
mov qword [0x1801b3ad0], rdi
mov dword [0x18014e878], 1
call fcn.18003c460
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret