Function at 0x1401126b0
Capabilities:
Create directory

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x368
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x358], rax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x380]
call fcn.140004910
mov rcx, rax
call fcn.14000f840
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14011270c
mov al, 1
jmp 0x140112a3c
movzx eax, byte [rsp + 0x390]
test eax, eax
je 0x1401128a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1401128a8
mov dl, 1
mov rcx, qword [rsp + 0x380]
call fcn.140112f70
movzx eax, al
test eax, eax
jne 0x1401128a1
call fcn.140113880
cmp eax, 2
jle 0x140112756
jmp 0x14011285f
lea rcx, [rsp + 0x34]
call fcn.140004910
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x380]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14001b780
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x318]
call fcn.1400b75a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x5d
lea r8, [0x1401a2e80]
lea rdx, [0x1401a2f10]
lea rcx, [rsp + 0x110]
call fcn.1400b5f40
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x58]
call fcn.140004910
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140003a20
lea rdx, str._not_a_directory
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x14011287d
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x110]
call fcn.1400b60e0
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14011289a
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x318]
call fcn.140009160
xor al, al
jmp 0x140112a3c
mov al, 1
jmp 0x140112a3c
call fcn.140113880
cmp eax, 2
jle 0x1401128b7
jmp 0x1401129ff
lea rcx, [rsp + 0x35]
call fcn.140004910
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x380]
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14001b780
lea rcx, [rsp + 0xe0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x338]
call fcn.1400b75a0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x62
lea r8, [0x1401a2f80]
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x210]
call fcn.1400b67e0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140004910
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140003a20
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 8
test eax, eax
je 0x140112a1d
and dword [rsp + 0x30], 0xfffffff7
lea rcx, [rsp + 0x210]
call fcn.1400b6840
nop
mov eax, dword [rsp + 0x30]
and eax, 4
test eax, eax
je 0x140112a3a
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x338]
call fcn.140009160
xor al, al
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x368
pop rdi
pop rsi
ret