Function at 0x1400bfaec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x60], r9
mov r14, r8
mov r15, rdx
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov rax, qword [rbp + 0xa8]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp + 0xf8]
mov qword [rbp - 0x48], rcx
movzx ecx, byte [rbp + 0xe0]
shl ecx, 8
movzx eax, byte [rbp + 0xd8]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xd0]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xc8]
or ecx, eax
mov dword [rsp + 0x78], ecx
mov rdx, qword [r9]
mov rcx, qword [0x14021c5d8]
call fcn.140026dbc
mov rdx, rax
mov rcx, qword [0x14021c5d8]
call fcn.14000f83c
mov bl, al
mov rdx, qword [r15]
mov rcx, qword [rsi + 8]
call fcn.1400112dc
mov r12, rax
xor r13d, r13d
test bl, bl
je 0x1400bfbe4
xor edx, edx
mov rcx, qword [0x14021c5d8]
call fcn.14000f83c
lea rbx, [rsi + 0x4022]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, r12
call fcn.140125c18
mov rcx, rax
lea rdx, str.ConEmuC64.exe
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rdx, qword [rsi + 8]
neg eax
sbb rcx, rcx
and rcx, 0xfffffffffffffff0
movzx eax, word [rbx]
cmp word [rdx + rcx + 0x4014], ax
jne 0x1400bfc4b
movzx eax, word [rsi + 0x4024]
cmp word [rdx + rcx + 0x4016], ax
jne 0x1400bfc4b
movzx eax, word [rsi + 0x4028]
cmp word [rdx + rcx + 0x401a], ax
mov dil, r13b
je 0x1400bfc4e
mov dil, 1
movups xmm0, xmmword [rbx]
movdqu xmmword [rdx + rcx + 0x4014], xmm0
mov rax, qword [r15]
test rax, rax
jne 0x1400bfc6c
lea rax, [0x14015a140]
mov qword [r15], rax
mov rcx, qword [rsi + 8]
or rdx, 0xffffffffffffffff
mov r8, rdx
inc r8
cmp word [rcx + r8*2 + 0xaf0], r13w
jne 0x1400bfc77
inc rdx
cmp word [rax + rdx*2], r13w
jne 0x1400bfc85
lea r15, [rdx + 0x384]
add r15, r8
mov rdx, r15
mov rcx, r14
call fcn.140121228
mov r14, rax
mov word [rax], r13w
mov ebx, 2
cmp dword [rsi + 0x3d44], ebx
jne 0x1400bfd5b
lea r8, [0x14016b508]
mov rdx, r15
mov rcx, rax
call fcn.140001f38
mov r8, qword [rsi + 8]
add r8, 0xaf0
mov rdx, r15
mov rcx, r14
call fcn.140001f38
lea r8, [0x14016b500]
mov rdx, r15
mov rcx, r14
call fcn.140001f38
lea edx, [rbx - 1]
mov rcx, qword [0x14021c740]
call fcn.140087888
test eax, eax
je 0x1400bfd1b
lea r8, str._log
mov rdx, r15
mov rcx, r14
call fcn.140001f38
or dword [rsp + 0x70], 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x70]
call fcn.14012b5f4
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], r13w
jne 0x1400bfd36
mov rdx, r15
sub rdx, rax
lea rcx, [r14 + rax*2]
mov r9d, dword [rsp + 0x70]
lea r8, str._system:_u__cmd
call fcn.140120394
lea r8, [0x14016b508]
mov rdx, r15
mov rcx, r14
call fcn.140001f38
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140001f38
lea r8, [0x14016b500]
mov rdx, r15
mov rcx, r14
call fcn.140001f38
mov edx, 1
mov rcx, rsi
call fcn.1400c36e0
test eax, eax
je 0x1400bfdcb
lea rcx, str.__LOG2
lea r8, str.__LOG
cmp eax, ebx
cmove r8, rcx
lea rcx, str.__LOG3
cmp eax, 3
cmove r8, rcx
mov rdx, r15
mov rcx, r14
call fcn.140001f38
cmp dword [rsi + 0x3d40], ebx
jne 0x1400bfdf8
mov rax, qword [rsi + 8]
cmp byte [rax + 0x4934], r13b
jne 0x1400bfdf8
mov dword [rsi + 0x3ce0], ebx
lea r8, str.__ADMIN
mov rdx, r15
mov rcx, r14
call fcn.140001f38
test dil, dil
je 0x1400bfe14
mov rcx, qword [0x14021c5d8]
add rcx, 0x8f8
call fcn.14003e93c
test al, al
je 0x1400bfe26
lea r8, str.__OMITHOOKSWARN
mov rdx, r15
mov rcx, r14
call fcn.140001f38
mov eax, 0x600020
lea r9d, [rax - 0x20]
cmp dword [rsi + 0x3f70], ebx
cmovne r9d, eax
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [r14 + rax*2], r13w
jne 0x1400bfe40
cdqe
mov rdx, r15
sub rdx, rax
lea rcx, [r14 + rax*2]
lea r8, str.__CINMODE_X
call fcn.14012091c
mov rcx, qword [rsi + 0x4258]
call fcn.1400a09a4
mov r12d, eax
mov rcx, qword [rsi + 0x4258]
call fcn.1400a0990
mov r13d, eax
mov eax, dword [rsi + 0x3a48]
mov dword [rsp + 0x70], eax
mov rcx, rbx
xor eax, eax
inc rcx
cmp word [r14 + rcx*2], ax
jne 0x1400bfe8f
movsxd rbx, ecx
mov rdi, qword [0x14021c740]
add rdi, 0xca0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, eax
mov r10, r15
sub r10, rbx
lea rcx, [r14 + rbx*2]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x60], eax
mov r8, qword [0x14021c740]
mov edx, dword [r8 + 0xc84]
mov dword [rsp + 0x58], edx
mov edx, dword [r8 + 0xc88]
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x48], rdi
mov edx, dword [rsi + 0x4288]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r12d
mov eax, dword [0x14021c5e0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x70]
lea r8, str.__AID_u__GID_u__GHWND_08X__BW_i__BH_i__BZ_i___FN_s___FW_i__FH_i__TA_08X
mov rdx, r10
call fcn.14012091c
mov rax, qword [0x14021c740]
cmp byte [rax + 0x11488], 0
jne 0x1400bff40
lea r8, str.__HIDE
mov rdx, r15
mov rcx, r14
call fcn.140001f38
lea rbx, [rsi + 0x3cd8]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14012a0f0
lea r8, str.__ROOT
mov rdx, r15
mov rcx, r14
call fcn.140001f38
mov r8, qword [rbp - 0x50]
mov r8, qword [r8]
mov rdx, r15
mov rcx, r14
call fcn.140001f38
mov r12, qword [rbp - 0x48]
xor r15d, r15d
mov dword [r12], r15d
cmp byte [rbp + 0xa0], r15b
je 0x1400bff95
mov rcx, rsi
call fcn.1400abed4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13, qword [rbp - 0x70]
mov dword [r13], eax
lea rcx, [rsi + 0x3fc0]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [rsi + 0x3fe0]
or r8, 0xffffffffffffffff
mov rdi, qword [rbp - 0x60]
mov rdx, qword [rdi]
call fcn.140121718
lea rcx, [rsi + 0x3ff0]
or r8, 0xffffffffffffffff
mov rdx, qword [rdi]
call fcn.140121718
lea rcx, [rsi + 0x4000]
or r8, 0xffffffffffffffff
xor edx, edx
call fcn.140121718
mov edx, 1
mov rcx, rsi
call fcn.1400c36e0
test eax, eax
je 0x1400c008c
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14012cd10
nop
mov rcx, qword [rsi]
call fcn.140118bd0
mov r8, rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [0x14016d87c]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [0x1401a0c98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str._:_Cmd
lea rdx, str.Starting_VCon_
lea rcx, [rbp - 0x60]
call fcn.140120be0
nop
lea rcx, [rbp - 0x60]
call fcn.140058574
mov rdx, rax
mov rcx, rsi
call fcn.1400b2d14
nop
lea rcx, [rbp - 0x60]
call fcn.140120ddc
nop
lea rcx, [rbp - 0x70]
call fcn.140120ddc
lea rax, [rsi + 0x27210]
mov byte [rsp + 0x40], r15b
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov r15, qword [rbp - 0x40]
mov qword [rsp + 0x28], r15
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, r14
mov rdx, rbx
mov rcx, rsi
call fcn.1400aceb8
mov dil, al
mov edx, 1
mov rcx, rsi
call fcn.1400c36e0
xor r14d, r14d
test eax, eax
je 0x1400c01dc
xor edx, edx
lea r8d, [r14 + 0x40]
lea rcx, [rbp - 0x20]
call fcn.14013b230
test dil, dil
jne 0x1400c0160
lea r8d, [r14 + 0xa]
lea rdx, [rbp - 0x20]
mov ecx, dword [r12]
call fcn.140001214
mov rbx, rax
mov rcx, qword [rsi]
call fcn.140118bd0
mov r8, rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
lea r9, str.__failed__code
lea rdx, str.VCon_
lea rcx, [rbp - 0x80]
call fcn.140120be0
nop
lea rcx, [rbp - 0x80]
call fcn.140058574
mov rdx, rax
mov rcx, rsi
call fcn.1400b2d14
nop
jmp 0x1400c01d3
mov r8d, dword [r15 + 0x10]
test r8d, r8d
je 0x1400c0179
lea rdx, str.__ServerPID_u
lea rcx, [rbp - 0x20]
call fcn.140001190
mov rcx, qword [rsi]
call fcn.140118bd0
mov r8, rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, str.__started
lea rdx, str.VCon_
lea rcx, [rbp - 0x80]
call fcn.140120be0
nop
lea rcx, [rbp - 0x80]
call fcn.140058574
mov rdx, rax
mov rcx, rsi
call fcn.1400b2d14
nop
lea rcx, [rbp - 0x80]
call fcn.140120ddc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbp - 0x38]
mov dword [rcx], eax
sub eax, dword [r13]
mov rcx, qword [rbp - 0x30]
mov dword [rcx], eax
test dil, dil
je 0x1400c0294
cmp dword [rsi + 0x3d40], 2
jne 0x1400c0211
mov rax, qword [rsi + 8]
cmp byte [rax + 0x4934], r14b
je 0x1400c0220
mov r8, qword [r15]
mov edx, dword [r15 + 0x10]
mov rcx, rsi
call fcn.1400bd800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x4af8], eax
mov dword [rsi + 0x4b00], r14d
cmp dword [rsi + 0x3d40], 2
je 0x1400c0258
mov r8d, 1
lea rdx, [r15 + 0x10]
mov rcx, rsi
call fcn.1400b9fa0
mov ecx, dword [r15 + 0x10]
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov qword [rsp + 0x78], r14
lea r9, [rsp + 0x78]
mov r8b, 1
mov dl, r8b
mov rcx, qword [rsi + 8]
call fcn.140027a18
test al, al
jne 0x1400c0289
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400c0289
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1400c02ae
mov rcx, qword [rbp - 0x28]
call fcn.14012c370
jmp 0x1400c02ae
cmp dword [rsi + 0x4af0], r14d
je 0x1400c02ae
mov dword [rsi + 0x3ce0], 2
or dword [rsi + 0x4af0], 0xffffffff
mov al, dil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140139b10
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret