Function at 0x14000bd54
Capabilities:
Create shortcut via ishelllink
Enumerate files on windows
Enumerate files recursively
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1a10]
mov eax, 0x1b10
call fcn.14002b5e0
sub rsp, rax
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rbp + 0x1a00], rax
mov rdi, rdx
mov ebx, r8d
mov qword [rsp + 0x48], rdx
mov rsi, rcx
lea rdx, [rbp + 0x3d0]
mov r8d, 0x104
mov rcx, rdi
mov dword [rsp + 0x38], ebx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
xor ecx, ecx
dec eax
cmp eax, 0x102
jbe 0x14000be23
mov word [rbp + 0x3d0], cx
lea rcx, [rbp + 0x1c0]
mov r8, rdi
mov edx, 0x104
call fcn.140009608
test eax, eax
js 0x14000be23
lea rcx, [rbp + 0x1c0]
call fcn.140010bd0
lea rdx, [rbp + 0x3d0]
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, 0x102
ja 0x14000be23
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea r8, [rbp + 0x1c0]
lea rcx, [rbp + 0x3d0]
mov r9, rax
mov edx, 0x104
call fcn.140011294
lea rdx, [rbp + 0x7f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14000c294
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x14000c287
lea rdx, [rsp + 0x70]
lea rcx, [0x140002960]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x14000c174
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x140003be8]
lea r8d, [rdx + 1]
lea rcx, [0x140001320]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000c169
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [0x140031ba0]
lea r8, [rsp + 0x58]
lea rdx, [0x140001360]
mov rcx, rdi
call rbx
test eax, eax
js 0x14000c146
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x140031ba0]
lea rdx, [rbp - 0x64]
xor r8d, r8d
mov rcx, rdi
call rbx
test eax, eax
js 0x14000c114
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x140031ba0]
xor eax, eax
lea rdx, [rbp + 0x1c0]
xor r9d, r9d
mov r8d, 0x104
mov rcx, rdi
mov dword [rsp + 0x20], eax
call rbx
xor ebx, ebx
test eax, eax
js 0x14000bff2
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14000bf6a
cmp word [rbp + 0x3d0], bx
je 0x14000bff2
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14000bff2
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x50]
mov rcx, rbx
call qword [0x140031ba0]
lea rdx, [rbp + 0xa00]
mov r8d, 0x800
mov rcx, rdi
call rbx
xor edi, edi
test eax, eax
js 0x14000bff2
lea rcx, [rbp + 0xa00]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
cmp word [rbp + 0xa00], di
je 0x14000bfe1
lea rdx, [0x140002970]
lea rcx, [rbp + 0xa00]
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x14000bfe1
lea rdx, [0x140002980]
lea rcx, [rbp + 0xa00]
call qword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x14000c114
lea rdx, [rbp - 0x64]
mov rcx, rsi
call fcn.14000bc24
jmp 0x14000c114
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x140031ba0]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rbx
xor edi, edi
test eax, eax
js 0x14000c114
mov rbx, qword [rsp + 0x40]
lea rcx, [0x140003440]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test rax, rax
je 0x14000c03f
mov rdx, rax
mov rcx, rbx
call fcn.14000bcc0
jmp 0x14000c041
mov eax, edi
test eax, eax
je 0x14000c051
lea rdx, [rbp - 0x64]
mov rcx, rsi
call fcn.14000bc24
mov rbx, qword [rsp + 0x40]
lea rcx, [0x1400034a0]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test rax, rax
je 0x14000c075
mov rdx, rax
mov rcx, rbx
call fcn.14000bcc0
jmp 0x14000c077
mov eax, edi
test eax, eax
je 0x14000c109
lea rax, [rsp + 0x60]
lea rdx, [0x140002fe0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c109
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x3c]
lea r9, [rbp + 0x5e0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], SHFlushSFCache
call fcn.14000b53c
test eax, eax
jne 0x14000c0fe
cmp di, word [rbp + 0x5e0]
je 0x14000c0f2
lea rdx, [rbp + 0x5e0]
lea rcx, [0x140003628]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14000c0fe
lea rdx, [rbp - 0x64]
mov rcx, rsi
call fcn.14000bc24
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000bec8
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140031ba0]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140031ba0]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 1
jne 0x14000c287
mov ebx, 0x104
lea rcx, [rbp + 0x1c0]
mov r8, rsi
mov edx, ebx
call fcn.140009608
lea r8, [0x140002990]
lea rcx, [rbp + 0x1c0]
mov edx, ebx
call fcn.14000b1a0
xor ecx, ecx
test eax, eax
js 0x14000c287
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 1]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x1c0]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000c287
lea rdx, [0x140002998]
lea rcx, [rbp - 0x64]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14000c268
lea rdx, [0x14000299c]
lea rcx, [rbp - 0x64]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14000c268
lea rcx, [rbp + 0x1c0]
mov r8, rsi
mov edx, 0x104
call fcn.140009608
lea r8, [0x1400029a4]
lea rcx, [rbp + 0x1c0]
mov edx, 0x104
call fcn.14000b1a0
test eax, eax
js 0x14000c268
lea r8, [rbp - 0x64]
lea rcx, [rbp + 0x1c0]
mov edx, 0x104
call fcn.14000b1a0
test eax, eax
js 0x14000c268
lea rcx, [rbp + 0x1c0]
mov r8d, 1
mov rdx, rdi
call fcn.14000bd54
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000c1e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rbp + 0x1a00]
xor rcx, rsp
call fcn.14002ad70
mov rbx, qword [rsp + 0x1b48]
add rsp, 0x1b10
pop rdi
pop rsi
pop rbp
ret