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

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0xd8
mov dword [rsp + 0x90], 0x65b
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xffffffffffffffff
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x180156e94]
and eax, 2
test eax, eax
jne 0x1800fca55
mov eax, dword [0x180156e94]
and eax, 1
test eax, eax
je 0x1800fcd88
mov eax, dword [rsp + 0xf0]
cmp dword [0x180156e98], eax
jae 0x1800fca6b
xor eax, eax
jmp 0x1800fce65
mov ecx, 0x800
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800fca8d
mov eax, 0xe
jmp 0x1800fce65
cmp dword [rsp + 0xf0], 0
jne 0x1800fcb4b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xb0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0xb4], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [rsp + 0x8e]
movzx edx, word [rsp + 0x8c]
movzx r8d, word [rsp + 0x8a]
movzx r9d, word [rsp + 0x88]
movzx r10d, word [rsp + 0x86]
movzx r11d, word [rsp + 0x82]
movzx ebx, word [rsp + 0x80]
mov edi, dword [rsp + 0xb0]
mov dword [rsp + 0x60], edi
mov edi, dword [rsp + 0xb4]
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
mov r9d, ebx
lea r8, [0x1801572e0]
mov edx, 0x400
mov rcx, qword [rsp + 0x70]
call fcn.1800fc5e0
jmp 0x1800fccc1
cmp dword [rsp + 0xf0], 3
jne 0x1800fcc0a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xb8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0xbc], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [rsp + 0x8e]
movzx edx, word [rsp + 0x8c]
movzx ebx, word [rsp + 0x8a]
movzx edi, word [rsp + 0x88]
movzx r8d, word [rsp + 0x86]
movzx r9d, word [rsp + 0x82]
movzx r10d, word [rsp + 0x80]
mov r11d, dword [rsp + 0xb8]
mov dword [rsp + 0x60], r11d
mov r11d, dword [rsp + 0xbc]
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r9d
mov r9d, r10d
lea r8, [0x180157350]
mov edx, 0x400
mov rcx, qword [rsp + 0x70]
call fcn.1800fc5e0
jmp 0x1800fccc1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xc0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0xc4], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [rsp + 0x8e]
movzx edx, word [rsp + 0x8c]
movzx ebx, word [rsp + 0x8a]
movzx edi, word [rsp + 0x88]
movzx r8d, word [rsp + 0x86]
movzx r9d, word [rsp + 0x82]
movzx r10d, word [rsp + 0x80]
mov r11d, dword [rsp + 0xc0]
mov dword [rsp + 0x68], r11d
mov r11d, dword [rsp + 0xc4]
mov dword [rsp + 0x60], r11d
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r9d
mov r9d, r10d
lea r8, [0x1801573c0]
mov edx, 0x400
mov rcx, qword [rsp + 0x70]
call fcn.1800fc5e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_wcslen]
mov dword [rsp + 0xa0], eax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x98], rax
mov eax, 0x400
sub eax, dword [rsp + 0xa0]
mov eax, eax
mov ecx, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rdx + rcx*2]
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0xf8]
mov rdx, rax
call fcn.1800fe1c0
mov qword [rsp + 0x98], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_wcslen]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0x3fd
jb 0x1800fcd70
mov rax, qword [rsp + 0x70]
mov word [rax + 0x7fa], 0xd
mov rax, qword [rsp + 0x70]
mov word [rax + 0x7fc], 0xa
mov rax, qword [rsp + 0x70]
mov word [rax + 0x7fe], 0
jmp 0x1800fcd86
lea r8, [0x180157434]
mov edx, 0x400
mov rcx, qword [rsp + 0x70]
call fcn.1800fe170
jmp 0x1800fcd94
mov eax, dword [rsp + 0x90]
jmp 0x1800fce65
mov eax, dword [0x180156e94]
and eax, 2
test eax, eax
je 0x1800fcdcc
mov eax, dword [0x180156e94]
and eax, 0x10
test eax, eax
jne 0x1800fcdbb
mov eax, dword [0x180156e94]
and eax, 4
test eax, eax
je 0x1800fcdcc
mov rcx, qword [rsp + 0x70]
call fcn.1800fc970
mov dword [rsp + 0x90], eax
mov eax, dword [0x180156e94]
and eax, 1
test eax, eax
je 0x1800fce4b
mov rcx, qword [rsp + 0x70]
call fcn.1800fce80
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x1800fce08
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_free]
mov eax, 0xe
jmp 0x1800fce65
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_free]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov eax, dword [0x180156e94]
and eax, 0x10
test eax, eax
jne 0x1800fce3a
mov eax, dword [0x180156e94]
and eax, 4
test eax, eax
je 0x1800fce4b
mov rcx, qword [rsp + 0x70]
call fcn.1800fcf20
mov dword [rsp + 0x90], eax
cmp qword [rsp + 0x70], 0
je 0x1800fce5e
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_free]
mov eax, dword [rsp + 0x90]
add rsp, 0xd8
pop rdi
pop rbx
ret