Function at 0x180018f40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x60
movss xmm0, dword [0x1802d218c]
mov esi, dword [0x1802d1924]
movaps xmmword [rsp + 0x50], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r15d, 4
mov ebx, r15d
jne 0x180018fec
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
mov rdi, rax
test rax, rax
je 0x180018fe4
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180308250], eax
jle 0x180018fd8
lea rcx, [0x180308250]
call fcn.18008cbe8
cmp dword [0x180308250], 0xffffffff
jne 0x180018fd8
mov ecx, 0xc566d10
call fcn.18000e930
lea rcx, [0x180308250]
mov qword [0x180308108], rax
call fcn.18008cb7c
mov rax, qword [0x180308108]
movss xmm6, dword [rax + rdi]
movss dword [0x1802d218c], xmm6
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180014790
cmp byte [0x1802d2109], 0
mov rdi, rax
je 0x1800192a5
mov qword [rsp + 0x88], r14
test rax, rax
je 0x1800190e3
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rsi*8]
mov ecx, dword [r15 + rdx]
cmp dword [0x180308170], ecx
jle 0x18001906f
lea rcx, [0x180308170]
call fcn.18008cbe8
cmp dword [0x180308170], 0xffffffff
jne 0x18001906f
mov ecx, 0x754c7fa7
call fcn.18000e930
lea rcx, [0x180308170]
mov qword [0x1803087b8], rax
call fcn.18008cb7c
mov rax, qword [0x1803087b8]
mov rbp, qword [rax + rdi]
test rbp, rbp
je 0x1800190e3
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x18030845c], eax
jle 0x1800190ca
lea rcx, [0x18030845c]
call fcn.18008cbe8
cmp dword [0x18030845c], 0xffffffff
jne 0x1800190ca
mov ecx, 0xcf6c2c0b
call fcn.18000e930
lea rcx, [0x18030845c]
mov qword [0x180308428], rax
call fcn.18008cb7c
mov rax, qword [0x180308428]
mov r14, rbx
cmp dword [rax + rbp], 0x40547fde
je 0x1800191ad
jmp 0x1800190e6
mov r14, rbx
test rdi, rdi
je 0x18001929d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180308170], eax
jle 0x18001913a
lea rcx, [0x180308170]
call fcn.18008cbe8
cmp dword [0x180308170], 0xffffffff
jne 0x18001913a
mov ecx, 0x754c7fa7
call fcn.18000e930
lea rcx, [0x180308170]
mov qword [0x1803087b8], rax
call fcn.18008cb7c
mov rax, qword [0x1803087b8]
mov rdi, qword [rax + rdi]
test rdi, rdi
je 0x18001929d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x18030845c], eax
jle 0x180019199
lea rcx, [0x18030845c]
call fcn.18008cbe8
cmp dword [0x18030845c], 0xffffffff
jne 0x180019199
mov ecx, 0xcf6c2c0b
call fcn.18000e930
lea rcx, [0x18030845c]
mov qword [0x180308428], rax
call fcn.18008cb7c
mov rax, qword [0x180308428]
cmp dword [rdi + rax], 0x847b9bf0
jne 0x18001929d
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
mov rbx, rax
test rax, rax
je 0x180019224
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rsi*8]
mov ecx, dword [r14 + rdx]
cmp dword [0x1803087ac], ecx
jle 0x18001920f
lea rcx, [0x1803087ac]
call fcn.18008cbe8
cmp dword [0x1803087ac], 0xffffffff
jne 0x18001920f
mov ecx, 0x43f29029
call fcn.18000e930
lea rcx, [0x1803087ac]
mov qword [0x180308580], rax
call fcn.18008cb7c
mov rax, qword [0x180308580]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x18027cd04]
jae 0x18001929d
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.18004a3a0
mov rcx, qword [0x1802d2018]
mov rbx, rax
add rcx, 0x40cbe0
call rcx
mov rcx, rax
call fcn.1800140c0
movss xmm0, dword [0x1802d218c]
addss xmm0, dword [0x18027c828]
comiss xmm0, dword [rax]
jae 0x18001929d
lea rdx, str.UseSelf
mov rcx, rbx
call fcn.180012c30
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800140c0
movss xmm0, dword [rax]
movss dword [0x1802d218c], xmm0
mov r14, qword [rsp + 0x88]
mov rcx, qword [0x1802d2018]
xor ebp, ebp
add rcx, 0x299b4c0
movabs rdi, 0x7fffffff0000
cmp rcx, 0x40000
jbe 0x1800192f2
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800192f2
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x1800192f2
lea rax, [rbx + 8]
cmp rax, rdi
jae 0x1800192f2
mov rbx, qword [rbx]
jmp 0x1800192f5
mov rbx, rbp
cmp byte [0x1802d209b], bpl
je 0x18001932d
mov ecx, dword [0x1802d2148]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001932d
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001934f
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001934f
mov dword [rcx], 0x41200000
jmp 0x18001934f
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001934f
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001934f
movss xmm0, dword [0x180297fbc]
movss dword [rcx], xmm0
cmp byte [0x1802d2115], bpl
je 0x1800193a4
mov rcx, qword [0x1802f3350]
lea rdx, str.il2cpp_resolve_icall
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.UnityEngine.Camera::set_aspect__
call rax
mov rcx, qword [0x1802f3350]
lea rdx, str.il2cpp_resolve_icall
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.UnityEngine.Camera::get_main__
call rax
call rax
movss xmm1, dword [0x18027c8ec]
mov rcx, rax
call rbx
cmp byte [0x1802d2112], bpl
je 0x180019410
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
add rax, 0x4d0
cmp rax, 0x40000
jbe 0x180019410
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x180019410
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xb4]
cmp r8, 0x40000
jbe 0x1800193f5
lea rax, [r8 + 4]
cmp rax, rdi
jae 0x1800193f5
mov dword [r8], ebp
lea rcx, [rdx + 0xb8]
cmp rcx, 0x40000
jbe 0x180019410
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x180019410
mov dword [rcx], ebp
cmp byte [0x1802d2116], bpl
je 0x180019461
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
lea rcx, [rax + 0x5f8]
cmp rcx, 0x40000
jbe 0x180019461
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x180019448
mov edx, dword [rcx]
or edx, 4
jmp 0x18001945f
cmp rcx, 0x40000
jbe 0x180019461
lea rax, [rcx + 4]
mov edx, 4
cmp rax, rdi
jae 0x180019461
mov dword [rcx], edx
cmp byte [0x1802d2103], bpl
je 0x1800194d6
mov rax, qword [0x1802d2018]
add rax, 0x40cbe0
call rax
mov rcx, qword [0x1802d2018]
add rcx, 0x2998760
cmp rcx, 0x40000
jbe 0x1800194d6
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800194d6
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x1800194d6
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800194d6
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x1800194d6
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x1800194d6
movss xmm0, dword [0x180297fac]
movss dword [rcx], xmm0
cmp byte [0x1802d2101], bpl
je 0x18001952b
mov rcx, qword [0x1802f3350]
lea rdx, str.il2cpp_resolve_icall
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.UnityEngine.Camera::set_aspect__
call rax
mov rcx, qword [0x1802f3350]
lea rdx, str.il2cpp_resolve_icall
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.UnityEngine.Camera::get_main__
call rax
call rax
movss xmm1, dword [0x18027c8ec]
mov rcx, rax
call rbx
cmp byte [0x1802d2125], bpl
je 0x18001972d
mov ecx, dword [0x1802d2158]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001972d
mov rax, qword [0x1802d2018]
movaps xmmword [rsp + 0x30], xmm8
add rax, 0x40cbe0
movaps xmmword [rsp + 0x40], xmm7
call rax
mov edx, dword [0x180308808]
mov rbx, rax
test edx, edx
je 0x180019589
sub edx, 1
je 0x180019589
cmp edx, 1
je 0x180019589
movss xmm7, dword [rsp + 0x80]
jmp 0x180019592
call qword [0x180308800]
movaps xmm7, xmm0
test rbx, rbx
jne 0x1800195d3
mov rcx, rbx
call fcn.180014580
subss xmm7, dword [0x18027c71c]
movaps xmm8, xmm0
lea rax, [rsp + 0x20]
mulss xmm7, dword [0x18027ca80]
addss xmm7, dword [0x18027c764]
mulss xmm8, xmm7
addss xmm8, dword [0x18027c6f8]
jmp 0x180019717
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rsi*8]
mov eax, dword [r15 + rdx]
cmp dword [0x180308250], eax
jle 0x18001961e
lea rcx, [0x180308250]
call fcn.18008cbe8
cmp dword [0x180308250], 0xffffffff
jne 0x18001961e
mov ecx, 0xc566d10
call fcn.18000e930
lea rcx, [0x180308250]
mov qword [0x180308108], rax
call fcn.18008cb7c
mov rax, qword [0x180308108]
mov rcx, rbx
movss xmm6, dword [rbx + rax]
call fcn.180014580
mov rax, qword gs:[0x58]
subss xmm7, xmm6
movaps xmm8, xmm0
mov rcx, qword [rax + rsi*8]
subss xmm7, dword [0x18027c71c]
mov eax, dword [r15 + rcx]
cmp dword [0x180308354], eax
mulss xmm7, dword [0x18027ca80]
addss xmm7, dword [0x18027c764]
mulss xmm8, xmm7
addss xmm8, dword [0x18027c6f8]
jle 0x1800196ab
lea rcx, [0x180308354]
call fcn.18008cbe8
cmp dword [0x180308354], 0xffffffff
jne 0x1800196ab
mov ecx, 0x6d5c7dd2
call fcn.18000e930
lea rcx, [0x180308354]
mov qword [0x180308740], rax
call fcn.18008cb7c
mov rax, qword [0x180308740]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800196c2
lea rax, [rsp + 0x20]
jmp 0x180019717
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180308290], eax
jle 0x18001970d
lea rcx, [0x180308290]
call fcn.18008cbe8
cmp dword [0x180308290], 0xffffffff
jne 0x18001970d
mov ecx, 0x7cd71351
call fcn.18000e930
lea rcx, [0x180308290]
mov qword [0x1803082d0], rax
call fcn.18008cb7c
mov rax, qword [0x1803082d0]
add rax, rbx
mov dword [rax], ebp
movss dword [rax + 4], xmm8
mov dword [rax + 8], ebp
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret