Function at 0x14015ff70
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 [0x140415a10]
xor rax, rsp
mov qword [rbp + 0xa80], rax
mov r15, rdx
movzx r13d, cx
movsd xmm0, qword [0x1403569d8]
movsd qword [rbp + 0x430], xmm0
movzx eax, word [0x1403569e0]
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.1402bfa30
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 0x140160020
xor al, al
jmp 0x140160291
xor dil, dil
mov eax, dword [rbp + 0x1e0]
and eax, 0x16
cmp al, 0x16
jne 0x14016026c
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.1402ba928
mov dword [rbp - 0x70], 0
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp - 0x6c]
call fcn.1402bfa30
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14016026c
lea r12, [0x140346ce0]
nop dword [rax]
test byte [rbp - 0x70], 0x10
je 0x140160244
cmp word [rbp - 0x44], 0x2e
je 0x140160244
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.1402ba928
lea rdx, str.S_1_5_18
lea rcx, [rbp - 0x44]
call fcn.1402b71dc
test eax, eax
je 0x1401601ad
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 0x140160244
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [0x1403009e0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHBindToParent]
mov ebx, eax
test eax, eax
js 0x140160177
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 0x140160244
mov rax, qword [rsp + 0x7c]
cmp rax, qword [0x1403009d0]
jne 0x140160244
mov rax, qword [rbp - 0x7c]
cmp rax, qword [0x1403009d8]
jne 0x140160244
lea rax, [rbp + 0x660]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401601c0
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401601dc
mov qword [rsp + 0x30], r12
jmp 0x140160205
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x660]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x140160241
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov dil, 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401600a0
mov r12, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test dil, dil
jne 0x140160284
lea rdx, [rbp + 0x1e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140160023
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, dil
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0xbe0]
add rsp, 0xb90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret