Function at 0x1800163e0
Capabilities:
Create directory

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x150], 0
je 0x180016440
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x150]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x180016447
xor al, al
jmp 0x18001679f
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x160]
test eax, eax
je 0x180016710
mov edx, 1
lea rcx, [rsp + 0xf0]
call fcn.180014b40
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0xf0]
call fcn.180006930
nop
mov edx, 1
lea rcx, [rsp + 0x108]
call fcn.180014b40
lea rcx, [rsp + 0x108]
call fcn.180006980
nop
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x180043768]
mov rcx, qword [rsp + 0x50]
call fcn.180006930
mov qword [rsp + 0x80], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xf0]
call fcn.180014d10
mov qword [rsp + 0x28], rax
mov edx, 1
lea rcx, [rsp + 0x120]
call fcn.180014b40
cmp qword [rsp + 0x28], 0
jle 0x180016566
lea rcx, [rsp + 0xf0]
call fcn.1800072c0
mov r8, qword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.180006930
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
jmp 0x18001659f
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x90]
call fcn.180006870
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.180006870
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1800165da
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x90]
call fcn.180011170
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1800165f7
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xa8]
call fcn.180011170
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x108]
call fcn.18000fda0
lea rcx, [rsp + 0x108]
call fcn.1800072d0
mov rcx, rax
call fcn.180016b40
movzx eax, al
test eax, eax
jne 0x180016663
lea rcx, [rsp + 0x108]
call fcn.1800072d0
mov rdx, qword [rsp + 0x158]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180016663
lea rcx, [rsp + 0x120]
call fcn.180011170
jmp 0x1800166f3
lea rcx, [rsp + 0xf0]
call fcn.1800072c0
mov rcx, qword [rsp + 0x28]
lea rax, [rax + rcx*2 + 2]
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.180006930
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xf0]
call fcn.1800111f0
nop
lea rcx, [rsp + 0xc0]
call fcn.180011170
cmp qword [rsp + 0x28], 0
jle 0x1800166da
mov dx, 0x5c
lea rcx, [rsp + 0x108]
call fcn.180010660
nop
lea rcx, [rsp + 0x120]
call fcn.180011170
cmp qword [rsp + 0x28], 0
jg 0x1800164b7
lea rcx, [rsp + 0x108]
call fcn.180011170
nop
lea rcx, [rsp + 0xf0]
call fcn.180011170
jmp 0x18001672a
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18001674e
mov r8, qword [rsp + 0x150]
lea rdx, str.mini::file::CreateDirectoryLogged:__.80s..:_OK
mov ecx, 2
call fcn.1800284e0
mov al, 1
jmp 0x18001679f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xb7
jne 0x18001677f
mov r8, qword [rsp + 0x150]
lea rdx, str.mini::file::CreateDirectoryLogged:__.80s..:_OK__exists_
mov ecx, 2
call fcn.1800284e0
mov al, 1
jmp 0x18001679f
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x150]
lea rdx, str.mini::file::CreateDirectoryLogged:__.80s..:_E:_d
mov ecx, 3
call fcn.1800284e0
xor al, al
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x148
ret