Function at 0x140003934
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x10c0
call fcn.140002a80
sub rsp, rax
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0x10b0], rax
xor r12d, r12d
mov rbp, rdx
lea rax, [rsp + 0x490]
mov rsi, rcx
lea edx, [r12 + 0x24]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov byte [rsp + 0x50], r12b
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, 0x104
cmp eax, r12d
mov ebx, eax
jl 0x1400039be
lea r8, str.ehomeehshell.exe
lea rcx, [rsp + 0x490]
mov rdx, rdi
call fcn.1400028b8
mov ebx, eax
cmp ebx, r12d
jl 0x140003bcf
xor r9d, r9d
lea rax, [rsp + 0x6a0]
xor r8d, r8d
lea edx, [r9 + 0x24]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, r12d
mov ebx, eax
jl 0x140003a06
lea r8, str.ehomeehres.dll
lea rcx, [rsp + 0x6a0]
mov rdx, rdi
call fcn.1400028b8
mov ebx, eax
cmp ebx, r12d
jl 0x140003bcf
xor edx, edx
lea rax, [rsp + 0x58]
lea r9, [0x14001cf00]
lea r8d, [rdx + 0x17]
lea rcx, [0x14001cbb0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r12d
mov ebx, eax
jl 0x140003bcf
lea rcx, [rsp + 0x51]
mov byte [rsp + 0x51], r12b
call fcn.140002b50
cmp byte [rsp + 0x51], r12b
je 0x140003bb6
mov rcx, qword [0x140024040]
lea r8, [rsp + 0x70]
mov r9d, edi
mov edx, 0x44d4
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, r12d
je 0x14000b796
mov rcx, qword [0x140024040]
lea r8, [rsp + 0x8b0]
mov r9d, 0x400
mov edx, 0x44d5
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, r12d
je 0x14000b796
lea rdx, str.__mcesuperbar:__guide_
lea rax, [rsp + 0x280]
lea rcx, [rsp + 0x280]
sub rdx, rax
mov ebx, r12d
lea rax, [rdi + 0x7ffffefa]
cmp rax, r12
je 0x140003ae4
movzx eax, word [rdx + rcx]
cmp ax, r12w
je 0x140003ae4
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x140003ac1
cmp rdi, r12
je 0x14000b7a0
cmp ebx, r12d
mov word [rcx], r12w
jl 0x140003bcf
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140002c58
cmp eax, r12d
mov ebx, eax
jl 0x140003bcf
cmp byte [rsp + 0x50], r12b
jne 0x140003bb6
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x8b0]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6a0]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x490]
mov dword [rsp + 0x28], 0xfffffff6
mov qword [rsp + 0x20], rax
call fcn.140003c20
cmp eax, r12d
mov ebx, eax
jl 0x140003bcf
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp eax, r12d
mov ebx, eax
jl 0x140003bcf
mov rcx, qword [0x140024078]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x70]
mov edx, 1
mov r8d, 0x600000a
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.1400029a0
mov rax, qword [rsp + 0x58]
mov ecx, 0x80004002
mov qword [rsp + 0x58], r12
cmp rax, r12
mov qword [rbp], rax
cmove ebx, ecx
mov rcx, qword [rsp + 0x60]
cmp rcx, r12
je 0x140003bdf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
jne 0x14000b7ae
mov eax, ebx
mov rcx, qword [rsp + 0x10b0]
xor rcx, rsp
call fcn.1400012d0
lea r11, [rsp + 0x10c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
mov ebx, 0x80004005
jmp 0x140003bcf
sub rcx, 2
mov ebx, 0x8007007a
jmp 0x140003aed
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x140003bed