Function at 0x140011380
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r14
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edi, 0x104
lea r8d, [r9 + 8]
mov edx, edi
lea rcx, [rbp - 0x40]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1707]
xor r14d, r14d
test eax, eax
jns 0x1400113e2
xor al, al
jmp 0x1400117d5
lea rax, str.ContainerData
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, str._s_s
mov r8, rdi
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14001426c
xor edx, edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001142d
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400113db
lea rdx, str.ReadOnly
lea rcx, [rbp - 0x68]
call fcn.14000c054
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.14000c054
mov rdx, rax
lea r8, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.14000acc0
mov edi, 0x1000
mov rax, qword [rbp - 0x70]
cmp rax, 8
jb 0x14001149f
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x140011498
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140011498
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r14w
mov rax, qword [rbp - 0x50]
cmp rax, 8
jb 0x1400114ef
mov rcx, qword [rbp - 0x68]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x1400114e8
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400114e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rdx, str.ReadWrite
lea rcx, [rbp - 0x68]
call fcn.14000c054
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.14000c054
mov rdx, rax
lea r8, [rbp - 0x68]
lea rcx, [rsp + 0x38]
call fcn.14000acc0
mov rax, qword [rbp - 0x70]
cmp rax, 8
jb 0x14001155c
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x140011555
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140011555
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r14w
mov rax, qword [rbp - 0x50]
cmp rax, 8
jb 0x1400115ac
mov rcx, qword [rbp - 0x68]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x1400115a5
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400115a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011678
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140011678
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x14001161d
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x140011616
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140011616
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x1400113db
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14001166d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001166d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400113db
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011741
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140011741
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x1400116e9
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x1400116e2
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400116e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x1400113db
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14001166d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001166d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x140011780
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x140011779
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140011779
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x1400117d3
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x1400117cc
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400117cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400443a0
lea r11, [rsp + 0x2e0]
mov rdi, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret