Function at 0x18000c090
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20f0
call fcn.180072830
sub rsp, rax
movaps xmmword [rsp + 0x20e0], xmm6
movaps xmmword [rsp + 0x20d0], xmm7
movaps xmmword [rsp + 0x20c0], xmm8
movaps xmmword [rsp + 0x20b0], xmm9
mov rax, qword [0x180092040]
xor rax, rsp
mov qword [rsp + 0x20a0], rax
mov eax, dword [0x1800e0984]
test eax, eax
jne 0x18000c102
mov ecx, dword [0x1800e0980]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1800e0958]
mov eax, dword [0x1800e0984]
cmp eax, 1
jne 0x18000c125
mov ecx, dword [0x1800e0980]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18000c125
cmp byte [0x1800e0958], 0
sete byte [0x1800e0958]
xor esi, esi
movsd xmm9, qword [0x180085748]
movss xmm8, dword [0x180085840]
mov dword [rsp + 0x38], esi
movsxd rcx, esi
mov rax, qword [0x1800e0510]
mov rbx, qword [0x1800e0508]
sub rax, rbx
sar rax, 3
cmp rcx, rax
jae 0x18000c65e
mov rax, qword [0x1800e05a8]
test rax, rax
je 0x18000c63f
cmp qword [rax + 0x260], 0
je 0x18000c63f
lea rdi, [rcx*8]
mov qword [rsp + 0x50], rdi
mov rbx, qword [rdi + rbx]
test rbx, rbx
jne 0x18000c197
jmp 0x18000c657
mov rcx, qword [rbx + 0x140]
call fcn.1800670b0
test al, al
jne 0x18000c1ac
jmp 0x18000c657
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1800669f0
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x48], eax
jmp 0x18000c1e8
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1800e05a8]
call fcn.1800678d0
mov rax, qword [0x1800e05a8]
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 0x260]
call fcn.1800669f0
mov rbx, rax
movss xmm0, dword [rsp + 0x40]
subss xmm0, dword [rax + 0x10]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
movss xmm1, dword [rsp + 0x44]
subss xmm1, dword [rbx + 0x14]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movss xmm1, dword [rsp + 0x48]
subss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm7
addsd xmm6, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm6
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x18000c284
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18000c28c
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm0, xmm8
movd xmm1, dword [0x1800e0988]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x18000c2a6
jmp 0x18000c657
mov rax, qword [0x1800e0508]
mov rcx, qword [rdi + rax]
movzx eax, byte [rcx + 0x279]
cmp al, 0xa
jne 0x18000c2ee
cmp byte [0x1800e0a40], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a44]
lea r8, str._Battery_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0xf
jne 0x18000c324
cmp byte [0x1800e0aa4], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0aa8]
lea r8, str._Bottle_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0x15
jne 0x18000c35a
cmp byte [0x1800e09a0], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e09a4]
lea r8, str._Bandage_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0x13
jne 0x18000c390
cmp byte [0x1800e0acc], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0ad0]
lea r8, str._Brick_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0x10
jne 0x18000c3c6
cmp byte [0x1800e0ab8], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0abc]
lea r8, str._Phychosis_Antidote_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 2
jne 0x18000c3fc
cmp byte [0x1800e098e], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0990]
lea r8, str._Big_Health_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 6
jne 0x18000c432
cmp byte [0x1800e09f0], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e09f4]
lea r8, str._Respawn_Consumable_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 3
jne 0x18000c468
cmp byte [0x1800e09b4], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e09b8]
lea r8, str._HealthBoost_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 4
jne 0x18000c49e
cmp byte [0x1800e09c8], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e09cc]
lea r8, str._Small_Health_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 5
jne 0x18000c4d4
cmp byte [0x1800e09dc], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e09e0]
lea r8, str._Revive_Syringe_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 7
jne 0x18000c50a
cmp byte [0x1800e0a04], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a08]
lea r8, str._Adrenalin_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 8
jne 0x18000c540
cmp byte [0x1800e0a18], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a1c]
lea r8, str._MaxStaminaBoost_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0xd
jne 0x18000c576
cmp byte [0x1800e0a7c], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a80]
lea r8, str._Master_Key_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0xe
jne 0x18000c5ac
cmp byte [0x1800e0a90], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a94]
lea r8, str._Skill_Charge_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 9
jne 0x18000c5db
cmp byte [0x1800e0a2c], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a30]
lea r8, str._Small_Battery_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0xc
jne 0x18000c60a
cmp byte [0x1800e0a68], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a6c]
lea r8, str._Lock_Pick_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
jmp 0x18000c638
cmp al, 0xb
jne 0x18000c638
cmp byte [0x1800e0a54], 0
je 0x18000c638
cvttss2si eax, xmm0
mov dword [rsp + 0x20], eax
lea r9, [0x1800e0a58]
lea r8, str._Super_Battery_
mov rdx, qword [rsp + 0x30]
call fcn.18000c6a0
nop
inc esi
jmp 0x18000c139
jmp 0x18000c657
inc esi
jmp 0x18000c139
mov rcx, qword [rsp + 0x20a0]
xor rcx, rsp
call fcn.1800715a0
lea r11, [rsp + 0x20f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret