Function at 0x14003ba00
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push r13
push r14
sub rsp, 0x178
mov eax, dword [0x14011447c]
mov r14, rdx
mov r13, rcx
cmp dword [0x140119934], eax
jl 0x14003ba30
mov eax, 4
add rsp, 0x178
pop r14
pop r13
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x14011a308]
mov qword [rsp + 0x198], rbp
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r15
movzx r15d, byte [0x140119923]
mov byte [0x140119923], 1
jne 0x14003ba80
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14003ba8e
mov rcx, rbx
call fcn.140001130
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14003baaa
test byte [rbx + 0x21], 4
je 0x14003baa4
mov rcx, rbx
call fcn.1400412f0
mov rdx, qword [rbx + 8]
jmp 0x14003bb14
cmp al, 2
jne 0x14003bb0d
mov rdx, qword [0x14011be40]
test rdx, rdx
jne 0x14003bb14
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14003bae6
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rcx, [0x1400e3460]
lea rdx, [0x1400e346c]
test eax, eax
cmovne rdx, rcx
jmp 0x14003bb14
lea rcx, [0x14011be28]
xor edx, edx
call fcn.140005e70
mov ecx, 0xffffffff
lea rdx, [0x1400e346c]
cmp rax, rcx
cmovne rdx, qword [0x14011be38]
jmp 0x14003bb14
lea rdx, [0x14011b184]
lea rcx, [rsp + 0x60]
mov r8d, 0x7f
call fcn.1400cd814
mov rbx, qword [0x1401144a8]
inc dword [0x140119934]
add rbx, 0x150
lea rdx, [0x140118220]
xor edi, edi
mov rcx, rbx
mov r8d, 0x150
mov word [rsp + 0x15e], di
mov qword [0x1401144a8], rbx
call fcn.1400cb300
lea rcx, [0x14011b1d0]
xor edx, edx
mov dword [rbx + 0x3c], edi
call fcn.14001f660
cmp dword [0x140119980], edi
mov qword [0x14011bd90], rdi
je 0x14003bba1
mov rax, qword [0x140115e50]
lea rcx, [0x1400e346c]
test rax, rax
je 0x14003bb9b
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
cmp byte [rbx + 0x12e], dil
jne 0x14003bbbf
mov byte [rbx + 0x12e], 1
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14011bd9c], edi
je 0x14003bbcf
cmp dword [0x14011bd98], edi
jne 0x14003bbd8
cmp byte [rbx + 0x12e], dil
je 0x14003bc1e
mov dword [rbx + 0x118], reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [rbx + 0x12c], dil
cmp byte [rbx + 0x12e], dil
jne 0x14003bc1e
cmp dword [0x14011bd9c], edi
jge 0x14003bc06
mov dword [rbx + 0x120], 0xffffffff
jmp 0x14003bc1e
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14011bd9c]
mov dword [rbx + 0x120], eax
mov rdi, qword [0x14011bca0]
mov esi, dword [0x14011bd44]
mov rbp, qword [0x14011bca8]
mov r12d, dword [0x14011bd48]
mov qword [0x14011bca8], rdi
mov qword [0x14011bca0], r14
mov dword [0x14011bd48], esi
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14011bda4], eax
mov dword [0x14011bda0], eax
mov dword [0x14011bd44], eax
cmp byte [r13], 5
mov rcx, qword [r13 + 0x18]
jne 0x14003bc79
call fcn.14003b970
mov ebx, eax
jmp 0x14003bcc7
xor eax, eax
lea r9, [rsp + 0x40]
lea r8, [0x1400e34f0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x20], 1
call fcn.1400a33f0
mov ebx, eax
test eax, eax
je 0x14003bcc7
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rax, qword [0x1401144a8]
mov rcx, qword [rax + 0xf8]
mov qword [0x14011bca0], rdi
mov dword [0x14011bd44], esi
mov qword [0x140119960], rcx
lea rcx, [rsp + 0x60]
mov qword [0x14011bca8], rbp
mov dword [0x14011bd48], r12d
call fcn.140004ae0
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x198]
mov byte [0x140119923], r15b
mov r15, qword [rsp + 0x160]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x178
pop r14
pop r13
ret