Function at 0x140040cd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140012680
cmp byte [rax], 0
je 0x140040d69
mov ecx, 0x210
call fcn.140002bc0
cmp byte [rax + 8], 0
jne 0x140040d69
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040d69
mov rbx, qword [0x140232d40]
test rbx, rbx
jne 0x140040d38
mov r8d, 0xfdd
lea rdx, str.C:UsersWINDOWS_PRODesktopiMGUIPANELAleGeyimgui.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 [0x140232d40]
cmp byte [rbx + 0x37a9], 0
je 0x140040d55
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140003160
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.140012680
cmp byte [rax], 0
je 0x140040dfc
mov ecx, 0x214
call fcn.140002bc0
cmp byte [rax + 8], 0
jne 0x140040dfc
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040dfc
mov rbx, qword [0x140232d40]
test rbx, rbx
jne 0x140040dcb
mov r8d, 0xfdd
lea rdx, str.C:UsersWINDOWS_PRODesktopiMGUIPANELAleGeyimgui.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 [0x140232d40]
cmp byte [rbx + 0x37a9], 0
je 0x140040de8
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140003160
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.140012680
cmp byte [rax], 0
je 0x140040e8f
mov ecx, 0x212
call fcn.140002bc0
cmp byte [rax + 8], 0
jne 0x140040e8f
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040e8f
mov rbx, qword [0x140232d40]
test rbx, rbx
jne 0x140040e5e
mov r8d, 0xfdd
lea rdx, str.C:UsersWINDOWS_PRODesktopiMGUIPANELAleGeyimgui.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 [0x140232d40]
cmp byte [rbx + 0x37a9], 0
je 0x140040e7b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140003160
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.140012680
cmp byte [rax], 0
je 0x140040f22
mov ecx, 0x216
call fcn.140002bc0
cmp byte [rax + 8], 0
jne 0x140040f22
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040f22
mov rbx, qword [0x140232d40]
test rbx, rbx
jne 0x140040ef1
mov r8d, 0xfdd
lea rdx, str.C:UsersWINDOWS_PRODesktopiMGUIPANELAleGeyimgui.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 [0x140232d40]
cmp byte [rbx + 0x37a9], 0
je 0x140040f0e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140003160
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret