Function at 0x14004bb44
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
mov byte [rax + 0x10], dl
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov qword [rax - 0x358], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x40], r13d
cmp byte [rcx], r13b
jne 0x14004c389
test r8b, r8b
je 0x14004bc12
call fcn.140045480
lea rdx, [rsp + 0x130]
mov rcx, rax
call fcn.140049128
nop
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x110]
mov rcx, qword [rax]
call fcn.140048d60
nop
lea edi, [r13 + 3]
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
lea rdx, [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14008e218
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x50]
sar rax, 4
test rax, rax
sete bl
lea rcx, [rsp + 0x50]
call fcn.14004ebc4
test bl, bl
mov r15b, r13b
jne 0x14004bc15
mov r15b, 1
test dil, 2
je 0x14004bc60
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
mov rbx, qword [rsp + 0x118]
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14004bc5e
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004bc5a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004bc5a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
jmp 0x14004bc64
or rsi, 0xffffffffffffffff
test dil, 1
je 0x14004bca9
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
mov rbx, qword [rsp + 0x138]
test rbx, rbx
je 0x14004bca9
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004bca5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004bca5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
mov edx, reloc.Cabinet.dll_FCIDestroy
test r15b, r15b
je 0x14004c36f
lea r9, str.Orchestration::Initialize___Initializing_Orchestration
mov ecx, 0x34d4db
lea r8d, [rdx + 0x24]
call sub.Mso20Win32Client.dll_Ordinal_203
call fcn.140045480
lea rdx, [rsp + 0x168]
mov rcx, rax
call fcn.140049128
nop
lea rdx, [rsp + 0x120]
mov rcx, qword [rax]
call fcn.140048d60
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r13
lea rdx, [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14008e218
mov rax, qword [rsp + 0x98]
sub rax, qword [rsp + 0x90]
sar rax, 4
test rax, rax
sete r15b
lea rcx, [rsp + 0x90]
call fcn.14004ebc4
nop
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x14004bd78
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004bd74
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004bd74
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x170]
test rbx, rbx
je 0x14004bdb0
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004bdac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004bdac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
test r15b, r15b
je 0x14004bdbe
lea rcx, [r14 + 0x28]
call fcn.14011fec4
call fcn.140045480
lea rdx, [rsp + 0x158]
mov rcx, rax
call fcn.140018960
nop
lea rdx, [rsp + 0x258]
mov rcx, qword [rax]
call fcn.1400fc4f8
cmp qword [rax + 0x18], 8
jb 0x14004bdee
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x258]
call fcn.140007eb8
nop
mov rbx, qword [rsp + 0x160]
test rbx, rbx
je 0x14004be42
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004be3e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004be3e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov r12d, eax
test eax, eax
jne 0x14004c0aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x48]
lea rdx, str.Failed_to_acquire_Crypto_context._Last_error:__d
lea rcx, [rsp + 0x278]
call fcn.1400192f8
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14004bea2
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov eax, 7
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1e8], r13
mov word [rsp + 0x1d8], r13w
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1a8], r13
mov word [rsp + 0x198], r13w
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1c8], r13
mov word [rsp + 0x1b8], r13w
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x188], r13
mov word [rsp + 0x178], r13w
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x198]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1b8]
lea r8, [rsp + 0x178]
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x350]
call fcn.14000df40
mov r15, rax
lea rcx, [rsp + 0x2c0]
call fcn.1400f6db0
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0xa8], rcx
lea rcx, str.ContextData
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rbx
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea r9, str.Orchestration::Initialize
mov edx, 0x3ae
mov ecx, 0x645102
mov r8d, 0xa
call fcn.14000b4a8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2e8]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2c8]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3c0]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3a0]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x380]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x360]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x178]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b8]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x198]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d8]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x278]
call fcn.140007eb8
call fcn.140045480
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.140018960
nop
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rax]
call fcn.1400fc5bc
nop
lea r15, [r14 + 0x28]
mov rdx, rax
mov rcx, r15
call fcn.140120ce8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1f8]
call fcn.140007eb8
nop
mov rbx, qword [rsp + 0x108]
test rbx, rbx
je 0x14004c12c
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004c128
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004c128
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
test r12d, r12d
je 0x14004c141
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rdx, [r14 + 8]
mov rcx, r15
call fcn.1401224f4
call fcn.140099244
test al, al
jne 0x14004c237
call fcn.140045480
lea rdx, [rsp + 0xe8]
mov rcx, rax
call fcn.140049128
nop
or edi, 4
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0xd8]
mov rcx, qword [rax]
call fcn.140048d60
nop
or edi, 8
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
lea rdx, [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14008e218
mov rax, qword [rsp + 0x70]
sub rax, qword [rsp + 0x68]
sar rax, 4
test rax, rax
sete bl
lea rcx, [rsp + 0x68]
call fcn.14004ebc4
test bl, bl
jne 0x14004c237
call fcn.140045480
lea rdx, [rsp + 0x140]
mov rcx, rax
call fcn.140018960
nop
or edi, 0x10
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x298]
mov rcx, qword [rax]
call fcn.1400fc668
nop
or edi, 0x20
mov dword [rsp + 0x40], edi
lea rdx, [0x140271f78]
cmp qword [0x140271f90], 8
cmovae rdx, qword [0x140271f78]
cmp qword [rax + 0x18], 8
jb 0x14004c222
mov rax, qword [rax]
xor r9d, r9d
mov r8, rsi
mov rcx, rax
call fcn.140006f18
test eax, eax
mov r15b, 1
je 0x14004c23a
mov r15b, r13b
test dil, 0x20
je 0x14004c25a
and edi, 0xffffffdf
mov dword [rsp + 0x40], edi
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x298]
call fcn.140007eb8
nop
test dil, 0x10
je 0x14004c29f
and edi, 0xffffffef
mov dword [rsp + 0x40], edi
mov rbx, qword [rsp + 0x148]
test rbx, rbx
je 0x14004c29f
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004c29b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004c29b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
test dil, 8
je 0x14004c2e4
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
mov rbx, qword [rsp + 0xe0]
test rbx, rbx
je 0x14004c2e4
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004c2e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004c2e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x40]
test dil, 4
je 0x14004c31f
mov rbx, qword [rsp + 0xf0]
test rbx, rbx
je 0x14004c31f
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14004c31f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004c31f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test r15b, r15b
je 0x14004c358
lea rcx, [rsp + 0x44]
call fcn.140098370
test al, al
je 0x14004c358
lea r9, str.Orchestration::Initialize___Initializing_RSOD_during_Orchestration
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x45025d
lea r8d, [rdx + 1]
call sub.Mso20Win32Client.dll_Ordinal_203
xor edx, edx
lea rcx, [rsp + 0x44]
call fcn.140099068
mov byte [r14], 1
lea r9, str.Orchestration::Initialize___Done_Initializing_Orchestration
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x34d4dc
jmp 0x14004c37b
lea r9, str.Orchestration::Initialize___Skipping_Orchestration_because_no_Active_Config
mov ecx, 0x60a4d8
mov r8d, 0x64
call sub.Mso20Win32Client.dll_Ordinal_203
nop
jmp 0x14004c3a3
lea r9, str.Orchestration::Initialize___Orchestration_has_already_been_initialized.
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x35410c
lea r8d, [rdx + 0x56]
call sub.Mso20Win32Client.dll_Ordinal_203
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret