Function at 0x1400f3940
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1406fe698]
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 0x1400f3978
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400f3b97
test dil, dil
je 0x1400f3aa5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400f3aa5
mov dl, 1
mov rcx, rbx
call fcn.1400f34b0
test al, al
jne 0x1400f3b97
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f39c1
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.1400feb60
mov rbx, rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 2
mov r9d, 0x5d
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_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.1400fd530
nop
mov dword [rsp + 0x30], 3
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f3a34
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
lea rdx, str._not_a_directory
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd740
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f3b93
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f3bc0
jmp 0x1400f3b8e
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f3ab2
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.1400feb60
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:3party_code_sentry_nativeexternalcrashpadutil_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.1400fd6c0
nop
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400dbf30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f3b3d
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f3b93
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f3bba
call fcn.140133e68
xor al, al
jmp 0x1400f3b99
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140134a90
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
call fcn.1401462a8
int3
call fcn.1401462a8
int3