Function at 0x140037d90
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
cmp qword [0x14004d3a8], 0
mov qword [rsp + 0x70], rsi
movaps xmmword [rsp + 0x40], xmm6
jne 0x140037dad
call fcn.1400275a0
call fcn.1400279a0
call fcn.140006bb0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140037df1
movzx eax, byte [0x14004cda9]
test al, al
jne 0x140037ddb
mov byte [0x14004cda9], 1
jmp 0x140037de6
cmp al, 1
jne 0x140037de6
mov byte [0x14004cda9], 0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14004cda9], 0
mov qword [rsp + 0x68], rbx
je 0x140037e3a
call fcn.1400379b0
mov rbx, qword [0x14004cdb0]
test rbx, rbx
jne 0x140037e31
mov r8d, 0xb37
lea rdx, str.C:UsersAdminDownloadsDark_and_Darker_internal_cheat_mainDark_and_Darker_internal_cheat_mainProjectHexImguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14004cdb0]
mov byte [rbx + 0xd0], 1
jmp 0x140037e6e
mov rbx, qword [0x14004cdb0]
test rbx, rbx
jne 0x140037e67
mov r8d, 0xb37
lea rdx, str.C:UsersAdminDownloadsDark_and_Darker_internal_cheat_mainDark_and_Darker_internal_cheat_mainProjectHexImguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x14004cdb0]
mov byte [rbx + 0xd0], 0
movss xmm6, dword [0x140045188]
xor esi, esi
cmp byte [0x14004cdab], sil
je 0x140037f92
cmp byte [0x14004cdaa], sil
jne 0x140037f92
mov ecx, dword [0x14004cdc0]
xorps xmm0, xmm0
mov r8d, dword [0x14004ce10]
xorps xmm2, xmm2
mov eax, 0x51eb851f
mov dword [rsp + 0x28], 0x19
mul ecx
xorps xmm3, xmm3
cvtsi2ss xmm0, r8
mov eax, 0x51eb851f
mov qword [rsp + 0x50], rdi
shr edx, 5
add rbx, 0x1cc8
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mov ecx, edx
cvtsi2ss xmm2, rcx
mov rcx, rbx
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
mul r8d
mulss xmm2, dword [0x140045214]
shr edx, 5
mov eax, edx
lea rdx, [rsp + 0x60]
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x140045214]
addss xmm2, xmm0
movss xmm0, dword [0x140045208]
movss dword [rsp + 0x20], xmm0
mulss xmm2, dword [0x140045164]
subss xmm2, dword [0x140045164]
call fcn.140020da0
mov r8d, dword [rbx + 0x80]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
movss dword [rsp + 0x28], xmm6
mov byte [rsp + 0x20], 1
call fcn.14001f670
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140037f87
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140015b00
mov rdi, qword [rsp + 0x50]
mov dword [rbx + 0x80], esi
call fcn.140035100
call fcn.140008380
mov rcx, qword [0x14004ce90]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004ce90]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004ce90]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004ce90]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x14004ce90]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
test eax, eax
js 0x14003805a
call fcn.140008940
mov rcx, qword [0x14004cdb0]
add rcx, 0x1c70
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.140026c90
mov rcx, qword [0x14004ce90]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004ce90]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rsi, qword [rsp + 0x70]
cmp eax, 0x88760868
jne 0x1400380bc
mov rcx, qword [0x14004ce90]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400380bc
call fcn.140027740
mov rcx, qword [0x14004ce90]
lea rdx, [0x14004ce40]
mov rax, qword [rcx]
call qword [rax + 0x80]
add rsp, 0x58
jmp fcn.1400275a0
add rsp, 0x58
ret