Function at 0x1400d1f60
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x810]
sub rsp, 0x910
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x800], rax
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x1d0], eax
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::InitUserAppPath
mov edx, 0x102
lea rcx, [rbp + 0x1d4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x14016059c]
mov edi, 0x104
mov edx, edi
lea rcx, [rbp + 0x1d4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::InitUserAppPath
mov edx, edi
lea rcx, [rbp + 0x3dc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
xor r14d, r14d
add ecx, eax
je 0x1400d20ba
mov dword [rsp + 0x48], r14d
call fcn.1400057e0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400d203d
call fcn.1400057e0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x58], 0x20
mov edx, 1
lea rax, [rbp + 0x1d4]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3dc]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x58]
movsx edx, dx
call fcn.140004bd0
nop
mov qword [rsp + 0x40], r14
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x1400d20b5
nop dword [rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x1400d20a0
lock inc dword [rsp + 0x48]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5f0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x5f0]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400d245f
lea rcx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x1400d245f
cmp qword [rsp + 0x68], 0
je 0x1400d245f
mov qword [rsp + 0x60], r14
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rax, [0x140192220]
mov qword [rbp - 0x78], rax
mov word [rbp - 0x58], 0
mov dword [rbp - 0x50], 0xabcd
mov dword [rbp - 0x44], 0xabcd
lea rax, [rbp - 0x78]
mov qword [rbp - 0x4c], rax
mov dword [rbp + 0x1ca], 0xabcd
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x70], r14
mov word [rbp - 0x40], r14w
lea r8, [rsp + 0x60]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1400d2390
lea rbx, [0x140198990]
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400d2390
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1400d2390
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
call fcn.140111850
cmp qword [rax + 0x20], 0
je 0x1400d21e9
call fcn.140111850
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x14006aed5.0]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400d220b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400d2385
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
mov r9, rax
mov r8, rbx
lea rdx, str._s_s_
lea rcx, [rsp + 0x70]
call fcn.1400381c0
lea rsi, [0x140162244]
mov r8, rsi
mov rax, qword [rsp + 0x70]
test rax, rax
cmovne r8, rax
mov rdx, rdi
mov rcx, rbx
sub r8, rbx
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400d2273
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400d2273
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400d2250
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r14w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1400d2385
xor edx, edx
lea rcx, [0x14014ed90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400d22b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400d2385
mov r8, rbx
lea rdx, str._sDesktop_
lea rcx, [rsp + 0x70]
call fcn.1400381c0
mov r8, rsi
mov rax, qword [rsp + 0x70]
test rax, rax
cmovne r8, rax
mov rdx, rdi
mov rcx, rbx
sub r8, rbx
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400d2306
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400d2306
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400d22e3
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r14w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1400d2385
xor edx, edx
lea rcx, str.Profiles_
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8, rbx
lea rdx, str._sProfiles_
lea rcx, [rsp + 0x70]
call fcn.1400381c0
mov rax, qword [rsp + 0x70]
test rax, rax
cmovne rsi, rax
sub rsi, rbx
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x1400d2376
movzx eax, word [rsi + rbx]
test ax, ax
je 0x1400d2376
mov word [rbx], ax
add rbx, 2
sub rdi, 1
jne 0x1400d2354
lea rax, [rbx - 2]
test rdi, rdi
cmovne rax, rbx
mov word [rax], r14w
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400d23b9
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x14006aed5.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
nop
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400d245a
mov rbx, qword [rdx - 0xc]
test rbx, rbx
je 0x1400d245a
cmp dword [rdx - 0x10], 0xabcd
jne 0x1400d2497
cmp dword [rdx - 4], 0xabcd
jne 0x1400d2497
mov rax, qword [rbx + 0x10]
cmp dword [rdx + rax*2 + 2], 0xabcd
jne 0x1400d2497
test rbx, rbx
je 0x1400d245a
cmp byte [rbx + 0x20], 0
je 0x1400d242e
mov rcx, qword [rbx]
mov rax, qword [rcx]
add rdx, 0xfffffffffffffff0
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rdi, qword [rbx]
cmp byte [rbx + 0x21], 0
je 0x1400d244a
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14006aed5.0]
mov qword [rsp + 0x70], r14
lea rcx, [rbp + 0x1d0]
call fcn.1400091b0
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.140071e30
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
int3