Function at 0x1003fcb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [0x100dc8dc]
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ebx, ebx
jne 0x1003fce7
push 0xe85
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov ebx, dword [0x100dc8dc]
add esp, 0xc
test ebx, ebx
je 0x1003fcf3
mov esi, dword [ebx + 0x6c]
mov dword [ebp - 8], esi
test esi, esi
jne 0x1003fd0c
jmp 0x1003fcf8
xor esi, esi
mov dword [ebp - 8], esi
push 0x14f
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui_impl_win32.cpp
push str.bd___0___Did_you_call_ImGui_ImplWin32_Init____
call edi
add esp, 0xc
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
movd xmm1, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x14]
sbb edx, dword [esi + 0x14]
call fcn.10050b10
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10050b10
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [0x100dc8dc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x1003fda6
mov esi, dword [eax + 0x6c]
jmp 0x1003fdc1
push 0xe85
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
xor esi, esi
call edi
mov eax, dword [0x100dc8dc]
add esp, 0xc
add eax, 8
cmp dword [esi], 0
mov dword [ebp - 4], eax
jne 0x1003fde0
push 0xfb
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui_impl_win32.cpp
push str.bd__hWnd___0
call edi
add esp, 0xc
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [ebp - 0xc]
cmp eax, edx
jne 0x1003fee4
mov ecx, dword [ebp - 4]
cmp byte [ecx + 0x87], 0
je 0x1003fe43
cvttss2si eax, dword [ecx + 0xcc0]
mov dword [ebp - 0x20], eax
cvttss2si eax, dword [ecx + 0xcc4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1003fe33
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [ebp - 4]
cmp byte [ecx + 0x87], 0
jne 0x1003fee4
cmp byte [esi + 8], 0
jne 0x1003fee4
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1003fee4
lea eax, [ebp - 0x28]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1003fee4
movd xmm0, dword [ebp - 0x28]
mov esi, dword [0x100dc8dc]
cvtdq2ps xmm0, xmm0
lea eax, [esi + 8]
movss dword [ebp - 0xc], xmm0
movd xmm0, dword [ebp - 0x24]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
cmp eax, dword [ebp - 4]
je 0x1003feab
push 0x53a
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.g.IO__this___Can_only_add_events_to_current_context._
call edi
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x50], 1
movlpd qword [ebp - 0x40], xmm0
lea eax, [ebp - 0x50]
movss xmm0, dword [ebp - 0xc]
lea ecx, [esi + 0x3710]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x4c], 1
movss dword [ebp - 0x44], xmm0
call fcn.1001a480
mov eax, dword [0x100dc8dc]
mov ecx, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2e3c], 0
je 0x1003ff4c
push 0xa0
call ecx
shr eax, 0xf
test al, 1
jne 0x1003ff46
mov esi, dword [0x100dc8dc]
test esi, esi
jne 0x1003ff2a
push 0xe85
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100dc8dc]
add esp, 0xc
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10003fb0
mov dword [esi + 0x334], 0x210
mov ecx, dword [sym.imp.USER32.dll_GetKeyState]
mov eax, dword [0x100dc8dc]
cmp byte [eax + 0x2e7c], 0
je 0x1003ffa8
push 0xa1
call ecx
shr eax, 0xf
test al, 1
jne 0x1003ffa8
mov esi, dword [0x100dc8dc]
test esi, esi
jne 0x1003ff8c
push 0xe85
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100dc8dc]
add esp, 0xc
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10003fb0
mov dword [esi + 0x338], 0x214
mov eax, dword [0x100dc8dc]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2e5c], 0
je 0x1004000d
push 0x5b
call esi
shr eax, 0xf
test al, 1
jne 0x1004000d
mov esi, dword [0x100dc8dc]
test esi, esi
jne 0x1003ffeb
push 0xe85
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100dc8dc]
add esp, 0xc
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10003fb0
mov dword [esi + 0x220], 0x212
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov eax, dword [0x100dc8dc]
cmp byte [eax + 0x2e9c], 0
je 0x10040066
push 0x5c
call esi
shr eax, 0xf
test al, 1
jne 0x10040066
mov esi, dword [0x100dc8dc]
test esi, esi
jne 0x1004004a
push 0xe85
push str.C:UsersAdministratorDesktopCharlinhoCharlenoexample_win32_directx9imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x100dc8dc]
add esp, 0xc
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10003fb0
mov dword [esi + 0x224], 0x216
cmp byte [ebx + 0x58], 0
je 0x10040071
or ecx, 0xffffffff
jmp 0x1004007c
mov eax, dword [0x100dc8dc]
mov ecx, dword [eax + 0x40d8]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], ecx
je 0x1004008c
mov dword [eax + 0x20], ecx
call fcn.1003f4f0
call fcn.1003f6e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret