Function at 0x140015df0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xf10
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0xf40], rbx
mov rax, qword [0x140134780]
xor rax, rsp
mov qword [rsp + 0xf00], rax
mov dword [rsp + 0x48], r8d
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140015e55
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x80]
call fcn.1400a09f0
mov r8, rdi
lea rdx, str._s.
lea rcx, [rsp + 0xaf0]
call fcn.1400030e0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xaf0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x60], rax
or rsi, 0xffffffffffffffff
lea edx, [rsi + 2]
cmp rax, rsi
je 0x14001614d
nop
nop
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140015f35
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140015fc0
cmp dword [rdx + 0x10], eax
jge 0x140015f07
cmp dword [rbx - 0xc], eax
jl 0x140016118
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x140015fc0
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140015f1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
jmp 0x140015fc0
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0xac]
sub rbp, rbx
sar rbp, 1
mov ecx, edx
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140015f65
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140004410
mov rbx, qword [rsp + 0x38]
cmp rbp, rsi
ja 0x140015f85
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009f850
jmp 0x140015fa2
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0xac]
mov rdx, rsi
mov rcx, rbx
call fcn.14009f640
test edi, edi
js 0x140016142
cmp edi, dword [rbx - 0xc]
jg 0x140016142
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
mov ebp, dword [rsp + 0x20]
xor eax, eax
lea rdi, [0x1400ee8ac]
mov rsi, rbx
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140015fdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x1400160f2
xor eax, eax
lea rdi, [0x1400f023c]
mov rsi, rbx
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140016003
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x1400160f2
mov r9, rbx
mov r8, qword [rsp + 0x40]
lea rdx, [0x1400efcb0]
lea rcx, [rsp + 0x2d0]
call fcn.1400030e0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
je 0x140016123
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x2d0]
lea rax, [rsp + 0x2d0]
test rax, 0xffffffffffff0000
jne 0x140016096
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x1400160c1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400060c0
jmp 0x1400160c1
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x2d0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x30]
call fcn.140006310
nop
lea rcx, [rsp + 0x30]
call fcn.1400058b0
test eax, eax
je 0x1400160f2
xor r8d, r8d
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x50]
call fcn.140015df0
test eax, eax
mov eax, 1
cmovne ebp, eax
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001612e
or rsi, 0xffffffffffffffff
lea edx, [rsi + 2]
jmp 0x140015ec0
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80004005
call fcn.140001120
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or rsi, 0xffffffffffffffff
mov rdi, qword [rsp + 0x40]
jmp 0x14001614d
mov ecx, 0x80070057
call fcn.140001120
int3
cmp dword [rsp + 0x48], 0
jne 0x140016337
xor ebp, ebp
cmp dword [0x140139f98], ebp
jle 0x140016337
nop
nop
nop
mov r8d, ebp
lea rdx, [rsp + 0x68]
lea rcx, [0x140139950]
call fcn.140009970
nop
lea r9, [rsp + 0x6e0]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call fcn.1400108d0
mov edi, eax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400161bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
je 0x14001630c
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
je 0x140016327
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x6e0]
lea rax, [rsp + 0x6e0]
test rax, 0xffffffffffff0000
jne 0x140016231
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14001625b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400060c0
jmp 0x14001625b
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x6e0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x28]
call fcn.140006310
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14001628e
cmp rax, qword [rdi - 0x18]
jne 0x14001628e
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x1400162c6
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140016321
mov eax, dword [rdi - 0x10]
mov dword [rsi + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.14009f640
lea rax, [rsi + 0x18]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [0x14013a2c8]
call fcn.140008cc0
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140016304
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x20], 1
add ebp, 1
cmp ebp, dword [0x140139f98]
jge 0x140016332
mov rdi, qword [rsp + 0x40]
jmp 0x140016170
call fcn.140002f80
nop
mov ecx, 0x80004005
call fcn.140001120
int3
mov rbx, qword [rsp + 0x38]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140016350
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xf00]
xor rcx, rsp
call fcn.1400a1970
mov rbx, qword [rsp + 0xf40]
add rsp, 0xf10
pop rdi
pop rsi
pop rbp
ret