Function at 0x100048a0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068ea5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1008700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
cmp byte [0x100891e0], 0
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x10004a48
push esi
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [0x10089214], eax
test eax, eax
je 0x10004a48
push 0x100046d0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x100891d4], eax
call fcn.1000c650
call fcn.10021630
mov eax, dword [0x10089244]
mov edi, dword [0x10089214]
push 0x10089278
mov dword [eax + 0x1534], 0x3f000000
mov dword [eax + 0x1538], 0x3f000000
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x10004a19
push 0x10089270
call ebx
test eax, eax
je 0x10004a19
mov eax, dword [0x10089244]
mov dword [0x10089268], edi
or dword [eax + 0xc], 6
mov dword [eax + 0xbc], str.imgui_impl_win32
mov dword [eax + 0xe0], edi
mov dword [eax + 0x34], 9
mov dword [eax + 0x38], 0x25
mov dword [eax + 0x3c], 0x27
mov dword [eax + 0x40], 0x26
mov dword [eax + 0x44], 0x28
mov dword [eax + 0x48], 0x21
mov dword [eax + 0x4c], 0x22
mov dword [eax + 0x50], 0x24
mov dword [eax + 0x54], 0x23
mov dword [eax + 0x58], 0x2d
mov dword [eax + 0x5c], 0x2e
mov dword [eax + 0x60], 8
mov dword [eax + 0x64], 0x20
mov dword [eax + 0x68], 0xd
mov dword [eax + 0x6c], 0x1b
mov dword [eax + 0x70], 0xd
mov dword [eax + 0x74], 0x41
mov dword [eax + 0x78], 0x43
mov dword [eax + 0x7c], 0x56
mov dword [eax + 0x80], 0x58
mov dword [eax + 0x84], 0x59
mov dword [eax + 0x88], 0x5a
jmp 0x10004a1e
mov eax, dword [0x10089244]
mov dword [eax + 0xc0], str.imgui_impl_opengl2
call dword [sym.imp.OPENGL32.dll_wglGetCurrentContext]
push esi
mov dword [0x100891d0], eax
call dword [sym.imp.OPENGL32.dll_wglCreateContext]
mov dword [0x10089070], eax
mov byte [0x100891e0], 1
jmp 0x10004a4d
mov eax, dword [0x10089070]
push eax
push esi
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
cmp dword [0x10089264], 0
jne 0x10004a63
call fcn.100280f0
mov esi, dword [0x10089244]
lea eax, [ebp - 0x3c]
push eax
push dword [0x10089268]
mov dword [ebp - 0x44], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
movd xmm1, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
call ebx
mov edi, dword [ebp - 0x20]
mov ecx, edi
sub ecx, dword [0x10089270]
mov esi, dword [ebp - 0x1c]
mov edx, esi
sbb edx, dword [0x10089274]
call fcn.10066080
mov edx, dword [0x1008927c]
mov ecx, dword [0x10089278]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.10066080
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
mov ebx, dword [ebp - 0x44]
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x10089274], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10089270], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov ecx, dword [0x10089244]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x10004b79
cvttss2si eax, dword [esi]
mov dword [ebp - 0x18], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x10089268]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
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 0x10004be1
mov ecx, dword [0x10089268]
cmp eax, ecx
je 0x10004ba6
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10004be1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10004be1
lea eax, [ebp - 0x28]
push eax
push dword [0x10089268]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10004be1
movd xmm0, dword [ebp - 0x28]
movd xmm1, dword [ebp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xb0], 0
je 0x10004bef
or eax, 0xffffffff
jmp 0x10004bfa
mov eax, dword [0x10089244]
mov eax, dword [eax + 0x1d94]
cmp dword [0x10087be8], eax
je 0x10004c0c
mov dword [0x10087be8], eax
call fcn.10028300
call fcn.1000d8b0
mov esi, dword [0x10089244]
mov al, byte [0x10087aa8]
mov dword [ebp - 0x38], 2
mov byte [esi + 0xb0], al
lea ecx, [esi + 0x1af8]
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x38]
movss xmm0, dword [esi + 0x1524]
push eax
movss dword [ebp - 0x34], xmm0
call fcn.10019e40
mov edx, dword [0x10089244]
mov dword [esi + 0x1524], 0
mov dword [edx + 0x1a90], 0
mov dword [edx + 0x1a94], 0
mov dword [edx + 0x1a98], 0
mov dword [edx + 0x1a9c], 0
mov dword [edx + 0x1a84], 1
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x10]
or dword [edx + 0x1a80], 0x43
mov dword [edx + 0x1aa4], ecx
mov ecx, 0x4a
mov dword [edx + 0x1aa0], eax
mov dword [edx + 0x1a88], 1
mov dword [edx + 0x1acc], 0
xor edx, edx
mov al, byte [edx + str._b_____7t]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x10004cdf
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x10004cc2
mov byte [ebp - 0x2b], 0
push 0x213f
xor edx, edx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10011ab0
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x10004d4c
mov ecx, 0x79
xor edx, edx
mov al, byte [edx + 0x1007d63c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x7c], al
and ecx, 0x800000ff
jns 0x10004d31
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x2f
jl 0x10004d14
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x4d], 0
push eax
call fcn.10028cb0
add esp, 4
call fcn.10014340
mov ecx, 1
call fcn.1000a1b0
cmp byte [0x10087aa8], 0
je 0x10004eb4
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor ecx, ecx
movq qword [ebp - 0x38], xmm0
xor ebx, ebx
mov dword [ebp - 0x40], ecx
xor esi, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 1
xor edi, edi
mov eax, dword [0x1008924c]
mov edx, dword [0x10089248]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x48], edi
test eax, eax
je 0x10004e54
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x40], eax
nop dword [eax]
mov eax, dword [edx + eax*4]
push dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, edx
sub eax, ecx
sar eax, 4
push eax
call fcn.10037630
mov edx, dword [0x10089248]
add esp, 8
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*4]
cmp dword [eax + 0xc], 0
jne 0x10004e22
cmp esi, ebx
je 0x10004e04
mov eax, dword [ebp - 0x1c]
mov dword [esi], edi
add esi, 4
mov edx, dword [0x10089248]
mov dword [ebp - 0x34], esi
jmp 0x10004e25
lea eax, [ebp - 0x48]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.100371d0
mov eax, dword [ebp - 0x24]
mov edx, dword [0x10089248]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
jmp 0x10004e25
mov eax, dword [ebp - 0x44]
lea edi, [eax + 1]
mov eax, dword [0x1008924c]
sub eax, edx
mov dword [ebp - 0x40], edi
sar eax, 2
cmp edi, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x1c], edi
mov eax, edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], edi
jb 0x10004dc0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], ecx
sub esi, ecx
xor edi, edi
sar esi, 2
test esi, esi
je 0x10004e80
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + edi*4]
mov ecx, dword [edx + ecx*4]
call fcn.100367a0
inc edi
cmp edi, esi
jae 0x10004e7a
mov edx, dword [0x10089248]
jmp 0x10004e62
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10004eb4
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x10004eaa
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004efc
push ebx
push ecx
call fcn.100429f4
add esp, 8
call fcn.1000e960
mov ecx, dword [0x10089244]
xor eax, eax
add ecx, 0x1c5c
cmp byte [ecx], al
cmove ecx, eax
call fcn.10027df0
push dword [0x100891d0]
push dword [ebp - 0x4c]
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100427b4
mov esp, ebp
pop ebp
ret
call fcn.1004a164
int3