Function at 0x140093360
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0xc18]
sub rsp, 0xd00
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov r15d, 0x104
lea r9, [rbp + 0x1a0]
xor r8d, r8d
mov dword [rsp + 0x20], r15d
xor edx, edx
lea rcx, [0x140313d30]
call qword [sym.imp.api_ms_win_storage_exports_internal_l1_1_0.dll_SHGetFolderPathEx]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x1400934a9
lea edx, [rax + 0x20]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrChrW]
nop dword [rax + rax]
mov rbx, rax
mov edi, r15d
mov rcx, rbx
lea rax, [rbp + 0x1a0]
sub rcx, rax
sar rcx, 1
sub rdi, rcx
test rbx, rbx
je 0x1400934a9
lea r8, [rbp + 0x1a0]
mov edx, r15d
lea rcx, [rbp + 0x5c0]
call fcn.14003d070
lea r8, [rbp + 0x1a0]
mov word [rbx], r14w
mov edx, r15d
lea rcx, [rbp + 0x9e0]
call fcn.14003d070
lea rax, [rdi - 1]
mov ecx, 0x7ffffffe
lea r13d, [r14 + 1]
cmp rax, rcx
ja 0x14018ee2c
sub rcx, rdi
lea rdx, [0x140312460]
sub rdx, rbx
lea rax, [rcx + rdi]
test rax, rax
je 0x140093475
movzx eax, word [rdx + rbx]
test ax, ax
je 0x140093475
mov word [rbx], ax
add rbx, 2
sub rdi, r13
jne 0x140093457
test rdi, rdi
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14018ee3e
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0xd00]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test rdi, rdi
je 0x140093484
mov word [rbx], r14w
jmp 0x140093484
lea r8, [rbp + 0x1a0]
mov rdx, r15
lea rcx, [rbp + 0x3b0]
call fcn.14003d070
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathRemoveFileSpecW]
nop dword [rax + rax]
lea r8, [rsp + 0x7c]
mov rdx, r15
lea rcx, [rbp + 0x3b0]
call fcn.140057dcc
mov eax, dword [rsp + 0x50]
mov ebx, r14d
and eax, 0x410
cmp eax, 0x410
jne 0x14018ef63
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], r14
lea r9, [0x14030a9b8]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x140345330]
mov r8d, 0x4001
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x14018eef8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
call fcn.1401b5d48
mov rcx, qword [rsp + 0x48]
mov esi, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
test esi, esi
js 0x14018ef63
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp + 0x7d0]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov r8d, r15d
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
test eax, eax
jne 0x14018ef51
or r9d, 0xffffffff
mov dword [rsp + 0x20], r13d
or edx, r9d
lea r8, [rbp + 0x5c0]
lea rcx, [rbp + 0x7d0]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
cmove ebx, r13d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
test byte [rsp + 0x50], 0x10
je 0x14018ef88
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14018efe3
test ebx, ebx
jne 0x14018efe3
mov rbx, qword [0x140389668]
call qword [0x1403ad6e8]
nop dword [rax + rax]
lea rcx, str.RogueProgramName
mov r8d, SafeArrayUnaccessData
mov qword [rsp + 0x30], rcx
lea r9, [0x1401b3550]
lea rcx, [rbp + 0x3b0]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rcx
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_292]
nop dword [rax + rax]
cmp eax, 5
je 0x14018efff
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14018ee3e
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
nop
jmp 0x1400934a9