Function at 0x140166dc0
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movaps xmm6, xmmword [0x1402103c0]
lea rsi, [rsp + 0xb0]
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.CreateTemporaryDirInDir
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x2a2
call fcn.1400dc390
xor edi, edi
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.1400d1670
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0x90]
call fcn.1400dc560
mov bpl, 1
xorps xmm6, xmm6
lea r15, [rsp + 0x70]
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x58]
lea rsi, [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x80], 0
mov rcx, r15
mov rdx, qword [rsp + 0x28]
call fcn.1400c8500
call sub.KERNEL32.dll_GetCurrentProcessId
mov rcx, r12
mov edx, eax
call fcn.140168f00
movsx r8, byte [rsp + 0x57]
mov rdx, r12
test r8, r8
jns 0x140166eca
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test r8, r8
js 0x1401670ea
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1401670fd
mov rcx, r13
call fcn.140034790
movsx r8, byte [rsp + 0x6f]
mov rdx, r13
test r8, r8
jns 0x140166f04
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.1400cc6b0
cmp byte [rsp + 0x6f], 0
jns 0x140166f1d
mov rcx, qword [rsp + 0x58]
call fcn.1400fc308
cmp byte [rsp + 0x57], 0
jns 0x140166f2e
mov rcx, qword [rsp + 0x40]
call fcn.1400fc308
mov rcx, r15
mov dx, 0x5f
call fcn.1400cc930
xor ecx, ecx
mov edx, 0x7fffffff
call fcn.140065c00
mov rcx, r12
mov edx, eax
call fcn.14005a1e0
movsx r8, byte [rsp + 0x57]
mov rdx, r12
test r8, r8
jns 0x140166f68
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test r8, r8
js 0x1401670ea
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1401670fd
mov rcx, r13
call fcn.140034790
movsx r8, byte [rsp + 0x6f]
mov rdx, r13
test r8, r8
jns 0x140166fa2
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.1400cc6b0
cmp byte [rsp + 0x6f], 0
jns 0x140166fbb
mov rcx, qword [rsp + 0x58]
call fcn.1400fc308
cmp byte [rsp + 0x57], 0
jns 0x140166fcc
mov rcx, qword [rsp + 0x40]
call fcn.1400fc308
movsx rcx, byte [rsp + 0x87]
test rcx, rcx
cmovs rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
cmovns rax, r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
test rcx, rcx
js 0x1401670ea
sete cl
test rax, rax
setne al
or al, cl
je 0x1401670fd
mov rcx, rbx
mov rdx, r13
mov r8, rsi
call fcn.1400dd620
mov rcx, r14
mov rdx, r13
call fcn.140068ec0
mov rcx, r13
call fcn.1400dc710
cmp byte [rsp + 0xa7], 0
mov rcx, r14
jns 0x140167041
mov rcx, qword [rsp + 0x90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1401670c2
cmp byte [rsp + 0x87], 0
jns 0x140167061
mov rcx, qword [rsp + 0x70]
call fcn.1400fc308
cmp edi, 0x31
lea eax, [rdi + 1]
setb bpl
mov edi, eax
cmp eax, 0x32
jne 0x140166e85
lea rcx, [rsp + 0x90]
call fcn.1400dc710
lea rcx, [rsp + 0xb0]
call fcn.1400d16f0
and bpl, 1
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x20]
call fcn.140068e60
cmp byte [rsp + 0x87], 0
jns 0x140167076
mov rcx, qword [rsp + 0x70]
call fcn.1400fc308
jmp 0x140167076
lea rcx, [0x140210516]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140139400
lea rcx, [0x140210516]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140139400
int3