Function at 0x14001b280
Capabilities:
Get common file path

Disassembly:
push r15
mov eax, 0x1108
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14001db00
sub rsp, rax
xor r15d, r15d
mov word [rcx], r15w
movzx eax, word [rdx]
mov rbx, rcx
mov rdi, r8
test ax, ax
je 0x14001b311
lea rsi, [rdx + 2]
xor edx, edx
lea rbp, [rsp + 0x900]
lea r13, str.TEMP
jmp 0x14001b2db
mov word [rdx], ax
add rdx, 2
movzx eax, word [rsi]
add rsi, 2
test ax, ax
je 0x14001b311
cmp ax, 0x7b
je 0x14001b330
cmp ax, 0x7d
je 0x14001b348
test rdx, rdx
jne 0x14001b2c8
test rdi, rdi
je 0x14001b438
xor ecx, ecx
mov word [rbx], ax
sub rdi, 1
add rbx, 2
mov word [rbx], cx
movzx eax, word [rsi]
add rsi, 2
test ax, ax
jne 0x14001b2db
xor eax, eax
mov word [rbx], ax
mov eax, 1
add rsp, 0x1108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
mov rdx, rbp
mov word [rsp + 0x900], r14w
jmp 0x14001b2cf
xor r12d, r12d
mov rcx, rbp
mov word [rdx], r12w
mov rdx, r13
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b500
lea rdx, [0x140025e76]
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b440
lea rdx, str.PROGRAM_BASE
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b4a0
lea rdx, [0x140025ebe]
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b6e0
lea rdx, [0x140025ec6]
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b520
lea rdx, str.CACHE_DIR
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b640
lea rdx, str.COMPANY
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b8d3
lea rdx, str.PRODUCT
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b938
lea rdx, str.VERSION
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b5c1
lea rdx, str.TIME
mov rcx, rbp
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14001b7cd
nop dword [rax]
xor eax, eax
jmp 0x14001b31b
xor ecx, ecx
mov r8d, edi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14001b438
cmp word [rbx], 0
je 0x14001b472
xor eax, eax
nop word [rax + rax]
add rbx, 2
sub rdi, 1
cmp word [rbx], 0
jne 0x14001b460
test al, al
jne 0x14001b48f
xor edx, edx
jmp 0x14001b2cf
sub rbx, 2
xor r8d, r8d
add rdi, 1
mov word [rbx], r8w
cmp word [rbx - 2], 0x5c
je 0x14001b480
xor edx, edx
jmp 0x14001b2cf
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov r8, rdi
mov rcx, rbx
lea rdx, str.PROGRAM
sub r8, rax
call fcn.14001b280
test al, al
je 0x14001b438
mov rcx, rbx
call sub.msvcrt.dll_wcslen
cmp rax, 3
jbe 0x14001b452
lea r12, [rbx + rax*2 - 8]
lea rdx, str..exe
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x14001b452
xor r11d, r11d
mov word [r12], r11w
jmp 0x14001b452
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [rbx], 0
je 0x14001b48f
mov eax, 1
jmp 0x14001b460
lea r12, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r12
mov edx, 0x28
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14001b438
cmp word [rbx], 0
mov rdx, rdi
mov rax, rbx
je 0x14001b566
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001b558
movzx r8d, word [rsp + 0xe0]
test r8w, r8w
je 0x14001b5ab
test rdx, rdx
je 0x14001b9d3
mov rcx, r12
jmp 0x14001b591
test rdx, rdx
je 0x14001b9d8
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x14001b588
xor r10d, r10d
mov word [rax], r10w
cmp word [rbx], 0
jne 0x14001b515
jmp 0x14001b48f
cmp word [rbx], 0
mov rdx, rdi
mov rax, rbx
je 0x14001b5de
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001b5d0
test rdx, rdx
je 0x140023333
lea rcx, str.1.0.0.0
mov r8d, 0x31
jmp 0x14001b609
test rdx, rdx
je 0x140023333
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x14001b600
xor r9d, r9d
mov word [rax], r9w
cmp word [rbx], 0
jne 0x14001b458
xor edx, edx
jmp 0x14001b2cf
lea r12, [rsp + 0x2f0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r12
mov edx, 0x1c
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14001b438
cmp word [rbx], 0
mov rdx, rdi
mov rax, rbx
je 0x14001b686
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001b678
movzx r8d, word [rsp + 0x2f0]
test r8w, r8w
je 0x14001b5ab
test rdx, rdx
je 0x140023333
mov rcx, r12
jmp 0x14001b6b9
test rdx, rdx
je 0x140023333
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x14001b6b0
jmp 0x14001b5ab
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r15, [rsp + 0x60]
mov edx, pe_nt_image_headers64
lea r8, [0x140025e2e]
mov r9d, eax
mov rcx, r15
call fcn.140001830
cmp word [rbx], 0
je 0x14001b998
mov r12, rdi
mov r9, rbx
nop word [rax + rax]
add r9, 2
sub r12, 1
cmp word [r9], 0
jne 0x14001b718
movzx r14d, byte [rsp + 0x60]
test r14b, r14b
je 0x14001b458
lea rax, [r15 + r12]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x500]
mov qword [rsp + 0x48], rax
nop dword [rax]
mov rax, qword [rsp + 0x40]
mov r12, r9
sub rax, r15
cmp word [r9], 0
je 0x14001b778
nop word [rax + rax]
add r12, 2
sub rax, 1
cmp word [r12], 0
jne 0x14001b768
test rax, rax
je 0x140023333
mov rcx, r12
mov qword [rsp + 0x38], r9
add r15, 1
call sub.msvcrt.dll_wcslen
mov rdx, qword [rsp + 0x48]
mov r8d, 2
mov byte [rsp + 0x500], r14b
lea rcx, [r12 + rax*2]
mov byte [rsp + 0x501], 0
call sub.msvcrt.dll_mbstowcs
mov r9, qword [rsp + 0x38]
movzx r14d, byte [r15]
add r9, 2
test r14b, r14b
jne 0x14001b750
jmp 0x14001b452
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x58]
mov edx, 0x400
lea r15, [rsp + 0x500]
lea r8, str._lld
mov rcx, r15
call fcn.140001830
cmp word [rbx], 0
je 0x14001b9b4
mov r12, rdi
mov r9, rbx
nop word [rax + rax]
add r9, 2
sub r12, 1
cmp word [r9], 0
jne 0x14001b818
movzx r8d, byte [rsp + 0x500]
test r8b, r8b
je 0x14001b458
lea rax, [rsp + 0x2f0]
add r12, r15
mov qword [rsp + 0x48], rax
nop dword [rax]
mov rax, r12
mov r14, r9
sub rax, r15
cmp word [r9], 0
je 0x14001b86f
add r14, 2
sub rax, 1
cmp word [r14], 0
jne 0x14001b860
test rax, rax
mov qword [rsp + 0x40], r9
mov byte [rsp + 0x38], r8b
je 0x140023333
mov rcx, r14
add r15, 1
call sub.msvcrt.dll_wcslen
movzx r8d, byte [rsp + 0x38]
mov byte [rsp + 0x2f1], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [r14 + rax*2]
mov byte [rsp + 0x2f0], r8b
mov r8d, 2
call sub.msvcrt.dll_mbstowcs
mov r9, qword [rsp + 0x40]
movzx r8d, byte [r15]
add r9, 2
test r8b, r8b
jne 0x14001b850
jmp 0x14001b452
cmp word [rbx], 0
mov rdx, rdi
mov rax, rbx
je 0x14001b8ee
nop
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001b8e0
test rdx, rdx
je 0x140023333
lea rcx, [0x140025e32]
mov r8d, 0x63
jmp 0x14001b919
test rdx, rdx
je 0x140023333
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x14001b910
jmp 0x14001b623
cmp word [rbx], 0
mov rdx, rdi
mov rax, rbx
je 0x14001b956
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14001b948
test rdx, rdx
je 0x140023333
lea rcx, str.MailTemplate
mov r8d, 0x4d
jmp 0x14001b979
test rdx, rdx
je 0x140023333
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x14001b970
jmp 0x14001b623
movzx r14d, byte [rsp + 0x60]
mov r12, rdi
mov r9, rbx
test r14b, r14b
jne 0x14001b736
xor edx, edx
jmp 0x14001b2cf
movzx r8d, byte [rsp + 0x500]
mov r12, rdi
mov r9, rbx
test r8b, r8b
jne 0x14001b839
xor edx, edx
jmp 0x14001b2cf
jmp 0x140023333
jmp 0x140023333
call sub.msvcrt.dll_abort
nop