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

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1250
call fcn.1400ec240
sub rsp, rax
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x1288], rbx
mov rax, qword [0x140134780]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov dword [rsp + 0x58], r9d
mov rdi, r8
mov qword [rsp + 0x40], r8
mov rbp, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rcx
xor esi, esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
call fcn.14003c3f0
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14001d0ca
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 + 0x48], rbx
test rdi, rdi
jne 0x14001d102
lea rdx, [rbx - 0x18]
or rax, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d0fb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14001d83c
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x7d0]
call fcn.1400a09f0
mov r8, rbp
lea rdx, str._s.
lea rcx, [rsp + 0xe30]
call fcn.1400030e0
lea rdx, [rsp + 0x7d0]
lea rcx, [rsp + 0xe30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
or rbp, 0xffffffffffffffff
lea edx, [rbp + 2]
cmp rax, rbp
je 0x14001d3f4
nop
nop
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x7fc]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001d1d5
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001d260
cmp dword [rdx + 0x10], eax
jge 0x14001d1a7
cmp dword [rbx - 0xc], eax
jl 0x14001d3c8
mov dword [rbx - 0x10], esi
mov word [rbx], ax
jmp 0x14001d260
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d1be
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 + 0x48], rbx
jmp 0x14001d260
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x7fc]
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 0x14001d205
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004410
mov rbx, qword [rsp + 0x48]
cmp rbp, rsi
ja 0x14001d225
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 0x14001d242
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x7fc]
mov rdx, rsi
mov rcx, rbx
call fcn.14009f640
test edi, edi
js 0x14001d3e9
cmp edi, dword [rbx - 0xc]
jg 0x14001d3e9
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
or rbp, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1400ee8ac]
mov rsi, rbx
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14001d27b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14001d39e
xor eax, eax
lea rdi, [0x1400f023c]
mov rsi, rbx
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x14001d2a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14001d3a2
mov r9, rbx
mov r8, qword [rsp + 0x70]
lea rdx, [0x1400efcb0]
lea rcx, [rsp + 0xa20]
call fcn.1400030e0
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x68], rdx
call fcn.14003c3f0
mov rcx, rax
xor esi, esi
mov eax, esi
test rcx, rcx
setne al
test eax, eax
je 0x14001d3d3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xa20]
lea rax, [rsp + 0xa20]
test rax, 0xffffffffffff0000
jne 0x14001d338
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14001d362
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400060c0
jmp 0x14001d362
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0xa20]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0xa20]
lea rcx, [rsp + 0x38]
call fcn.140006310
nop
lea rcx, [rsp + 0x38]
call fcn.1400058b0
test eax, eax
je 0x14001d3a4
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0xa20]
mov rcx, qword [rsp + 0x78]
call fcn.14001d050
mov ecx, dword [rsp + 0x30]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x30], ecx
jmp 0x14001d3a4
xor esi, esi
jmp 0x14001d3a4
xor esi, esi
lea rdx, [rsp + 0x7d0]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001d3de
mov edx, 1
jmp 0x14001d160
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80004005
call fcn.140001120
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14001d3f4
mov ecx, 0x80070057
call fcn.140001120
int3
cmp dword [rsp + 0x58], 0
jne 0x14001d81f
lea rdi, [fcn.1400049c0]
mov qword [rsp + 0x20], rdi
lea r9, [0x140004980]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0xa0]
call fcn.1400a2a50
nop
call fcn.14003c3f0
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14001d448
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x3c8], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x140004980]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x3d0]
call fcn.1400a2a50
nop
mov qword [rsp + 0x20], rdi
lea r9, [0x140004980]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x560]
call fcn.1400a2a50
nop
lea rcx, [rsp + 0xa0]
call fcn.14000f480
nop
mov ebx, esi
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x320], 0
jle 0x14001d5d4
mov r8d, ebx
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.140009950
mov rsi, rax
mov qword [rsp + 0x68], rax
movsxd rcx, dword [rsp + 0x3c0]
cmp ecx, 0x64
jl 0x14001d511
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d5be
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001d5be
lea r10, [rsp + rcx*8 + 0xa0]
mov qword [rsp + 0x58], r10
mov r9, qword [rax]
lea rdx, [r9 - 0x18]
mov rdi, qword [r10]
sub rdi, 0x18
cmp rdx, rdi
je 0x14001d596
cmp dword [rdi + 0x10], 0
jl 0x14001d580
mov rax, qword [rdi]
cmp qword [rdx], rax
jne 0x14001d580
mov rcx, rdx
call fcn.140004470
mov qword [rsp + 0x50], rax
mov eax, ebp
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d566
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x50]
add rax, 0x18
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov ecx, dword [rsp + 0x3c0]
jmp 0x14001d596
mov r8d, dword [r9 - 0x10]
mov rdx, r9
mov rcx, r10
call fcn.140006310
mov ecx, dword [rsp + 0x3c0]
add ecx, 1
mov dword [rsp + 0x3c0], ecx
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d5be
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add ebx, 1
mov rax, qword [rsp + 0x40]
cmp ebx, dword [rax + 0x320]
jl 0x14001d4c2
xor esi, esi
mov rdx, qword [rsp + 0x70]
test rdx, rdx
jne 0x14001d5e2
mov ecx, esi
jmp 0x14001d5f4
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x3c8]
call fcn.140006310
mov eax, 1
mov dword [rsp + 0x7bc], eax
mov dword [rsp + 0x7c0], eax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
call fcn.140016980
test eax, eax
je 0x14001d7a0
cmp dword [rsp + 0x7b8], 0
jle 0x14001d798
lea rbx, [rsp + 0x3d0]
nop
nop
nop
mov rdi, qword [rbx]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14001d677
cmp rax, qword [rdi - 0x18]
jne 0x14001d677
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14001d6b3
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x14001d792
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 + 0x60], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rcx
lea rdi, [rax - 0x18]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x14001d6eb
cmp rax, qword [rdi]
jne 0x14001d6eb
mov rsi, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14001d728
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x14001d78c
mov eax, dword [rdi + 8]
mov dword [rsi + 8], eax
mov eax, dword [rdi + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.14009f640
lea rax, [rsi + 0x18]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x40]
add rcx, 0x650
lea rdx, [rsp + 0x80]
call fcn.140008cc0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d76e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov esi, dword [rsp + 0x34]
add esi, 1
mov dword [rsp + 0x34], esi
add rbx, 8
cmp esi, dword [rsp + 0x7b8]
jl 0x14001d650
jmp 0x14001d798
call fcn.140002f80
nop
call fcn.140002f80
int3
mov dword [rsp + 0x30], 1
lea r9, [fcn.1400049c0]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x560]
call fcn.1400a29b0
lea r9, [fcn.1400049c0]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x3d0]
call fcn.1400a29b0
mov rdx, qword [rsp + 0x3c8]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001d7fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [fcn.1400049c0]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0xa0]
call fcn.1400a29b0
mov rbx, qword [rsp + 0x48]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001d838
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400a1970
mov rbx, qword [rsp + 0x1288]
add rsp, 0x1250
pop rdi
pop rsi
pop rbp
ret