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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1008600c]
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 - 0x40], esi
cmp byte [0x10088150], 0
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x10004888
push esi
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [0x10088184], eax
test eax, eax
je 0x10004888
push 0x10004510
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x10088144], eax
call fcn.1000c130
call fcn.10021280
mov eax, dword [0x100881b4]
mov edi, dword [0x10088184]
push 0x100881e8
mov dword [eax + 0x1534], 0x3f000000
mov dword [eax + 0x1538], 0x3f000000
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x10004859
push 0x100881e0
call ebx
test eax, eax
je 0x10004859
mov eax, dword [0x100881b4]
mov dword [0x100881d8], 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 0x1000485e
mov eax, dword [0x100881b4]
mov dword [eax + 0xc0], str.imgui_impl_opengl2
call dword [sym.imp.OPENGL32.dll_wglGetCurrentContext]
push esi
mov dword [0x10088140], eax
call dword [sym.imp.OPENGL32.dll_wglCreateContext]
mov dword [0x10087fe0], eax
mov byte [0x10088150], 1
jmp 0x1000488d
mov eax, dword [0x10087fe0]
push eax
push esi
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
cmp dword [0x100881d4], 0
jne 0x100048a3
call fcn.10028070
mov esi, dword [0x100881b4]
lea eax, [ebp - 0x34]
push eax
push dword [0x100881d8]
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
movd xmm1, eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
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 [0x100881e0]
mov esi, dword [ebp - 0x1c]
mov edx, esi
sbb edx, dword [0x100881e4]
call fcn.100651e0
mov edx, dword [0x100881ec]
mov ecx, dword [0x100881e8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
call fcn.100651e0
movss xmm1, dword [ebp - 0x14]
cvtsd2ss xmm0, xmm0
mov ebx, dword [ebp - 0x38]
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x100881e4], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x100881e0], 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 esi, dword [0x100881b4]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [esi + 0x35b], 0
je 0x100049b7
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 0x18], eax
cvttss2si eax, dword [esi + 0xec]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x100881d8]
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 + 0xe8], 0xff7fffff
mov dword [esi + 0xec], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10004a2d
mov ecx, dword [0x100881d8]
cmp eax, ecx
je 0x100049eb
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10004a2d
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10004a2d
lea eax, [ebp - 0x3c]
push eax
push dword [0x100881d8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10004a2d
movd xmm0, dword [ebp - 0x3c]
movd xmm1, dword [ebp - 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
cmp byte [ebx + 0xb0], 0
je 0x10004a3b
or eax, 0xffffffff
jmp 0x10004a46
mov eax, dword [0x100881b4]
mov eax, dword [eax + 0x1d94]
cmp dword [0x10086aa0], eax
je 0x10004a58
mov dword [0x10086aa0], eax
call fcn.10028280
call fcn.1000d350
mov esi, dword [0x100881b4]
mov al, byte [0x10086960]
mov dword [ebp - 0x30], 2
mov byte [esi + 0xb0], al
lea ecx, [esi + 0x1af8]
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x30]
movss xmm0, dword [esi + 0x1524]
push eax
movss dword [ebp - 0x2c], xmm0
call fcn.10019870
mov edx, dword [0x100881b4]
mov ecx, 0x4a
mov dword [esi + 0x1524], 0
or dword [edx + 0x1a80], 3
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 eax, dword [edx + 0x10]
mov dword [edx + 0x1aa0], eax
mov eax, dword [edx + 0x14]
or dword [edx + 0x1a80], 0x40
mov dword [edx + 0x1aa4], 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 - 0x34], al
and ecx, 0x800000ff
jns 0x10004b32
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x10004b15
mov byte [ebp - 0x23], 0
push 0x213f
xor edx, edx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.100116c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x10004b9f
mov ecx, 0x79
xor edx, edx
mov al, byte [edx + 0x1007d328]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x70], al
and ecx, 0x800000ff
jns 0x10004b84
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x2f
jl 0x10004b67
lea eax, [ebp - 0x70]
mov byte [ebp - 0x41], 0
push eax
call fcn.10028d40
add esp, 4
call fcn.10013ba0
mov ecx, 1
call fcn.10009cb0
cmp byte [0x10086960], 0
je 0x10004cd2
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
xor ecx, ecx
movq qword [ebp - 0x30], xmm0
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 1
xor edi, edi
mov eax, dword [0x100881bc]
mov edx, dword [0x100881b8]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x38], edi
test eax, eax
je 0x10004c6c
nop word [eax + eax]
mov eax, dword [edx + edi*4]
push dword [ebp - 0x40]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, edx
sub eax, ecx
sar eax, 4
push eax
call fcn.10036cb0
mov edx, dword [0x100881b8]
add esp, 8
mov eax, dword [edx + edi*4]
cmp dword [eax + 0xc], 0
jne 0x10004c51
cmp esi, ebx
je 0x10004c38
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x2c], esi
jmp 0x10004c4b
lea eax, [ebp - 0x38]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10036860
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edx, dword [0x100881b8]
mov eax, dword [0x100881bc]
inc edi
sub eax, edx
mov dword [ebp - 0x38], edi
sar eax, 2
cmp edi, eax
jb 0x10004c00
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ecx
sub esi, ecx
xor edi, edi
sar esi, 2
test esi, esi
je 0x10004c9e
mov ebx, dword [ebp - 0x1c]
nop word [eax + eax]
mov ecx, dword [ebx + edi*4]
mov ecx, dword [edx + ecx*4]
call fcn.10035dc0
inc edi
cmp edi, esi
jae 0x10004c98
mov edx, dword [0x100881b8]
jmp 0x10004c80
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10004cd2
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x10004cc8
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004d1a
push ebx
push ecx
call fcn.10041cc5
add esp, 8
call fcn.1000e560
mov ecx, dword [0x100881b4]
xor eax, eax
add ecx, 0x1c5c
cmp byte [ecx], al
cmove ecx, eax
call fcn.10027d70
push dword [0x10088140]
push dword [ebp - 0x40]
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.10041a84
mov esp, ebp
pop ebp
ret
call fcn.10049858
int3