Function at 0x1400200b0
Capabilities:
Set current directory

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
test rcx, rcx
mov rbx, rcx
mov byte [0x14011b4a0], 1
cmove rbx, qword [0x14011bd50]
cmp qword [0x14011b118], 0
mov word [0x14011bd84], 0
lea r14, [0x1400e346c]
jne 0x1400200f9
call fcn.1400aa490
mov qword [0x14011b118], rax
test rax, rax
je 0x140020157
mov rdx, qword [0x14011b120]
cmp qword [rdx + 0x10], 0x28
jae 0x14002011c
call fcn.1400aa490
mov rdx, qword [0x14011b120]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x140020157
mov rcx, qword [rdx + 8]
add qword [rdx + 0x10], 0xffffffffffffffd8
lea rax, [rcx + 0x28]
mov qword [0x14011b128], rcx
mov qword [rdx + 8], rax
test rcx, rcx
je 0x140020157
xor ebp, ebp
lea rax, vtable.Label.0
mov qword [rcx + 8], r14
mov qword [rcx], rax
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rbp
jmp 0x14002015b
xor ebp, ebp
mov ecx, ebp
mov qword [0x14011b878], rcx
test rcx, rcx
jne 0x140020173
or eax, 0xffffffff
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
cmp dword [0x14011bd80], 2
lea rax, [0x1400e8860]
mov qword [rsp + 0x68], rsi
mov esi, dword [0x14011a468]
cmove rbx, rax
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbp
call fcn.1400207e0
mov rbx, qword [rsp + 0x60]
mov edi, eax
cmp eax, 3
jne 0x1400201bf
mov edx, esi
mov rcx, rbx
call fcn.140020920
mov edi, eax
test rbx, rbx
je 0x1400201d1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp edi, 1
jne 0x1400206b6
lea rcx, [0x14011b1d0]
xor r9d, r9d
xor r8d, r8d
mov dl, 0x68
mov qword [rsp + 0x20], rbp
call fcn.1400285c0
test eax, eax
je 0x1400206b6
mov rax, qword [0x14011b1d8]
mov qword [rax + 0x10], 1
mov rcx, qword [0x14011b1d0]
call fcn.14002eed0
test eax, eax
je 0x1400206b6
mov rcx, qword [0x14011b1d0]
call fcn.14002efd0
cmp qword [0x14011b1e0], 0
je 0x140020266
mov rcx, qword [0x14011b1d0]
mov rax, qword [0x14011b1e8]
mov qword [rax + 0x20], rcx
mov rcx, qword [0x14011b1d0]
mov rax, qword [0x14011b1e8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14011b1e0]
mov qword [0x14011b1d0], rax
mov ecx, dword [0x14011b208]
mov edi, ebp
test ecx, ecx
jle 0x1400202c7
mov rsi, rbp
nop word [rax + rax]
mov rax, qword [0x14011b200]
mov rbx, qword [rax + rsi]
cmp byte [rbx + 0x5d], 0
jne 0x1400202bd
test byte [rbx + 0x5c], 4
jne 0x1400202bd
mov rdx, qword [rbx + 0x30]
lea r8, [rbx + 0x48]
mov rcx, rbx
call fcn.1400414b0
mov rdx, qword [rbx + 0x38]
lea r8, [rbx + 0x50]
mov rcx, rbx
call fcn.1400414b0
mov ecx, dword [0x14011b208]
inc edi
add rsi, 8
cmp edi, ecx
jl 0x140020280
cmp qword [0x14011b480], 0
je 0x1400202f2
call fcn.14002c400
test eax, eax
je 0x1400206b6
mov rcx, qword [0x14011b480]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [0x14011b480], rbp
cmp dword [0x140119910], 0
je 0x140020300
call fcn.1400415b0
mov rcx, qword [0x14011a318]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [0x14011b49c]
lea rcx, [0x14011b1d0]
xor r9d, r9d
xor r8d, r8d
mov dl, 0x68
mov qword [rsp + 0x20], rbp
call fcn.1400285c0
test eax, eax
je 0x1400206b6
lea rcx, [0x14011b1d0]
xor r9d, r9d
xor r8d, r8d
mov dl, 0x68
mov qword [rsp + 0x20], rbp
call fcn.1400285c0
test eax, eax
je 0x1400206b6
mov rax, qword [0x14011b1d8]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x20], rbp
mov qword [rcx + 0x10], 1
mov rax, qword [0x14011b1d8]
mov qword [rax + 0x10], 1
mov rcx, qword [0x14011b878]
mov rax, qword [0x14011b1d8]
mov qword [rcx + 0x10], rax
mov rdx, qword [0x14011b1d0]
lea rcx, [0x14011b1d0]
call fcn.14002f060
test rax, rax
je 0x1400206b6
mov rcx, qword [0x14011b1d0]
call fcn.14002f5d0
test rax, rax
je 0x1400206b6
lea rdx, str.ErrorLevel
lea rcx, [0x14011b1d0]
mov r9d, 3
xor r8d, r8d
call fcn.14002e210
mov rbx, rax
mov qword [0x14011a308], rax
test rax, rax
je 0x1400206b6
movzx eax, byte [rax + 0x23]
mov qword [rsp + 0x30], r13
test al, al
jne 0x140020422
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400e350c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b14e0
jmp 0x14002065d
lea r13, [0x1400e350c]
mov qword [rsp + 0x38], r12
cmp qword [rbx + 8], r13
jne 0x14002043d
mov r12, qword [rbx + 0x10]
shr r12, 1
jmp 0x140020443
mov r12d, 1
lea rcx, [r12 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x140020460
mov rdx, r12
mov rcx, r13
call fcn.1400060c0
jmp 0x140020658
mov r9, qword [0x140114480]
cmp rsi, r9
jbe 0x14002048d
cmp rsi, qword [rbx + 0x18]
jbe 0x14002048d
lea rdx, [0x1400ffee0]
lea rcx, [0x14011b1d0]
mov r8, r14
call fcn.140040740
jmp 0x140020658
cmp rcx, 2
jae 0x1400204a7
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400b1b90
jmp 0x140020658
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400204c4
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9, qword [0x140114480]
mov rcx, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, rcx
jbe 0x140020633
movzx r8d, byte [rbx + 0x20]
movzx eax, r8b
cmp r8b, 1
jbe 0x1400204f7
cmp al, 2
je 0x140020534
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x60]
jmp 0x140020627
mov edi, 0x80
cmp rsi, rdi
ja 0x140020534
cmp rsi, 8
ja 0x14002050e
mov edi, 8
jmp 0x14002051a
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rsi, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400aa400
test rax, rax
je 0x140020658
mov byte [rbx + 0x20], 1
jmp 0x140020627
cmp rsi, 0x20
jae 0x140020544
mov edi, SafeArrayAllocDescriptor
jmp 0x1400205ee
mov edi, 0x208
cmp rsi, rdi
jb 0x1400205ee
cmp rsi, 0x50000
jae 0x1400205aa
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140020571
addsd xmm0, qword [0x140101e88]
mulsd xmm0, qword [0x140101ec0]
movsd xmm1, qword [0x140101eb8]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1400205a0
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400205a0
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x1400205ee
cmp rsi, 0x320000
jae 0x1400205bc
lea rdi, [rsi + 0x8000]
jmp 0x1400205ee
cmp rsi, 0xc80000
jae 0x1400205e7
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400205ee
lea rdi, [rsi + 0x20000]
cmp rdi, r9
cmova rdi, r9
cmp r8b, 2
jne 0x14002060e
test rcx, rcx
je 0x14002060e
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cb11c
jmp 0x140020611
xor sil, sil
test rdi, rdi
js 0x14002067d
mov rcx, rdi
call fcn.1400ca9a4
test rax, rax
je 0x14002067d
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x140020648
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1400cb2e0
mov rcx, qword [rbx + 8]
lea rdx, [r12 + r12]
mov word [rdx + rcx], bp
mov qword [rbx + 0x10], rdx
mov r12, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x60]
call fcn.14001b920
mov r13, qword [rsp + 0x30]
mov eax, 1
jmp 0x1400206b9
test sil, sil
je 0x140020693
lea rax, [0x14011b184]
mov qword [rbx + 0x18], rbp
mov qword [rbx + 8], rax
jmp 0x14002069a
mov rax, qword [rbx + 8]
mov word [rax], bp
lea rdx, [0x1400e6570]
lea rcx, [0x14011b1d0]
mov r8, r14
mov qword [rbx + 0x10], rbp
call fcn.140040740
jmp 0x140020658
or eax, 0xffffffff
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret