Function at 0x140073d60
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x70
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rcx
mov qword [r11 - 0x30], rcx
lea rbx, [0x1400d9980]
cmp word [0x1400d9980], 0
jne 0x140073dba
mov qword [r11 - 0x58], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
call fcn.140004150
mov rcx, rax
test rax, rax
jne 0x140073dd2
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
or rdi, 0xffffffffffffffff
test rbx, 0xffffffffffff0000
jne 0x140073e0f
movzx ebx, bx
mov ecx, ebx
call fcn.1400055d0
test rax, rax
je 0x140073e2d
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005290
jmp 0x140073e2d
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140073e12
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140003c30
nop
lea rdx, str._regsvr32.exe
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140073e40
mov r8d, eax
lea rcx, [rsp + 0x58]
call fcn.14000ccb0
call fcn.140004150
mov rcx, rax
test rax, rax
jne 0x140073e6f
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r9, qword [r14]
mov r8, qword [rsp + 0x58]
lea rdx, str._s__s___s_
lea rcx, [rsp + 0x60]
call fcn.1400053a0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rdx, [0x140094658]
lea rcx, [rsp + 0x38]
call fcn.140005160
mov rbx, rax
mov rsi, qword [rsp + 0x60]
add rsi, 0xffffffffffffffe8
mov rcx, rsi
call fcn.140005200
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140073010
test eax, eax
jne 0x140073f50
mov r8d, 0x1c6
lea rdx, str.CWin32AppMgr::RegisterDll
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14002f950
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140073f13
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140073f32
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140073f4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140073fa7
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140073f69
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140073f88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140073fa2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140076320
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret