Function at 0x140161200
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 [0x140418a10]
xor rax, rsp
mov qword [rbp + 0xa80], rax
mov r15, rdx
movzx r13d, cx
movsd xmm0, qword [0x140358aa0]
movsd qword [rbp + 0x430], xmm0
movzx eax, word [0x140358aa8]
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.1402c22a0
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 0x1401612b0
xor al, al
jmp 0x140161521
xor dil, dil
mov eax, dword [rbp + 0x1e0]
and eax, 0x16
cmp al, 0x16
jne 0x1401614fc
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.1402bd1f8
mov dword [rbp - 0x70], 0
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp - 0x6c]
call fcn.1402c22a0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401614fc
lea r12, [0x140348ca0]
nop dword [rax]
test byte [rbp - 0x70], 0x10
je 0x1401614d4
cmp word [rbp - 0x44], 0x2e
je 0x1401614d4
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.1402bd1f8
lea rdx, str.S_1_5_18
lea rcx, [rbp - 0x44]
call fcn.1402b9aac
test eax, eax
je 0x14016143d
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 0x1401614d4
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [0x1403029a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHBindToParent]
mov ebx, eax
test eax, eax
js 0x140161407
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 0x1401614d4
mov rax, qword [rsp + 0x7c]
cmp rax, qword [0x140302990]
jne 0x1401614d4
mov rax, qword [rbp - 0x7c]
cmp rax, qword [0x140302998]
jne 0x1401614d4
lea rax, [rbp + 0x660]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140161450
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14016146c
mov qword [rsp + 0x30], r12
jmp 0x140161495
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x660]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.1400e97f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401614d1
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov dil, 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140161330
mov r12, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test dil, dil
jne 0x140161514
lea rdx, [rbp + 0x1e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401612b3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, dil
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0xbe0]
add rsp, 0xb90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret