Function at 0x140036800
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
movzx edi, r8b
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x140036838
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140036a60
test dil, dil
je 0x140036967
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140036967
mov dl, 1
mov rcx, rbx
call fcn.140036370
test al, al
jne 0x140036a60
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140036881
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 2
mov r9d, 0x5d
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x50]
call fcn.1400406b0
nop
mov dword [rsp + 0x30], 3
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400368f4
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
lea rdx, str._not_a_directory
mov rcx, rax
call fcn.1400012c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400408c0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140036a5c
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036a57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036a57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140036974
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x62
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 0xc
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400369ff
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140036a5c
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036a57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036a57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
jmp 0x140036a62
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret