Function at 0x14015b910
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x770
mov qword [rax - 0x6c8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x760], rax
mov rdi, rcx
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_488
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14015b983
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
lea rdx, str.Nitro_
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x14015b9ad
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14015b9df
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14015b9df
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
lea rdx, str.Pro_
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x14015ba09
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14015ba3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14015ba3b
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
lea rcx, [rdi + 0x47c]
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x90]
call fcn.140161fc0
movsx r9d, word [rsp + 0x90]
mov qword [rsp + 0x20], 0
lea r8, str._d._d_
mov edx, reloc.mfc120u.dll_Ordinal_261
lea rcx, [rsp + 0x360]
call qword [sym.imp.MSVCR120.dll_swprintf_s]
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x14015bac3
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14015baf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14015baf5
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
lea rdx, str.ButtonLog.txt
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x14015bb1f
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
xor r9d, r9d
mov r8d, 0x3041
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_11518
test eax, eax
jne 0x14015bb4f
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
xor al, al
jmp 0x14015be25
lea rdx, str.HKLM_Registry_key_:_HKEY_LOCAL_MACHINE......_settingsUIRibbon_n
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rdx, str.HKCU_Registry_key_:_HKEY_CURRENT_USER......_settingsUIRibbon_n
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rdx, str.Value_:_DWORD_n
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0xc0], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140002910
nop
mov rbx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_14085
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
cmp rcx, rax
je 0x14015bbfc
call qword [sym.imp.MSVCR120.dll_free]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0xc0], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140002910
nop
mov rbx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_14085
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
cmp rcx, rax
je 0x14015bc73
call qword [sym.imp.MSVCR120.dll_free]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0xc0], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140002910
nop
mov rbx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_14085
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
cmp rcx, rax
je 0x14015bce4
call qword [sym.imp.MSVCR120.dll_free]
mov rdi, qword [rdi + 0x2898]
mov rbx, qword [rdi]
nop
cmp rbx, rdi
je 0x14015bdcb
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x140467260]
call qword [rax + 0x38]
mov rsi, rax
mov rdx, rax
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_290]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_14085
mov r8d, 1
lea rdx, [0x1402d83a0]
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_14085
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_4596
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
cmp byte [rbx + 0x19], 0
jne 0x14015bcf0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015bda1
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015bcf0
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015bd90
jmp 0x14015bcf0
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015bdc3
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x14015bdc3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015bdb0
mov rbx, rax
jmp 0x14015bcf0
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_2759
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_1117
mov al, 1
jmp 0x14015be25
mov rcx, qword [rsp + 0x760]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret