Function at 0x140001000
Capabilities:
Get common file path
Set current directory

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
mov rcx, qword [rsp + 0x220]
call fcn.140008670
mov rdx, rax
mov ecx, 3
call fcn.140001bd0
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jne 0x140001099
mov rcx, qword [rsp + 0x220]
call fcn.140008670
mov rdx, rax
xor ecx, ecx
call fcn.140001bd0
mov dword [rsp + 0x10c], eax
cmp dword [rsp + 0x10c], 0
je 0x140001099
mov byte [rsp + 0x20], 1
mov dword [rsp + 0x24], 0xffffffff
cmp dword [rsp + 0x230], 0
je 0x1400010c3
cmp dword [rsp + 0x230], 4
je 0x1400010c3
cmp dword [rsp + 0x230], 5
jne 0x1400014b0
mov rcx, qword [rsp + 0x220]
call fcn.140008670
mov rdx, rax
mov ecx, 3
call fcn.140001bd0
mov dword [rsp + 0x110], eax
cmp dword [rsp + 0x110], 0
je 0x140001235
mov dx, 0x5c
mov rcx, qword [rsp + 0x220]
call fcn.140007610
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x38]
call fcn.1400084e0
nop
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400086a0
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.140008700
mov rcx, qword [rsp + 0x220]
call fcn.140008670
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x220]
call fcn.1400086a0
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x220]
call fcn.140008700
lea rcx, [rsp + 0x38]
call fcn.140008670
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r8d, 1
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x220]
call fcn.1400077a0
mov qword [rsp + 0x128], rax
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x128]
call fcn.140007bc0
mov byte [rsp + 0xa0], al
lea rcx, [rsp + 0xa8]
call fcn.1400085c0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x14000121e
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x220]
call fcn.140007280
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x38]
call fcn.1400085c0
jmp 0x140001331
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14000131d
mov dx, 0x5c
mov rcx, qword [rsp + 0x220]
call fcn.140007540
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x140001307
mov eax, dword [rsp + 0x2c]
add eax, 1
mov r8d, eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x220]
call fcn.140007860
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400085c0
mov rcx, qword [rsp + 0x220]
call fcn.140008670
mov rdx, rax
mov ecx, 3
call fcn.140001bd0
mov dword [rsp + 0x140], eax
cmp dword [rsp + 0x140], 0
je 0x1400012f1
mov dword [rsp + 0x24], 0
jmp 0x140001305
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x14000131b
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x140001331
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
cmp dword [rsp + 0x24], 0
jne 0x1400013f1
cmp dword [rsp + 0x230], 4
jne 0x1400013f1
xor r8d, r8d
lea rdx, [0x14005cc78]
mov rcx, qword [rsp + 0x220]
call fcn.140007490
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x1400013d0
mov eax, dword [rsp + 0x2c]
add eax, 1
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x220]
call fcn.140007860
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400085c0
mov dword [rsp + 0x24], 0
jmp 0x1400013ec
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
mov dword [rsp + 0x24], 0xfffffffe
jmp 0x1400014ab
cmp dword [rsp + 0x24], 0
jne 0x1400014ab
cmp dword [rsp + 0x230], 5
jne 0x1400014ab
xor r8d, r8d
lea rdx, [0x14005cc78]
mov rcx, qword [rsp + 0x220]
call fcn.140007490
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x1400014a3
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x158], eax
mov rcx, qword [rsp + 0x220]
call fcn.1400086e0
mov ecx, dword [rsp + 0x158]
sub eax, ecx
mov r8d, eax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x220]
call fcn.1400077a0
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400085c0
mov dword [rsp + 0x24], 0
jmp 0x1400019ab
cmp dword [rsp + 0x230], 1
jne 0x14000156a
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140001551
mov rcx, qword [rsp + 0x220]
call fcn.140008670
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400231bc
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x40]
call fcn.140023abc
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400085c0
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.140022a10
jmp 0x140001565
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x1400019ab
cmp dword [rsp + 0x230], 2
jne 0x1400016ac
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140001693
mov rcx, qword [rsp + 0x220]
call fcn.140008670
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400231bc
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.140023abc
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400085c0
mov dx, 0x2e
mov rcx, qword [rsp + 0x220]
call fcn.140007540
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x140001672
mov r8d, dword [rsp + 0x2c]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x220]
call fcn.140007860
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400085c0
mov dword [rsp + 0x24], 0
jmp 0x140001687
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
nop
lea rcx, [rsp + 0x60]
call fcn.140022a10
jmp 0x1400016a7
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x1400019ab
cmp dword [rsp + 0x230], 3
jne 0x14000181d
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140001804
mov rcx, qword [rsp + 0x220]
call fcn.140008670
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400231bc
mov qword [rsp + 0x1b0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x80]
call fcn.140023abc
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400085c0
mov dx, 0x2e
mov rcx, qword [rsp + 0x220]
call fcn.140007540
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x1400017e0
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x1c8], eax
mov rcx, qword [rsp + 0x220]
call fcn.1400086e0
mov ecx, dword [rsp + 0x1c8]
sub eax, ecx
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x220]
call fcn.1400077a0
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400085c0
mov dword [rsp + 0x24], 0
jmp 0x1400017f5
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
nop
lea rcx, [rsp + 0x80]
call fcn.140022a10
jmp 0x140001818
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x1400019ab
cmp dword [rsp + 0x230], 6
jne 0x1400018cd
mov dx, 0x5c
mov rcx, qword [rsp + 0x220]
call fcn.140007610
mov dx, 0x5c
mov rcx, qword [rsp + 0x220]
call fcn.140007540
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x1400018b4
mov eax, dword [rsp + 0x2c]
add eax, 1
mov r8d, eax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x220]
call fcn.140007860
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400085c0
jmp 0x1400018c8
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x1400019ab
cmp dword [rsp + 0x230], 7
jne 0x140001997
mov dx, 0x5c
mov rcx, qword [rsp + 0x220]
call fcn.140007610
mov dx, 0x5c
mov rcx, qword [rsp + 0x220]
call fcn.140007540
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jle 0x140001981
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x1f0], eax
mov rcx, qword [rsp + 0x220]
call fcn.1400086e0
mov ecx, dword [rsp + 0x1f0]
sub eax, ecx
mov r8d, eax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x220]
call fcn.1400077a0
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x220]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400085c0
jmp 0x140001995
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
jmp 0x1400019ab
lea rdx, [0x14005cb94]
mov rcx, qword [rsp + 0x220]
call fcn.140008610
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x220]
call fcn.140008700
nop
mov eax, dword [rsp + 0x24]
add rsp, 0x218
ret