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

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1250
call fcn.1400e67f0
sub rsp, rax
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x1288], rbx
mov rax, qword [0x14012e6d8]
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.140055b68
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14001c2ba
mov ecx, 0x80004005
call fcn.140001610
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 0x14001c2f2
lea rdx, [rbx - 0x18]
or rax, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001c2eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14001ca2c
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x7d0]
call fcn.14009c4e0
mov r8, rbp
lea rdx, str._s.
lea rcx, [rsp + 0xe30]
call fcn.1400034e0
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 0x14001c5e4
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 0x14001c3c5
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001c450
cmp dword [rdx + 0x10], eax
jge 0x14001c397
cmp dword [rbx - 0xc], eax
jl 0x14001c5b8
mov dword [rbx - 0x10], esi
mov word [rbx], ax
jmp 0x14001c450
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001c3ae
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 0x14001c450
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 0x14001c3f5
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rbx, qword [rsp + 0x48]
cmp rbp, rsi
ja 0x14001c415
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009b340
jmp 0x14001c432
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x7fc]
mov rdx, rsi
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14001c5d9
cmp edi, dword [rbx - 0xc]
jg 0x14001c5d9
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
or rbp, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1400e9d14]
mov rsi, rbx
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14001c46b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14001c58e
xor eax, eax
lea rdi, [0x1400eb87c]
mov rsi, rbx
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x14001c493
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14001c592
mov r9, rbx
mov r8, qword [rsp + 0x70]
lea rdx, [0x1400eb388]
lea rcx, [rsp + 0xa20]
call fcn.1400034e0
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x68], rdx
call fcn.140055b68
mov rcx, rax
xor esi, esi
mov eax, esi
test rcx, rcx
setne al
test eax, eax
je 0x14001c5c3
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 0x14001c528
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14001c552
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140006090
jmp 0x14001c552
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.1400062e0
nop
lea rcx, [rsp + 0x38]
call fcn.140005880
test eax, eax
je 0x14001c594
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0xa20]
mov rcx, qword [rsp + 0x78]
call fcn.14001c240
mov ecx, dword [rsp + 0x30]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x30], ecx
jmp 0x14001c594
xor esi, esi
jmp 0x14001c594
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 0x14001c5ce
mov edx, 1
jmp 0x14001c350
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80004005
call fcn.140001610
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14001c5e4
mov ecx, 0x80070057
call fcn.140001610
int3
cmp dword [rsp + 0x58], 0
jne 0x14001ca0f
lea rdi, [fcn.1400011a0]
mov qword [rsp + 0x20], rdi
lea r9, [0x140004b40]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0xa0]
call fcn.14009d330
nop
call fcn.140055b68
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14001c638
mov ecx, 0x80004005
call fcn.140001610
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, [0x140004b40]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x3d0]
call fcn.14009d330
nop
mov qword [rsp + 0x20], rdi
lea r9, [0x140004b40]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x560]
call fcn.14009d330
nop
lea rcx, [rsp + 0xa0]
call fcn.14000fc00
nop
mov ebx, esi
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x320], 0
jle 0x14001c7c4
mov r8d, ebx
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.140009c80
mov rsi, rax
mov qword [rsp + 0x68], rax
movsxd rcx, dword [rsp + 0x3c0]
cmp ecx, 0x64
jl 0x14001c701
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001c7ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001c7ae
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 0x14001c786
cmp dword [rdi + 0x10], 0
jl 0x14001c770
mov rax, qword [rdi]
cmp qword [rdx], rax
jne 0x14001c770
mov rcx, rdx
call fcn.1400046d0
mov qword [rsp + 0x50], rax
mov eax, ebp
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001c756
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 0x14001c786
mov r8d, dword [r9 - 0x10]
mov rdx, r9
mov rcx, r10
call fcn.1400062e0
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 0x14001c7ae
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 0x14001c6b2
xor esi, esi
mov rdx, qword [rsp + 0x70]
test rdx, rdx
jne 0x14001c7d2
mov ecx, esi
jmp 0x14001c7e4
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.1400062e0
mov eax, 1
mov dword [rsp + 0x7bc], eax
mov dword [rsp + 0x7c0], eax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
call fcn.140016660
test eax, eax
je 0x14001c990
cmp dword [rsp + 0x7b8], 0
jle 0x14001c988
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 0x14001c867
cmp rax, qword [rdi - 0x18]
jne 0x14001c867
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14001c8a3
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x14001c982
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.14009b270
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 0x14001c8db
cmp rax, qword [rdi]
jne 0x14001c8db
mov rsi, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14001c918
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x14001c97c
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.14009b270
lea rax, [rsi + 0x18]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x40]
add rcx, 0x650
lea rdx, [rsp + 0x80]
call fcn.140008ff0
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 0x14001c95e
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 0x14001c840
jmp 0x14001c988
call fcn.140003380
nop
call fcn.140003380
int3
mov dword [rsp + 0x30], 1
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x560]
call fcn.14009a380
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 0x2a]
lea rcx, [rsp + 0x3d0]
call fcn.14009a380
mov rdx, qword [rsp + 0x3c8]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001c9ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0xa0]
call fcn.14009a380
mov rbx, qword [rsp + 0x48]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001ca28
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.14009af10
mov rbx, qword [rsp + 0x1288]
add rsp, 0x1250
pop rdi
pop rsi
pop rbp
ret