Function at 0x140073e7a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov ebp, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ecx, 0x70
call fcn.140082e84
mov rdi, rax
lea rax, fcn.140051050
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov rcx, rbx
mov rdx, r14
call fcn.140043e20
lea rcx, [rdi + 0x20]
call fcn.140047802
lea r14, [rdi + 0x48]
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], 0
mov rcx, r14
call fcn.140043e00
mov byte [rdi + 0x60], 0
test bpl, bpl
jne 0x140074085
cmp byte [rdi + 0x1f], 0
mov rcx, rbx
jns 0x140073f0c
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074279
test al, 0x10
je 0x1400742e9
lea rax, str.reports
lea r8, [rsp + 0x40]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r15, [rsp + 0x50]
mov rcx, rbx
mov rdx, r15
call fcn.140045bb0
cmp byte [r15 + 0x17], 0
jns 0x140073f56
mov r15, qword [rsp + 0x50]
mov rcx, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140073fa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14007409a
cmp byte [rsp + 0x67], 0
js 0x140073f84
lea rcx, [rsp + 0x50]
jmp 0x140073f89
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074192
test al, 0x10
je 0x1400741fb
lea r15, [rsp + 0x50]
mov rcx, r15
call fcn.140044180
mov rcx, rdi
mov rdx, r15
call fcn.140054a12
cmp byte [r15 + 0x17], 0
jns 0x140073fc4
mov r15, qword [rsp + 0x50]
mov rcx, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14007400e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14007409a
cmp byte [rsp + 0x67], 0
js 0x140073ff2
lea rcx, [rsp + 0x50]
jmp 0x140073ff7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074192
test al, 0x10
je 0x1400741fb
lea rcx, [rsp + 0x50]
call fcn.140044180
lea rax, str.throttle_store.dat
lea r8, [rsp + 0x30]
mov qword [r8], rax
mov qword [r8 + 8], 0x12
lea r15, [rsp + 0x90]
mov rcx, rbx
mov rdx, r15
call fcn.140045bb0
mov rcx, r14
mov rdx, r15
call fcn.14001fcbc
mov ebx, eax
mov rcx, r15
call fcn.140044180
test bl, bl
je 0x14007417d
mov qword [rsi], rdi
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400843b0
mov rax, rsi
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rbx
call fcn.1400731c1
test al, al
jne 0x140073f23
jmp 0x14007417d
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x140074173
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x90]
mov r8d, 0x276
mov r9d, 2
call fcn.140061d70
lea rcx, [rsp + 0xa0]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140027259
lea rdx, [rsp + 0x50]
movzx ecx, byte [rdx + 0x17]
mov r8d, ecx
and r8d, 0x7f
test cl, cl
cmovs r8, qword [rdx + 8]
mov rbx, rax
cmovs rdx, qword [rdx]
lea r15, [rsp + 0x68]
mov rcx, r15
call fcn.140023118
lea r14, [rsp + 0x78]
mov rcx, r14
mov rdx, r15
call fcn.14003ce80
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
js 0x14007413a
and r8d, 0x7f
jmp 0x140074147
mov r8, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov rcx, rbx
mov rdx, r14
call fcn.140027259
cmp byte [rsp + 0x8f], 0
jns 0x140074166
mov rcx, qword [rsp + 0x78]
call fcn.140082ec0
lea rcx, [rsp + 0x90]
call fcn.140061df0
lea rcx, [rsp + 0x50]
call fcn.140044180
mov qword [rsi], 0
test rdi, rdi
je 0x140074062
jmp 0x140074365
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x140074173
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov r8d, 0x262
mov r9d, 2
call fcn.140061d70
lea rcx, [rsp + 0xa0]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027259
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140062760
mov rcx, rbx
jmp 0x14007416e
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x140074173
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0x90]
mov rcx, rbx
mov r8d, 0x266
mov r9d, 2
call fcn.1400616f0
lea rcx, [rsp + 0xa0]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027259
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140062760
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140027259
mov rcx, rbx
call fcn.1400823c0
jmp 0x140074173
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x14007417d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r8d, 0x262
mov r9d, 2
call fcn.140061d70
lea rcx, [rsp + 0xa0]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027259
mov rcx, rax
mov rdx, rbx
call fcn.140062760
mov rcx, r14
call fcn.140061df0
jmp 0x14007417d
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x14007417d
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r8d, 0x266
mov r9d, 2
call fcn.1400616f0
lea rcx, [rsp + 0xa0]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027259
mov rcx, rax
mov rdx, rbx
call fcn.140062760
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140027259
mov rcx, r14
call fcn.1400823c0
jmp 0x14007417d
mov rcx, rdi
mov edx, 1
call fcn.140051050
jmp 0x140074062