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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0xd50]
sub rsp, 0xe50
mov rax, qword [0x14003f2f0]
xor rax, rsp
mov qword [rbp + 0xd40], rax
mov rbx, rcx
lea rcx, [rbp + 0x144]
xor esi, esi
xor edx, edx
mov r8d, 0x1fc
mov dword [rbp + 0x140], esi
call fcn.1400166f0
lea rcx, [rbp + 0x344]
xor edx, edx
mov r8d, 0x1fc
mov dword [rbp + 0x340], esi
call fcn.1400166f0
lea rcx, [rbp + 0x944]
xor edx, edx
mov r8d, 0x1fc
mov dword [rbp + 0x940], esi
call fcn.1400166f0
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x1fc
mov dword [rsp + 0x40], esi
call fcn.1400166f0
mov rcx, rbx
call fcn.140005b10
test eax, eax
je 0x140009b54
mov dword [rsp + 0x30], 1
mov qword [rsp + 0xe68], rdi
lea rdi, [0x140042700]
lea r9, [rsp + 0x40]
lea r8, [0x14002ce18]
lea rdx, str.InsFile
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.14000db60
mov dword [rsp + 0x30], esi
lea r9, [rbp + 0x140]
lea r8, [0x14002ce18]
lea rdx, [0x140030880]
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.14000db60
mov dword [rsp + 0x30], esi
lea r9, [rbp + 0x340]
lea r8, [0x14002ce18]
lea rdx, str.DisplayName
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.14000db60
mov dword [rsp + 0x30], esi
lea r9, [rbp + 0x940]
lea r8, [0x14002ce18]
lea rdx, str.SortIndex
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.14000db60
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x140]
lea rcx, str._nCreating_IEWebSlice__s_in_IE_Settings_File__s
call fcn.14000adf0
lea rax, [rbp + 0x140]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], si
jne 0x140009970
test rbx, rbx
jne 0x14000998f
lea rcx, str._nIEWebSliceUrl_not_specified
call fcn.140017d0c
jmp 0x140009b4c
mov rax, rsi
movzx ecx, word [rsp + rax + 0x40]
lea rax, [rax + 2]
mov word [rbp + rax + 0x53e], cx
test cx, cx
jne 0x140009992
mov edi, 0x5c
lea rcx, [rbp + 0x540]
mov edx, edi
call fcn.140016d28
test rax, rax
je 0x1400099c3
mov word [rax], si
lea rdx, [0x14002ccd0]
lea rcx, [rbp + 0x540]
call fcn.140016fd4
test rax, rax
je 0x140009a1a
nop dword [rax + rax]
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009a01
lea rcx, [rbp + 0x540]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [0x14002ccd0]
xor ecx, ecx
call fcn.140016fd4
test rax, rax
je 0x140009a1a
mov word [rax - 2], di
jmp 0x1400099e0
test ebx, ebx
je 0x140009b36
lea rcx, [rbp + 0x744]
xor edx, edx
mov r8d, 0x1fc
mov dword [rbp + 0x740], esi
call fcn.1400166f0
lea rcx, [rbp + 0xb44]
xor edx, edx
mov r8d, 0x1fc
mov dword [rbp + 0xb40], esi
call fcn.1400166f0
lea r8, [rbp + 0x940]
lea rdx, str.FavBar_WebSlice__s_Name
lea rcx, [rbp + 0x740]
call fcn.140018028
lea r8, [rbp + 0x940]
lea rdx, str.FavBar_WebSlice__s
lea rcx, [rbp + 0xb40]
call fcn.140018028
lea rdx, str..url
lea rcx, [rbp + 0x340]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x340]
lea rdx, [rbp + 0x740]
lea rcx, str.FavoritesBar
mov dword [rsp + 0x20], esi
call fcn.1400135d0
test eax, eax
jne 0x140009aee
lea r9, [rbp + 0x340]
lea r8, [rbp + 0x740]
lea rdx, [rsp + 0x40]
lea rcx, str._nError_Creating_Webslice_Entry_in__s__FavoritesBar____s_s
call fcn.14000adf0
mov dword [0x1400434f8], 1
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0xb40]
lea rcx, str.FavoritesBar
mov dword [rsp + 0x20], esi
call fcn.1400135d0
test eax, eax
jne 0x140009b4c
lea r9, [rbp + 0x140]
lea r8, [rbp + 0xb40]
lea rdx, [rsp + 0x40]
lea rcx, str._nError_Creating_Webslice_Entry_in__s__FavoritesBar____s_s
call fcn.14000adf0
jmp 0x140009b42
lea rcx, str._nError_blank_IE_Webslice_URL_cannot_be_set_in_Settings_File
call fcn.14000adf0
mov dword [0x1400434f8], 1
mov rdi, qword [rsp + 0xe68]
mov rcx, qword [rbp + 0xd40]
xor rcx, rsp
call fcn.1400161c0
lea r11, [rsp + 0xe50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret