Function at 0x18005dfd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1800ce2e0]
mov edx, 0x210
call fcn.180039ef0
cmp byte [rax], 0
je 0x18005e075
mov rcx, qword [0x1800ce2e0]
mov edx, 0x210
call fcn.18002a0a0
cmp byte [rax + 8], 0
jne 0x18005e075
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005e075
cmp qword [0x1800ce2e0], 0
jne 0x18005e03d
mov r8d, 0x108f
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1800ce2e0]
cmp byte [rbx + 0x37b1], 0
je 0x18005e061
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.18002a620
mov dword [rbx + 0x378], 0x210
mov dword [rbx + 0x938], 0xa0
mov rcx, qword [0x1800ce2e0]
mov edx, 0x214
call fcn.180039ef0
cmp byte [rax], 0
je 0x18005e114
mov rcx, qword [0x1800ce2e0]
mov edx, 0x214
call fcn.18002a0a0
cmp byte [rax + 8], 0
jne 0x18005e114
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005e114
cmp qword [0x1800ce2e0], 0
jne 0x18005e0dc
mov r8d, 0x108f
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1800ce2e0]
cmp byte [rbx + 0x37b1], 0
je 0x18005e100
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.18002a620
mov dword [rbx + 0x37c], 0x214
mov dword [rbx + 0x948], 0xa1
mov rcx, qword [0x1800ce2e0]
mov edx, 0x212
call fcn.180039ef0
cmp byte [rax], 0
je 0x18005e1b3
mov rcx, qword [0x1800ce2e0]
mov edx, 0x212
call fcn.18002a0a0
cmp byte [rax + 8], 0
jne 0x18005e1b3
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005e1b3
cmp qword [0x1800ce2e0], 0
jne 0x18005e17b
mov r8d, 0x108f
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1800ce2e0]
cmp byte [rbx + 0x37b1], 0
je 0x18005e19f
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.18002a620
mov dword [rbx + 0x264], 0x212
mov dword [rbx + 0x940], 0x5b
mov rcx, qword [0x1800ce2e0]
mov edx, 0x216
call fcn.180039ef0
cmp byte [rax], 0
je 0x18005e254
mov rcx, qword [0x1800ce2e0]
mov edx, 0x216
call fcn.18002a0a0
cmp byte [rax + 8], 0
jne 0x18005e254
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005e254
mov rbx, qword [0x1800ce2e0]
test rbx, rbx
jne 0x18005e223
mov r8d, 0x108f
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1800ce2e0]
cmp byte [rbx + 0x37b1], 0
je 0x18005e240
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.18002a620
mov dword [rbx + 0x268], 0x216
mov dword [rbx + 0x950], 0x5c
add rsp, 0x20
pop rbx
ret