Function at 0x140049020
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1404fd4d8]
mov edx, 0x210
call fcn.140031370
cmp byte [rax], 0
je 0x1400490c5
mov rcx, qword [0x1404fd4d8]
mov edx, 0x210
call fcn.140020a50
cmp byte [rax + 8], 0
jne 0x1400490c5
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400490c5
cmp qword [0x1404fd4d8], 0
jne 0x14004908d
mov r8d, 0x10f7
lea rdx, str.C:UsersNOinsDesktoploader_sapphire_thirdpartyimguiimgui.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 [0x1404fd4d8]
cmp byte [rbx + 0x2b89], 0
je 0x1400490b1
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140021030
mov dword [rbx + 0x2e20], 0x210
mov dword [rbx + 0x33e0], 0xa0
mov rcx, qword [0x1404fd4d8]
mov edx, 0x214
call fcn.140031370
cmp byte [rax], 0
je 0x140049164
mov rcx, qword [0x1404fd4d8]
mov edx, 0x214
call fcn.140020a50
cmp byte [rax + 8], 0
jne 0x140049164
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140049164
cmp qword [0x1404fd4d8], 0
jne 0x14004912c
mov r8d, 0x10f7
lea rdx, str.C:UsersNOinsDesktoploader_sapphire_thirdpartyimguiimgui.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 [0x1404fd4d8]
cmp byte [rbx + 0x2b89], 0
je 0x140049150
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140021030
mov dword [rbx + 0x2e24], 0x214
mov dword [rbx + 0x33f0], 0xa1
mov rcx, qword [0x1404fd4d8]
mov edx, 0x212
call fcn.140031370
cmp byte [rax], 0
je 0x140049203
mov rcx, qword [0x1404fd4d8]
mov edx, 0x212
call fcn.140020a50
cmp byte [rax + 8], 0
jne 0x140049203
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140049203
cmp qword [0x1404fd4d8], 0
jne 0x1400491cb
mov r8d, 0x10f7
lea rdx, str.C:UsersNOinsDesktoploader_sapphire_thirdpartyimguiimgui.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 [0x1404fd4d8]
cmp byte [rbx + 0x2b89], 0
je 0x1400491ef
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140021030
mov dword [rbx + 0x2d0c], 0x212
mov dword [rbx + 0x33e8], 0x5b
mov rcx, qword [0x1404fd4d8]
mov edx, 0x216
call fcn.140031370
cmp byte [rax], 0
je 0x1400492a4
mov rcx, qword [0x1404fd4d8]
mov edx, 0x216
call fcn.140020a50
cmp byte [rax + 8], 0
jne 0x1400492a4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400492a4
mov rbx, qword [0x1404fd4d8]
test rbx, rbx
jne 0x140049273
mov r8d, 0x10f7
lea rdx, str.C:UsersNOinsDesktoploader_sapphire_thirdpartyimguiimgui.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 [0x1404fd4d8]
cmp byte [rbx + 0x2b89], 0
je 0x140049290
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140021030
mov dword [rbx + 0x2d10], 0x216
mov dword [rbx + 0x33f8], 0x5c
add rsp, 0x20
pop rbx
ret