Function at 0x140040780
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401536e0]
mov edx, 0x210
call fcn.140012de0
cmp byte [rax], 0
je 0x140040825
mov rcx, qword [0x1401536e0]
mov edx, 0x210
call fcn.140002860
cmp byte [rax + 8], 0
jne 0x140040825
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040825
cmp qword [0x1401536e0], 0
jne 0x1400407ed
mov r8d, 0x10d9
lea rdx, str.D:_spooferuiimgui.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 [0x1401536e0]
cmp byte [rbx + 0x38d9], 0
je 0x140040811
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140003010
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x1401536e0]
mov edx, 0x214
call fcn.140012de0
cmp byte [rax], 0
je 0x1400408c4
mov rcx, qword [0x1401536e0]
mov edx, 0x214
call fcn.140002860
cmp byte [rax + 8], 0
jne 0x1400408c4
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400408c4
cmp qword [0x1401536e0], 0
jne 0x14004088c
mov r8d, 0x10d9
lea rdx, str.D:_spooferuiimgui.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 [0x1401536e0]
cmp byte [rbx + 0x38d9], 0
je 0x1400408b0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140003010
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x1401536e0]
mov edx, 0x212
call fcn.140012de0
cmp byte [rax], 0
je 0x140040963
mov rcx, qword [0x1401536e0]
mov edx, 0x212
call fcn.140002860
cmp byte [rax + 8], 0
jne 0x140040963
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040963
cmp qword [0x1401536e0], 0
jne 0x14004092b
mov r8d, 0x10d9
lea rdx, str.D:_spooferuiimgui.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 [0x1401536e0]
cmp byte [rbx + 0x38d9], 0
je 0x14004094f
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140003010
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x1401536e0]
mov edx, 0x216
call fcn.140012de0
cmp byte [rax], 0
je 0x140040a04
mov rcx, qword [0x1401536e0]
mov edx, 0x216
call fcn.140002860
cmp byte [rax + 8], 0
jne 0x140040a04
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040a04
mov rbx, qword [0x1401536e0]
test rbx, rbx
jne 0x1400409d3
mov r8d, 0x10d9
lea rdx, str.D:_spooferuiimgui.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 [0x1401536e0]
cmp byte [rbx + 0x38d9], 0
je 0x1400409f0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140003010
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret