Function at 0x1003a720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100d5134]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov edi, dword [0x100d7adc]
test edi, edi
jne 0x1003a75d
push 0xd29
push str.D:AVSProject_voiceClientImGUIimgui.cpp
push 0x100c7500
call fcn.10086073
mov edi, dword [0x100d7adc]
add esp, 0xc
mov eax, dword [edi + 0x98]
cmp dword [eax + 0x34], 0
jle 0x1003a775
cmp dword [eax + 0x14], 0
jne 0x1003a78c
cmp dword [eax + 0x18], 0
jne 0x1003a78c
push 0xde
push str.D:AVSProject_voiceClientImGUIimgui_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 fcn.10086073
add esp, 0xc
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push dword [0x100d7b3c]
movups xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
movd xmm1, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x28]
sub ecx, dword [0x100d7b40]
mov edx, dword [esp + 0x2c]
sbb edx, dword [0x100d7b44]
call fcn.100a84a0
mov edx, dword [0x100d7b4c]
mov ecx, dword [0x100d7b48]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
call fcn.100a84a0
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x18], xmm1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x100d7b40], eax
mov dword [0x100d7b44], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xfd], al
call esi
mov esi, dword [0x100d7adc]
shr eax, 0xf
and al, 1
mov byte [edi + 0xff], 0
mov byte [edi + 0xfe], al
test esi, esi
jne 0x1003a89c
push 0xd29
push str.D:AVSProject_voiceClientImGUIimgui.cpp
push 0x100c7500
call fcn.10086073
mov esi, dword [0x100d7adc]
add esp, 0xc
cmp byte [esi + 0x357], 0
je 0x1003a8e0
cvttss2si eax, dword [esi + 0xe4]
mov dword [esp + 0x20], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push dword [0x100d7b3c]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1003a8e0
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1003a95a
mov ecx, dword [0x100d7b3c]
cmp eax, ecx
je 0x1003a914
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1003a95a
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1003a95a
lea eax, [esp + 8]
push eax
push dword [0x100d7b3c]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1003a95a
movd xmm0, dword [esp + 8]
movd xmm1, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [edi + 0xb0], 0
je 0x1003a968
or eax, 0xffffffff
jmp 0x1003a973
mov eax, dword [0x100d7adc]
mov eax, dword [eax + 0x1e68]
cmp dword [0x100d5ebc], eax
je 0x1003a985
mov dword [0x100d5ebc], eax
call fcn.1003a310
call fcn.1003a460
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10080e96
mov esp, ebp
pop ebp
ret