Function at 0x105e8c0
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 0x105e90e
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.0105fc30
mov dword [rsp + 0x78], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x78]
cmp ecx, eax
jne 0x105e958
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fc50
cmp dword [rax], 0xc00000fd
je 0x105e992
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fd90
and eax, 0x1000
test eax, eax
jne 0x105e992
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fd90
and eax, 0x8000
test eax, eax
je 0x105e994
jmp 0x105e9c2
mov rdx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.0105ccf0
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.0105bf80
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.0105bf80
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fd10
test rax, rax
je 0x105eacd
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fd10
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.0105fd10
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.0105bf80
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fcf0
test rax, rax
je 0x105eb9f
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov rcx, rax
call fcn.0105fcf0
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.0105fcf0
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.0105bf80
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.0105e4d0
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.0105bf80
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x105ebf2
lea rax, [0x0100f748]
mov qword [rsp + 0xc0], rax
jmp 0x105ec01
lea rax, [0x0100f728]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x100]
add rax, 0x18
mov qword [rsp + 0xc8], rax
call fcn.01059fb0
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, [0x0100f868]
mov edx, 0x104
call fcn.01055a00
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jl 0x105ef3d
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.0105d3a0
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 0x105ef19
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 0x105edd6
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x13b0], 0xffffffff
je 0x105edd4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x100]
cmp eax, dword [rcx + 0x13b0]
jb 0x105edd4
jmp 0x105edd6
jmp 0x105ed7f
cmp dword [rsp + 0x68], 0x102
jne 0x105eded
mov dword [rsp + 0xe8], 1
jmp 0x105edf8
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 0x105ee81
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x13b4], 0x103
je 0x105ee81
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x13b8], 1
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x13bc], 0
jmp 0x105eeae
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.0105bf80
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 0x105ef3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.01057870
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.0105bf80
mov dword [rsp + 0x58], eax
jmp 0x105ef4e
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call fcn.0105bf80
mov dword [rsp + 0x58], eax
jmp 0x105ef7b
cmp dword [rsp + 0x54], 0x7fffffff
je 0x105ef98
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.0105bf80
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
add rsp, 0xf0
pop rdi
ret