Function at 0x140001140
Capabilities:
Acquire debug privileges
Check for time delay via gettickcount
Enumerate gui resources
Log keystrokes

Disassembly:
push rbx
push r12
push r13
sub rsp, 0xa0
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12, rdx
mov qword [0x14001cd20], rcx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x6c]
lea rdx, str.SeDebugPrivilege
lea rcx, [0x140017c2c]
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
xor r13d, r13d
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x74], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140017c24]
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140001209
lea rcx, [rax + 4]
call fcn.140006b08
movsxd rcx, eax
lea edx, [r13 + 0x10]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rsp + 0x58], r13
lea r8, [0x140017c2c]
mov qword [rsp + 0x50], rbx
lea rdx, str.CLaunchAdminWndClass
mov qword [rsp + 0x48], r13
mov r9d, 0xa4000000
mov qword [rsp + 0x40], r13
mov ecx, 0x8000000
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14001cd30], rax
test rax, rax
je 0x1400014cd
mov rax, qword [0x14001cd20]
lea r8, [0x140017c2c]
mov qword [rsp + 0x58], r13
lea rdx, str.CLaunchDummyWndClass
mov qword [rsp + 0x50], rax
mov r9d, 0x84000000
mov qword [rsp + 0x48], r13
xor ecx, ecx
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x88], r14
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
test rax, rax
je 0x1400013a1
mov qword [rsp + 0x80], r15
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, r14
mov r15, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140001365
cmp r15, r14
je 0x140001365
mov ebp, r13d
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, r15
mov esi, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, 1
mov ecx, esi
mov edx, eax
mov edi, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r8d, r8d
mov edx, edi
mov ecx, esi
mov ebx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
test ebx, ebx
jne 0x14000136e
inc ebp
cmp ebp, 2
jl 0x140001310
jmp 0x14000136e
mov rcx, r14
call qword [sym.imp.USER32.dll_BringWindowToTop]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov r15, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xd0]
mov ecx, 1
call fcn.140001ed0
mov r14, qword [rsp + 0x88]
test eax, eax
je 0x1400014cd
mov r8d, 0x104
lea rdx, [0x14001cd50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [0x14001cd50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.CLaunch.exe
lea rcx, [0x14001cd50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r13
lea rcx, [0x140001860]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x60], r13
je 0x140001484
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov ebx, eax
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140001484
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x493e0
jae 0x1400014cd
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140001440
mov rcx, r12
call fcn.1400014f0
test eax, eax
je 0x1400014cd
mov rcx, qword [0x14001cd30]
lea r9, [0x140001aa0]
mov edx, 1
lea r8d, [rdx + 0x63]
call qword [sym.imp.USER32.dll_SetTimer]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, 0xffffffffffffffff
mov rcx, rax
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, 1
jmp 0x1400014cf
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002490
add rsp, 0xa0
pop r13
pop r12
pop rbx
ret