Function at 0x1400c8340
Capabilities:
Create process on windows
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x640]
sub rsp, 0x740
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x630], rax
xor r15d, r15d
mov rsi, rdx
lea rax, [rsp + 0x40]
mov r13d, r9d
mov r14d, r8d
mov rdi, rcx
lea edx, [r15 + 3]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x38], 0x20410000
mov qword [rsp + 0x40], r15
mov r12d, r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea ebx, [r15 + 1]
test eax, eax
js 0x1400c83e6
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.SHELL32.dll_ILIsParent]
test eax, eax
je 0x1400c83db
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.140092a30
test eax, eax
cmove r12d, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [rdi + 0x1b24], 6
jb 0x1400c843c
test r12d, r12d
jne 0x1400c843c
lea rdx, [rsp + 0x40]
lea rcx, str.::26EE0668_A00A_44D7_9371_BEB064C98683
call fcn.140094590
test eax, eax
js 0x1400c843c
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.SHELL32.dll_ILIsParent]
test eax, eax
je 0x1400c8431
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.140092a30
test eax, eax
cmove r12d, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rsi, rsi
je 0x1400c8716
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x30]
lea rdx, [0x1400fa1e0]
mov rcx, rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x48], r15
call qword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
js 0x1400c8716
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
mov rax, qword [rcx]
mov edx, ebx
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
mov ebx, eax
call qword [rdx + reloc.SHELL32.dll_ILFindLastID]
test ebx, ebx
js 0x1400c8716
mov ecx, dword [rsp + 0x38]
mov eax, ecx
and eax, 0x20000000
je 0x1400c84dc
bt ecx, 0x16
jae 0x1400c84dc
lea rcx, [rdi - 0x38]
mov rdx, rsi
cmp dword [rdi + 0xed88], r15d
je 0x1400c84d0
mov r9d, r13d
mov r8d, r14d
call fcn.1400c82c0
jmp 0x1400c8716
lea r8, [0x140103f9c]
jmp 0x1400c8711
test eax, eax
je 0x1400c84fc
test r12d, r12d
jne 0x1400c84fc
lea rcx, [rdi - 0x38]
mov r9d, r13d
mov r8d, r14d
mov rdx, rsi
call fcn.1400c82c0
jmp 0x1400c8716
bt ecx, 0x10
jae 0x1400c8647
test r12d, r12d
jne 0x1400c8650
lea rdx, [rbp + 0x420]
mov r8d, 0x8000
mov rcx, rsi
call fcn.140092ff0
mov rbx, qword [rdi + 0x30]
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x420]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x800
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400c863b
lea rax, [rsp + 0x50]
lea r9, [rbp + 0x210]
lea r8, [rbp + 0x420]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400e6dd0
mov ebx, eax
test eax, eax
jne 0x1400c8633
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x210]
mov dword [rsp + 0x38], 0x20400000
mov qword [rsp + 0x30], r15
call fcn.140094590
test eax, eax
js 0x1400c863b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400c85c2
lea rdx, [rsp + 0x38]
call fcn.140092f70
mov rcx, qword [rsp + 0x30]
mov ebx, eax
jmp 0x1400c85c7
mov ebx, 0x80004005
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
js 0x1400c863b
mov eax, dword [rsp + 0x38]
mov ecx, eax
and ecx, 0x20000000
je 0x1400c85e5
bt eax, 0x16
jae 0x1400c85f8
test ecx, ecx
je 0x1400c863b
bt eax, 0x16
jae 0x1400c863b
cmp dword [rdi + 0xed88], r15d
je 0x1400c863b
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x210]
mov qword [rsp + 0x30], r15
call fcn.140094590
mov ebx, eax
test eax, eax
js 0x1400c863b
mov rdx, qword [rsp + 0x30]
lea rcx, [rdi - 0x38]
mov r9d, r13d
mov r8d, r14d
call fcn.1400c82c0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x1400c8716
lea r8, [0x140103fac]
jmp 0x1400c870a
test r12d, r12d
je 0x1400c8703
test eax, eax
je 0x1400c8703
lea rdx, [rbp + 0x210]
mov r8d, 0x8000
mov rcx, rsi
call fcn.140092ff0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov r8d, eax
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400c86d5
lea r8, [rsp + 0x48]
mov edx, ILFindLastID
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400c86cc
mov rcx, qword [rsp + 0x48]
lea r8, [rbp + 0x420]
lea rdx, str._windir_explorer.exe
mov r9d, 0x104
call qword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x30]
lea r9, [rbp + 0x210]
lea r8, [rbp + 0x420]
lea rdx, [0x14010bb98]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400c8716
lea r8, [0x140103fbc]
mov rdx, rsi
lea rcx, [rdi - 0x38]
call fcn.1400c40d0
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x790]
add rsp, 0x740
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret