Function at 0x1002dde0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1007d068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x1007f15c]
test edi, edi
jne 0x1002de19
push 0xcd7
push str.D:Dev_Arc2MGRModingcppRevengeanceMegaPatchMGRImGuiTemplateimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1004de5a
mov edi, dword [0x1007f15c]
add esp, 0xc
mov eax, dword [edi + 0x98]
cmp dword [eax + 0x34], 0
jle 0x1002de31
cmp dword [eax + 0x14], 0
jne 0x1002de48
cmp dword [eax + 0x18], 0
jne 0x1002de48
push 0xd9
push str.D:Dev_Arc2MGRModingcppRevengeanceMegaPatchMGRImGuiTemplateimguiimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_back_end._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call fcn.1004de5a
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push dword [0x1007f1ec]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [0x1007f1f0]
mov edx, dword [ebp - 0x14]
sbb edx, dword [0x1007f1f4]
call fcn.100614a0
mov edx, dword [0x1007f1fc]
mov ecx, dword [0x1007f1f8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.100614a0
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x18], xmm1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [0x1007f1f0], eax
mov dword [0x1007f1f4], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0x101], al
call esi
mov ecx, dword [0x1007f15c]
shr eax, 0xf
and al, 1
mov byte [edi + 0x103], 0
mov byte [edi + 0x102], al
test ecx, ecx
jne 0x1002df3b
push 0xcd7
push str.D:Dev_Arc2MGRModingcppRevengeanceMegaPatchMGRImGuiTemplateimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1004de5a
mov ecx, dword [0x1007f15c]
add esp, 0xc
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x1002df78
cvttss2si eax, dword [esi]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [0x1007f1ec]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1002dfe0
mov ecx, dword [0x1007f1ec]
cmp eax, ecx
je 0x1002dfa5
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1002dfe0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002dfe0
lea eax, [ebp - 0x20]
push eax
push dword [0x1007f1ec]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002dfe0
movd xmm0, dword [ebp - 0x20]
movd xmm1, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xb0], 0
je 0x1002dfee
or eax, 0xffffffff
jmp 0x1002dff9
mov eax, dword [0x1007f15c]
mov eax, dword [eax + 0x1d8c]
cmp dword [0x1007dde8], eax
je 0x1002e00b
mov dword [0x1007dde8], eax
call fcn.1002d9d0
call fcn.1002db20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003bb2a
mov esp, ebp
pop ebp
ret