Function at 0x1400c67c0
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate thread

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x68], rdx
mov r14, rcx
cmp dword [rcx + 0x434], 0
jne 0x1400c6815
mov eax, 1
jmp 0x1400c6ed0
call fcn.140049400
mov r12, rax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x80], 0
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x82]
call sub.ntdll.dll_memset
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8, r15
mov qword [rsp + 0x40], r15
mov rbx, r15
mov qword [rsp + 0x30], rbx
movabs r9, 0xe38e38e38e38e39
nop
mov rax, qword [r14 + 0x440]
test rax, rax
je 0x1400c6cce
mov rcx, qword [r14 + 0x448]
sub rcx, rax
mov rax, r9
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x1400c6cce
mov rax, qword [r14 + 0x440]
test rax, rax
je 0x1400c68d6
mov rcx, qword [r14 + 0x448]
sub rcx, rax
mov rax, r9
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x1400c68dc
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [r14 + 0x440]
lea r13, [rbx + rax]
mov eax, dword [r13]
cmp eax, 0xf
je 0x1400c68fe
cmp eax, 0xe
je 0x1400c68fe
cmp eax, 0x11
jne 0x1400c6a0c
mov rbp, qword [r13 + 0x18]
mov esi, dword [r13 + 0x10]
mov rcx, qword [r14 + reloc.MFC80U.DLL_Ordinal_1112]
mov rax, qword [rcx]
mov rdx, qword [r13 + 8]
call qword [rax + 0x48]
mov rdi, rax
test rax, rax
je 0x1400c6a0c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rbx, rax
test rax, rax
je 0x1400c6962
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x50]
cmp eax, esi
je 0x1400c6954
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, rax
test rax, rax
jne 0x1400c6934
jmp 0x1400c6962
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov rbx, rax
jmp 0x1400c6965
mov rbx, r15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1400c69f2
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x38]
cmp rax, rbp
je 0x1400c699c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1400c6976
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6a0c
test rdi, rdi
je 0x1400c6a00
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
cmp ax, 0x2a
je 0x1400c69f9
mov rbx, qword [r12]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13 + 0x10]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [rbx + 0x58]
test eax, eax
je 0x1400c6a07
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14006cf60
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6a0c
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6a0c
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6a0c
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6a0c
mov rbx, qword [rsp + 0x30]
cmp dword [r13], 7
jne 0x1400c6ca8
mov rbp, qword [r13 + 0x18]
mov esi, dword [r13 + 0x10]
mov rcx, qword [r14 + reloc.MFC80U.DLL_Ordinal_1112]
mov rax, qword [rcx]
mov rdx, qword [r13 + 8]
call qword [rax + 0x48]
mov rdi, rax
test rax, rax
jne 0x1400c6a3d
mov rsi, r15
jmp 0x1400c6ab4
mov rax, qword [rax]
mov rcx, rdi
call qword [rax + 0x18]
mov rbx, rax
test rax, rax
je 0x1400c6a7e
nop
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x50]
cmp eax, esi
je 0x1400c6a70
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, rax
test rax, rax
jne 0x1400c6a50
jmp 0x1400c6a7e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov rbx, rax
jmp 0x1400c6a81
mov rbx, r15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rsi, rax
test rax, rax
je 0x1400c6ab1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
cmp rax, rbp
je 0x1400c6ab4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rsi, rax
test rax, rax
jne 0x1400c6a92
mov rsi, r15
mov r12, qword [r13 + 0x20]
mov ebp, dword [r13 + 0x10]
mov rdi, qword [r13 + 8]
test rdi, rdi
jne 0x1400c6aca
mov rdi, r15
jmp 0x1400c6b44
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
mov rbx, rax
test rax, rax
je 0x1400c6b0e
nop
nop
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x50]
cmp eax, ebp
je 0x1400c6b00
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, rax
test rax, rax
jne 0x1400c6ae0
jmp 0x1400c6b0e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov rbx, rax
jmp 0x1400c6b11
mov rbx, r15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1400c6b41
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
cmp rax, r12
je 0x1400c6b44
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1400c6b22
mov rdi, r15
test rsi, rsi
je 0x1400c6c67
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x48]
test eax, eax
jne 0x1400c6bb7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
cmp ax, 0x2a
je 0x1400c6bb7
mov r12, qword [rsp + 0x38]
mov rbx, qword [r12]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13 + 0x10]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [rbx + 0x58]
test eax, eax
je 0x1400c6c60
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14006cf60
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6ca8
test rdi, rdi
je 0x1400c6c73
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
cmp ax, 0x2a
je 0x1400c6c97
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x48]
cmp eax, 1
jne 0x1400c6c8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
mov rbx, rax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x40]
cmp rbx, rax
jl 0x1400c6c19
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
mov rbx, rax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x38]
cmp rbx, rax
je 0x1400c6c7f
mov r12, qword [rsp + 0x38]
mov rbx, qword [r12]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13 + 0x10]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [rbx + 0x58]
test eax, eax
je 0x1400c6ca3
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14006cf60
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x1400c6ca8
mov rbx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
add r8, 1
mov qword [rsp + 0x40], r8
add rbx, 0x48
mov qword [rsp + 0x30], rbx
movabs r9, 0xe38e38e38e38e39
jmp 0x1400c6870
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x1400c6ebe
mov rcx, qword [rsp + 0x58]
sub rcx, r8
mov rax, r9
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400c6ebe
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x10], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, r14
lea r8, [0x1400c67b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [r14 + 8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edi, r15d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14 + 0x41c], r15d
jne 0x1400c6e6e
nop
nop
nop
cmp dword [r14 + reloc.MFC80U.DLL_Ordinal_1064], 2
je 0x1400c6e6e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x927c0
jb 0x1400c6d95
cmp dword [r14 + 0x424], edi
je 0x1400c6dc9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edi, dword [r14 + 0x424]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x9c40
jb 0x1400c6dae
cmp dword [r14 + 0x418], 0
je 0x1400c6e24
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14 + 0x41c], 0
jne 0x1400c6e6e
jmp 0x1400c6d60
mov rcx, qword [0x140434338]
test rcx, rcx
je 0x1400c6ddb
mov rax, qword [rcx]
call qword [rax + 0x30]
xor edx, edx
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
mov edx, 0x2f
call qword [rax + 0x40]
call fcn.140049470
mov rbx, rax
mov rdi, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_3365
lea rcx, str...opthelp.cpp
call fcn.1400bc810
mov r8, rax
lea rdx, str._s:_Timeout_to_check_partitions
mov rcx, rbx
call qword [rdi + 0x10]
jmp 0x1400c6e6e
mov rcx, qword [0x140434338]
test rcx, rcx
je 0x1400c6e36
mov rax, qword [rcx]
call qword [rax + 0x30]
xor edx, edx
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.140049470
mov rbx, rax
mov rdi, qword [rax]
mov edx, Ordinal_3389
lea rcx, str...opthelp.cpp
call fcn.1400bc810
mov r8, rax
lea rdx, str._s:_Timeout_to_check_partitions
mov rcx, rbx
call qword [rdi + 0x10]
or edx, 0xffffffff
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x130]
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
sete r15b
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400c6eb9
call sub.MFC80U.DLL_Ordinal_776
mov eax, r15d
jmp 0x1400c6ed0
test r8, r8
je 0x1400c6ecb
mov rcx, r8
call sub.MFC80U.DLL_Ordinal_776
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret