Function at 0x10037950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
push edi
mov edi, dword [0x101c8f48]
test edi, edi
jne 0x10037983
push 0xd28
push str.C:UsersGirlDesktopArteUIimgui.cpp
push 0x10042530
call ebx
mov edi, dword [0x101c8f48]
add esp, 0xc
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x34], 0
jle 0x1003799b
cmp dword [eax + 0x14], 0
jne 0x100379af
cmp dword [eax + 0x18], 0
jne 0x100379af
push 0xde
push str.C:UsersGirlDesktopArteUI_backendsimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call ebx
add esp, 0xc
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [0x101cadfc]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x38], xmm1
movss dword [edi + 0x3c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x101cae00]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x101cae04]
call fcn.10040940
mov edx, dword [0x101cae0c]
mov ecx, dword [0x101cae08]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10040940
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x40], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x101cae00], eax
mov dword [0x101cae04], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0x124], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0x125], al
call esi
mov esi, dword [0x101c8f48]
shr eax, 0xf
and al, 1
mov byte [edi + 0x127], 0
mov byte [edi + 0x126], al
test esi, esi
jne 0x10037aae
push 0xd28
push str.C:UsersGirlDesktopArteUIimgui.cpp
push 0x10042530
call ebx
mov esi, dword [0x101c8f48]
add esp, 0xc
cmp byte [esi + 0x37f], 0
je 0x10037aed
cvttss2si eax, dword [esi + 0x10c]
mov dword [ebp - 8], eax
cvttss2si eax, dword [esi + 0x110]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x101cadfc]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x10037aed
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0x10c], 0xff7fffff
mov dword [esi + 0x110], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10037b63
mov ecx, dword [0x101cadfc]
cmp eax, ecx
je 0x10037b21
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10037b63
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10037b63
lea eax, [ebp - 0x18]
push eax
push dword [0x101cadfc]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10037b63
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x10c], xmm0
movss dword [esi + 0x110], xmm1
cmp byte [edi + 0xd8], 0
je 0x10037b71
or eax, 0xffffffff
jmp 0x10037b7c
mov eax, dword [0x101c8f48]
mov eax, dword [eax + 0x1ea0]
cmp dword [0x101c8a4c], eax
je 0x10037b8e
mov dword [0x101c8a4c], eax
call fcn.10037550
call fcn.100376a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret