Function at 0x140153b10
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa90]
sub rsp, 0xb90
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xbe0], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0xa80], rax
mov r15, rdx
movzx r13d, cx
movsd xmm0, qword [0x1403329a0]
movsd qword [rbp + 0x430], xmm0
movzx eax, word [0x1403329a8]
mov word [rbp + 0x438], ax
mov word [rbp + 0x430], cx
mov dword [rbp + 0x1e0], 0
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp + 0x1e4]
call fcn.1402a04b0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x140153bc0
xor al, al
jmp 0x140153e31
xor dil, dil
mov eax, dword [rbp + 0x1e0]
and eax, 0x16
cmp al, 0x16
jne 0x140153e0c
movzx r14d, r13w
lea rax, [rbp + 0x20c]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, str._c:_s
mov edx, 0x109
lea rcx, [rbp + 0x440]
call fcn.14029b4b4
mov dword [rbp - 0x70], 0
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp - 0x6c]
call fcn.1402a04b0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140153e0c
lea r12, [0x140323de0]
nop dword [rax]
test byte [rbp - 0x70], 0x10
je 0x140153de4
cmp word [rbp - 0x44], 0x2e
je 0x140153de4
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20c]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, str._c:_s_s
mov edx, 0x20d
lea rcx, [rbp + 0x660]
call fcn.14029b4b4
lea rdx, str.S_1_5_18
lea rcx, [rbp - 0x44]
call fcn.14029848c
test eax, eax
je 0x140153d4d
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rbp + 0x660]
call qword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
js 0x140153de4
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [0x1402df9a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHBindToParent]
mov ebx, eax
test eax, eax
js 0x140153d17
mov dword [rsp + 0x20], 0x14
lea r9, [rsp + 0x78]
mov r8d, 3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetDataFromIDListW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
js 0x140153de4
mov rax, qword [rsp + 0x7c]
cmp rax, qword [0x1402df990]
jne 0x140153de4
mov rax, qword [rbp - 0x7c]
cmp rax, qword [0x1402df998]
jne 0x140153de4
lea rax, [rbp + 0x660]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140153d60
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x140153d7c
mov qword [rsp + 0x30], r12
jmp 0x140153da5
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x660]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
movzx eax, byte [0x1403fdd77]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.1400e9d70
nop
cmp dword [rsp + 0x38], 0
jle 0x140153de1
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov dil, 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140153c40
mov r12, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test dil, dil
jne 0x140153e24
lea rdx, [rbp + 0x1e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140153bc3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, dil
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0xbe0]
add rsp, 0xb90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret