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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x7fffffff
je 0x101ac0e
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101bf10
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x78]
cmp ecx, eax
jne 0x101ac58
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101bf30
cmp dword [rax], 0xc00000fd
je 0x101ac92
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101c070
and eax, 0x1000
test eax, eax
jne 0x101ac92
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101c070
and eax, 0x8000
test eax, eax
je 0x101ac94
jmp 0x101acc2
mov rdx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.01018cb0
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov r8d, 0x1658
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x50]
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101bff0
test rax, rax
je 0x101adcd
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101bff0
mov qword [rsp + 0x80], rax
xor ecx, ecx
mov qword [rsp + 0x88], rcx
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x88]
mov rax, rdx
mov rdx, qword [rsp + 0x80]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, rcx
shl rax, 1
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x18
call fcn.0101bff0
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
mov qword [rsp + 0x98], rcx
mov rdx, qword [rsp + 0x90]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x98]
call qword [rax + 0x50]
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101bfd0
test rax, rax
je 0x101ae9f
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0101bfd0
mov qword [rsp + 0xa0], rax
xor ecx, ecx
mov qword [rsp + 0xa8], rcx
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0xa8]
mov rax, rdx
mov rdx, qword [rsp + 0xa0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, rcx
shl rax, 1
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x18
call fcn.0101bfd0
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
mov qword [rsp + 0xb8], rcx
mov rdx, qword [rsp + 0xb0]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0xb8]
call qword [rax + 0x50]
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x100]
mov dword [rcx + 0x78], eax
mov rcx, qword [rsp + 0x100]
call fcn.0101a7d0
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x101aef2
lea rax, [0x01003c80]
mov qword [rsp + 0xc0], rax
jmp 0x101af01
lea rax, [0x01003c60]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov qword [rsp + 0xc8], rax
call fcn.01007fa4
mov rcx, qword [rsp + 0x100]
add rcx, 0x13d0
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x100]
mov edx, dword [rdx + 0x78]
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [0x01003d98]
mov edx, 0x104
call fcn.010197c0
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jl 0x101b23d
mov rax, qword [rsp + 0x100]
add rax, 0x15d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x100]
mov qword [rax + 0x15e0], 0
mov rax, qword [rsp + 0x100]
mov qword [rax + 0x15f0], 0
mov rax, qword [rsp + 0x100]
add rax, 0x1640
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x15d8
mov qword [rsp + 0xd8], rcx
mov rdx, qword [rsp + 0x100]
add rdx, 0x13d0
mov qword [rsp + 0xe0], rdx
mov rdi, qword [rsp + 0x100]
mov rcx, qword [rdi + 0x10]
call fcn.01019380
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc008010
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0xe0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x101b219
mov dword [rsp + 0x64], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], 0
mov edx, 0x64
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x1640]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x102
jne 0x101b0d6
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x13b0], 0xffffffff
je 0x101b0d4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x100]
cmp eax, dword [rcx + 0x13b0]
jb 0x101b0d4
jmp 0x101b0d6
jmp 0x101b07f
cmp dword [rsp + 0x68], 0x102
jne 0x101b0ed
mov dword [rsp + 0xe8], 1
jmp 0x101b0f8
mov dword [rsp + 0xe8], 0
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0xe8]
mov dword [rax + 0x13bc], ecx
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x13c0], 1
mov rax, qword [rsp + 0x100]
add rax, 0x13b4
mov rdx, rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x1640]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x101b181
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x13b4], 0x103
je 0x101b181
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x13b8], 1
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x13bc], 0
jmp 0x101b1ae
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x1648]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x100]
mov qword [rax + 0x1648], 0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x1640]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x100]
mov qword [rax + 0x1640], 0
jmp 0x101b23b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0100bb70
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
jmp 0x101b24e
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
jmp 0x101b27b
cmp dword [rsp + 0x54], 0x7fffffff
je 0x101b298
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, dword [rsp + 0x54]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.01017ef0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
add rsp, 0xf0
pop rdi
ret