Function at 0x1400f1350
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
lea rdi, [0x1401ba340]
cmp word [0x1401ba340], 0
jne 0x1400f139e
mov qword [rsp + 0x20], rdi
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.14000cd60
mov rcx, rax
test rax, rax
je 0x1400f1629
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14000c4c0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400f13fb
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400f13e0
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14000c750
nop
lea rdx, str._regsvr32.exe
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400f1405
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.1400193f0
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400f1634
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r9, qword [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, str._s__u__s___s_
lea rcx, [rsp + 0x58]
call fcn.14000ec90
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400f161e
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdi, [0x14011c160]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000c4c0
test al, al
jne 0x1400f14cb
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400f14b0
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000c750
nop
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
mov rcx, rdi
call fcn.14000ec00
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400efa40
test eax, eax
jne 0x1400f158a
mov r8d, 0x297
lea rdx, str.CWin32AppMgr::UnregisterDll
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
nop
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x1400f1539
lfence
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f1562
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f1586
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
xor eax, eax
jmp 0x1400f15ff
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x1400f15ad
lfence
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f15d6
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f15fa
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000ce90
nop
mov ecx, 0x80004005
call fcn.14000ce90
nop
mov ecx, 0x80004005
call fcn.14000ce90
int3