Function at 0x1400d0120
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov qword [rsp + 0x40], r8
mov rdi, rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x118], rax
movaps xmm6, xmmword [0x140152e90]
lea rsi, [rsp + 0xd0]
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 + 0xb0]
mov rcx, r14
mov r9d, 0x372
call fcn.140048ae0
xor ebx, ebx
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.14004c250
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0xb0]
call fcn.140040fc0
mov bpl, 1
xorps xmm6, xmm6
lea r15, [rsp + 0x90]
lea r12, [rsp + 0x60]
lea r13, [rsp + 0x78]
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0xa0], 0
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
test r8, r8
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1400d04f1
mov rcx, r15
call fcn.14005f236
call sub.KERNEL32.dll_GetCurrentProcessId
mov rcx, r12
mov edx, eax
call fcn.140107e70
movsx r8, byte [rsp + 0x77]
mov rdx, r12
test r8, r8
jns 0x1400d0241
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test r8, r8
js 0x1400d04f1
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1400d04f1
mov rcx, r13
call fcn.14005d1d0
movsx r8, byte [rsp + 0x8f]
mov rdx, r13
test r8, r8
jns 0x1400d0281
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, r15
call fcn.140103db2
cmp byte [rsp + 0x8f], 0
jns 0x1400d029d
mov rcx, qword [rsp + 0x78]
call fcn.140091a2c
cmp byte [rsp + 0x77], 0
jns 0x1400d02ae
mov rcx, qword [rsp + 0x60]
call fcn.140091a2c
movsx rax, byte [rsp + 0xa7]
test rax, rax
jns 0x1400d04a6
mov rsi, qword [rsp + 0xa0]
movabs rax, 0x7fffffffffffffff
and rsi, rax
dec rsi
mov rax, qword [rsp + 0x98]
cmp rax, rsi
je 0x1400d04f3
mov rcx, qword [rsp + 0x90]
lea rdx, [rax + 1]
mov qword [rsp + 0x98], rdx
mov dword [rcx + rax*2], 0x5f
xor ecx, ecx
mov edx, 0x7fffffff
call fcn.140065970
mov rcx, r12
mov edx, eax
call fcn.140107dc0
movsx r8, byte [rsp + 0x77]
mov rdx, r12
test r8, r8
jns 0x1400d0332
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test r8, r8
js 0x1400d04f1
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1400d04f1
mov rcx, r13
call fcn.14005d1d0
movsx r8, byte [rsp + 0x8f]
mov rdx, r13
test r8, r8
jns 0x1400d0372
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, r15
call fcn.140103db2
cmp byte [rsp + 0x8f], 0
jns 0x1400d038e
mov rcx, qword [rsp + 0x78]
call fcn.140091a2c
cmp byte [rsp + 0x77], 0
jns 0x1400d039f
mov rcx, qword [rsp + 0x60]
call fcn.140091a2c
movsx rcx, byte [rsp + 0xa7]
test rcx, rcx
cmovs rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x90]
cmovns rax, r15
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
test rcx, rcx
js 0x1400d04f1
sete cl
test rax, rax
setne al
or al, cl
je 0x1400d04f1
mov rcx, qword [rsp + 0x48]
mov rdx, r13
lea r8, [rsp + 0x50]
call fcn.1400230b0
mov rcx, r14
mov rdx, r13
call fcn.140048de0
mov rcx, r13
call fcn.140048d70
cmp byte [rsp + 0xc7], 0
mov rcx, r14
jns 0x1400d041e
mov rcx, qword [rsp + 0xb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400d04bf
cmp byte [rsp + 0xa7], 0
jns 0x1400d0445
mov rcx, qword [rsp + 0x90]
call fcn.140091a2c
cmp ebx, 0x31
lea eax, [rbx + 1]
setb bpl
mov ebx, eax
cmp eax, 0x32
jne 0x1400d01e3
lea rcx, [rsp + 0xb0]
call fcn.140048d70
lea rcx, [rsp + 0xd0]
call fcn.14004c2d0
and bpl, 1
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140092f10
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp al, 0xa
je 0x1400d0519
lea ecx, [rax + 1]
and cl, 0x7f
mov byte [rsp + 0xa7], cl
mov rcx, r15
jmp 0x1400d02fd
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call fcn.140048d80
cmp byte [rsp + 0xa7], 0
jns 0x1400d045a
mov rcx, qword [rsp + 0x90]
call fcn.140091a2c
jmp 0x1400d045a
ud2
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rsi
mov r8d, 1
mov rcx, r15
mov rdx, rsi
mov r9, rsi
call fcn.14002f1d4
mov rax, rsi
jmp 0x1400d02e9
mov esi, 0xa
jmp 0x1400d04f3