Function at 0x140040840
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401c6ae0]
mov edx, 0x210
call fcn.140013fc0
cmp byte [rax], 0
je 0x1400408e5
mov rcx, qword [0x1401c6ae0]
mov edx, 0x210
call fcn.140002ee0
cmp byte [rax + 8], 0
jne 0x1400408e5
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400408e5
cmp qword [0x1401c6ae0], 0
jne 0x1400408ad
mov r8d, 0x10ae
lea rdx, str.C:UsersAdminDesktopEXTORTION_DLLimgui.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 [0x1401c6ae0]
cmp byte [rbx + 0x37b1], 0
je 0x1400408d1
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.1400034e0
mov dword [rbx + 0x37c], 0x210
mov dword [rbx + 0x93c], 0xa0
mov rcx, qword [0x1401c6ae0]
mov edx, 0x214
call fcn.140013fc0
cmp byte [rax], 0
je 0x140040984
mov rcx, qword [0x1401c6ae0]
mov edx, 0x214
call fcn.140002ee0
cmp byte [rax + 8], 0
jne 0x140040984
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040984
cmp qword [0x1401c6ae0], 0
jne 0x14004094c
mov r8d, 0x10ae
lea rdx, str.C:UsersAdminDesktopEXTORTION_DLLimgui.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 [0x1401c6ae0]
cmp byte [rbx + 0x37b1], 0
je 0x140040970
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.1400034e0
mov dword [rbx + 0x380], 0x214
mov dword [rbx + 0x94c], 0xa1
mov rcx, qword [0x1401c6ae0]
mov edx, 0x212
call fcn.140013fc0
cmp byte [rax], 0
je 0x140040a23
mov rcx, qword [0x1401c6ae0]
mov edx, 0x212
call fcn.140002ee0
cmp byte [rax + 8], 0
jne 0x140040a23
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040a23
cmp qword [0x1401c6ae0], 0
jne 0x1400409eb
mov r8d, 0x10ae
lea rdx, str.C:UsersAdminDesktopEXTORTION_DLLimgui.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 [0x1401c6ae0]
cmp byte [rbx + 0x37b1], 0
je 0x140040a0f
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.1400034e0
mov dword [rbx + 0x268], 0x212
mov dword [rbx + 0x944], 0x5b
mov rcx, qword [0x1401c6ae0]
mov edx, 0x216
call fcn.140013fc0
cmp byte [rax], 0
je 0x140040ac4
mov rcx, qword [0x1401c6ae0]
mov edx, 0x216
call fcn.140002ee0
cmp byte [rax + 8], 0
jne 0x140040ac4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140040ac4
mov rbx, qword [0x1401c6ae0]
test rbx, rbx
jne 0x140040a93
mov r8d, 0x10ae
lea rdx, str.C:UsersAdminDesktopEXTORTION_DLLimgui.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 [0x1401c6ae0]
cmp byte [rbx + 0x37b1], 0
je 0x140040ab0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.1400034e0
mov dword [rbx + 0x26c], 0x216
mov dword [rbx + 0x954], 0x5c
add rsp, 0x20
pop rbx
ret