Function at 0x1400e0bb0
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 [0x1401b8010]
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, [0x1401815c4]
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
xor r14d, r14d
add ecx, eax
je 0x1400e0d0a
mov dword [rsp + 0x48], r14d
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400e0c8d
call fcn.140005ad0
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.140004c90
nop
mov qword [rsp + 0x40], r14
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x1400e0d05
nop dword [rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x1400e0cf0
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 0x1400e10af
lea rcx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x1400e10af
cmp qword [rsp + 0x68], 0
je 0x1400e10af
mov qword [rsp + 0x60], r14
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rax, [0x1401b9240]
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 0x1400e0fe0
lea rbx, [0x1401c0bd0]
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400e0fe0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1400e0fe0
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
call fcn.14012ab60
cmp qword [rax + 0x20], 0
je 0x1400e0e39
call fcn.14012ab60
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x140077645.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 0x1400e0e5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400e0fd5
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.14003dd10
lea rsi, [0x1401836d8]
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 0x1400e0ec3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400e0ec3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400e0ea0
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 0x1400e0fd5
xor edx, edx
lea rcx, [0x140170100]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400e0f07
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400e0fd5
mov r8, rbx
lea rdx, str._sDesktop_
lea rcx, [rsp + 0x70]
call fcn.14003dd10
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 0x1400e0f56
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400e0f56
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400e0f33
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 0x1400e0fd5
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.14003dd10
mov rax, qword [rsp + 0x70]
test rax, rax
cmovne rsi, rax
sub rsi, rbx
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x1400e0fc6
movzx eax, word [rsi + rbx]
test ax, ax
je 0x1400e0fc6
mov word [rbx], ax
add rbx, 2
sub rdi, 1
jne 0x1400e0fa4
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 0x1400e1009
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140077645.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
nop
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400e10aa
mov rbx, qword [rdx - 0xc]
test rbx, rbx
je 0x1400e10aa
cmp dword [rdx - 0x10], 0xabcd
jne 0x1400e10e7
cmp dword [rdx - 4], 0xabcd
jne 0x1400e10e7
mov rax, qword [rbx + 0x10]
cmp dword [rdx + rax*2 + 2], 0xabcd
jne 0x1400e10e7
test rbx, rbx
je 0x1400e10aa
cmp byte [rbx + 0x20], 0
je 0x1400e107e
mov rcx, qword [rbx]
mov rax, qword [rcx]
add rdx, 0xfffffffffffffff0
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
mov rdi, qword [rbx]
cmp byte [rbx + 0x21], 0
je 0x1400e109a
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140077645.0]
mov qword [rsp + 0x70], r14
lea rcx, [rbp + 0x1d0]
call fcn.140004e30
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.14007e250
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