Function at 0x1003b070
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
mov eax, dword [0x10092c98]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
call fcn.100123d0
mov ebx, eax
mov dword [esp + 0x1c], ebx
call fcn.10011fa0
test eax, eax
je 0x1003b0a3
call fcn.100123d0
mov edi, dword [eax + 0x68]
test edi, edi
jne 0x1003b0bd
jmp 0x1003b0a5
xor edi, edi
push 0x177
push str.D:Projectm2extLibrariesimguiimgui_impl_win32.cpp
push str.bd___nullptr___Did_you_call_ImGui_ImplWin32_Init____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x24], xmm0
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
movd xmm1, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x14]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 8], xmm1
movss dword [ebx + 0xc], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x14]
sub ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x18]
sbb edx, dword [edi + 0x14]
call fcn.10073fe0
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
call fcn.10073fe0
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [ebx + 0x10], xmm1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
call fcn.10011fa0
test eax, eax
je 0x1003b16a
call fcn.100123d0
mov esi, dword [eax + 0x68]
jmp 0x1003b16c
xor esi, esi
call fcn.100123d0
cmp dword [esi], 0
mov ebx, eax
jne 0x1003b190
push 0x121
push str.D:Projectm2extLibrariesimguiimgui_impl_win32.cpp
push str.bd__hWnd___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x1003b235
cmp byte [ebx + 0x8d], 0
je 0x1003b1e8
cvttss2si eax, dword [ebx + 0xdb4]
mov dword [esp + 0xc], eax
cvttss2si eax, dword [ebx + 0xdb8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1003b1df
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [ebx + 0x8d], 0
jne 0x1003b235
cmp dword [esi + 8], 0
jne 0x1003b235
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1003b235
lea eax, [esp + 0xc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1003b235
movd xmm0, dword [esp + 0x10]
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, ebx
movss dword [esp + 4], xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10008930
push 0x210
call fcn.10015bb0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x1003b284
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x1003b284
call fcn.100123d0
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.100088e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.10021560
push 0x214
call fcn.10015bb0
add esp, 4
test al, al
je 0x1003b2cd
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x1003b2cd
call fcn.100123d0
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.100088e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.10021560
push 0x212
call fcn.10015bb0
add esp, 4
test al, al
je 0x1003b310
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x1003b310
call fcn.100123d0
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.100088e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.10021560
push 0x216
call fcn.10015bb0
add esp, 4
test al, al
je 0x1003b353
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x1003b353
call fcn.100123d0
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.100088e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.10021560
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x3c], 0
je 0x1003b362
or eax, 0xffffffff
jmp 0x1003b367
call fcn.10012810
cmp dword [edi + 0x20], eax
je 0x1003b374
mov dword [edi + 0x20], eax
call fcn.1003b950
call fcn.1003b400
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10073e26
add esp, 0x28
ret