Function at 0x140040e40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140062518]
mov edx, 0x210
call fcn.140013880
cmp byte [rax], 0
je 0x140040eda
mov rax, qword [0x140062518]
cmp byte [rax + 0x424c], 0
jne 0x140040eda
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040eda
cmp qword [0x140062518], 0
jne 0x140040ea2
mov r8d, 0x1183
lea rdx, str.C:UserscseDownloadsimgui_masterimgui.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 [0x140062518]
cmp byte [rbx + 0x2b71], 0
je 0x140040ec6
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002da0
mov dword [rbx + 0x2e08], 0x210
mov dword [rbx + 0x33c8], 0xa0
mov rcx, qword [0x140062518]
mov edx, 0x214
call fcn.140013880
cmp byte [rax], 0
je 0x140040f6e
mov rax, qword [0x140062518]
cmp byte [rax + 0x427c], 0
jne 0x140040f6e
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040f6e
cmp qword [0x140062518], 0
jne 0x140040f36
mov r8d, 0x1183
lea rdx, str.C:UserscseDownloadsimgui_masterimgui.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 [0x140062518]
cmp byte [rbx + 0x2b71], 0
je 0x140040f5a
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002da0
mov dword [rbx + 0x2e0c], 0x214
mov dword [rbx + 0x33d8], 0xa1
mov rcx, qword [0x140062518]
mov edx, 0x212
call fcn.140013880
cmp byte [rax], 0
je 0x140041002
mov rax, qword [0x140062518]
cmp byte [rax + 0x4264], 0
jne 0x140041002
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140041002
cmp qword [0x140062518], 0
jne 0x140040fca
mov r8d, 0x1183
lea rdx, str.C:UserscseDownloadsimgui_masterimgui.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 [0x140062518]
cmp byte [rbx + 0x2b71], 0
je 0x140040fee
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002da0
mov dword [rbx + 0x2cf4], 0x212
mov dword [rbx + 0x33d0], 0x5b
mov rcx, qword [0x140062518]
mov edx, 0x216
call fcn.140013880
cmp byte [rax], 0
je 0x14004109c
mov rax, qword [0x140062518]
cmp byte [rax + 0x4294], 0
jne 0x14004109c
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004109c
mov rbx, qword [0x140062518]
test rbx, rbx
jne 0x14004106b
mov r8d, 0x1183
lea rdx, str.C:UserscseDownloadsimgui_masterimgui.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 [0x140062518]
cmp byte [rbx + 0x2b71], 0
je 0x140041088
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002da0
mov dword [rbx + 0x2cf8], 0x216
mov dword [rbx + 0x33e0], 0x5c
add rsp, 0x20
pop rbx
ret