Function at 0x412910
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2cb8
call fcn.00425270
sub rsp, rax
mov rax, qword [0x0042d620]
xor rax, rsp
mov qword [rsp + 0x2ca0], rax
cmp qword [0x0042d1f8], 0xffffffffffffffff
je 0x412948
mov eax, 1
jmp 0x412d33
call fcn.004128d0
test eax, eax
je 0x41295a
cmp dword [0x0042eb54], 0
je 0x412961
xor eax, eax
jmp 0x412d33
mov dword [rsp + 0x2470], 0
mov dword [0x0042eb54], 1
cmp qword [0x0042d1f8], 0xffffffffffffffff
jne 0x412b6d
mov r8d, 0x3ff
lea rdx, [rsp + 0x1060]
mov rcx, qword [0x00430640]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x3ff
lea rdx, [0x004282d4]
lea rcx, [rsp + 0x1860]
call fcn.00415400
lea rax, [rsp + 0x1864]
mov qword [rsp + 0x2c90], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, 0xa
mov rcx, qword [rsp + 0x2c90]
mov rdx, rcx
mov ecx, eax
call fcn.00417b50
mov dword [rsp + 0x2060], 0x400
mov qword [rsp + 0x2c80], 0
lea rdx, [rsp + 0x2060]
lea rcx, [rsp + 0x50]
call fcn.00413c90
test eax, eax
je 0x412a63
lea rcx, [rsp + 0x1860]
call fcn.00417030
lea rax, [rsp + rax*2 + 0x1860]
mov qword [rsp + 0x2c80], rax
mov r8d, 0x3ff
lea rdx, [0x00426a6c]
lea rcx, [rsp + 0x1860]
call fcn.004155a0
mov r8d, 0x3ff
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1860]
call fcn.004155a0
mov r8d, 0x3ff
lea rdx, [rsp + 0x1060]
lea rcx, [rsp + 0x2480]
call fcn.00415400
cmp dword [0x00431264], 0
je 0x412b49
call fcn.004127a0
test eax, eax
je 0x412b49
mov r8d, 0x3ff
lea rdx, [rsp + 0x860]
mov rcx, qword [0x00430640]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [rsp + 0x860]
call fcn.004176f0
mov qword [rsp + 0x2c88], rax
cmp qword [rsp + 0x2c88], 0
je 0x412ae4
mov rax, qword [rsp + 0x2c88]
mov word [rax], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x860]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1860]
lea r8, [rsp + 0x1060]
lea rdx, str.runas
mov rcx, qword [rsp + 0x2cc0]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jl 0x412b30
mov dword [rsp + 0x2c98], 1
jmp 0x412b3b
mov dword [rsp + 0x2c98], 0
mov eax, dword [rsp + 0x2c98]
mov dword [rsp + 0x854], eax
cmp dword [rsp + 0x854], 0
jne 0x412b6d
mov r8d, 0x3ff
lea rdx, str.Error_running_program:
lea rcx, [rsp + 0x2070]
call fcn.00415390
cmp dword [rsp + 0x854], 0
jne 0x412be9
mov dword [0x0042ea14], 1
mov r8d, 0x3ff
lea rdx, [0x004282a8]
lea rcx, [rsp + 0x2070]
call fcn.00415470
mov r8d, 0x3ff
lea rdx, [rsp + 0x1060]
lea rcx, [rsp + 0x2070]
call fcn.004156b0
mov r9d, 0x10010
lea r8, str.Error_
lea rdx, [rsp + 0x2070]
mov rcx, qword [rsp + 0x2cc0]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x412d2c
mov r8d, 0x3ff
lea rdx, str..pipeTcInstallPipe
lea rcx, [rsp + 0x1060]
call fcn.00415400
cmp qword [rsp + 0x2c80], 0
je 0x412c1b
mov rax, qword [rsp + 0x2c80]
mov word [rax], 0
lea rax, [rsp + 0x1864]
mov r8d, 0x3ff
mov rdx, rax
lea rcx, [rsp + 0x1060]
call fcn.004155a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x40], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.00416ee0
cmp eax, 0x7d0
jge 0x412cb8
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x1060]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x0042d1f8], rax
cmp qword [0x0042d1f8], 0xffffffffffffffff
je 0x412cb6
jmp 0x412cb8
jmp 0x412c4e
cmp qword [0x0042d1f8], 0xffffffffffffffff
je 0x412cf5
mov dword [rsp + 0x850], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x850]
mov rcx, qword [0x0042d1f8]
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [rsp + 0x2470], 1
jmp 0x412d2c
mov dword [0x0042ea14], 1
mov r9d, InitCommonControls
lea r8, str.Error
lea rdx, str.Failed_to_connect_to_elevated_process_
mov rcx, qword [rsp + 0x2cc0]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x2470]
mov rcx, qword [rsp + 0x2ca0]
xor rcx, rsp
call fcn.00416330
add rsp, 0x2cb8
ret