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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
lea r8, [0x140247094]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14001cde0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x130], rax
cmp rax, 0xffffffffffffffff
jne 0x14001e8a7
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14001e890
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x14001e88b
test cl, 0x1f
je 0x14001e85e
call fcn.140128ff4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001e86d
call fcn.140128ff4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001e87c
call fcn.140128ff4
int3
cmp rcx, 0x27
jbe 0x14001e888
call fcn.140128ff4
int3
mov rcx, rax
call fcn.1400eb7f4
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], 0
jmp 0x14001ed5b
xor ebx, ebx
nop dword [rax]
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
test byte [rbp - 0x50], 0x10
je 0x14001ea86
cmp byte [rbp - 0x24], 0
jne 0x14001e8d8
mov r8, rbx
jmp 0x14001e8ea
lea rax, [rbp - 0x24]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14001e8e0
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x20]
call fcn.14000d058
nop
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0x10
cmovae rcx, rbx
mov r8d, 1
mov rdi, qword [rsp + 0x30]
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x14001e937
lea rdx, [0x140247098]
call fcn.14011db30
test eax, eax
jne 0x14001e941
cmp rdi, 1
je 0x14001ea25
lea rcx, [rsp + 0x20]
cmp rsi, 0x10
cmovae rcx, rbx
mov r8d, 2
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x14001e970
lea rdx, [0x14024709c]
call fcn.14011db30
test eax, eax
jne 0x14001e98c
cmp rdi, 2
jae 0x14001e97b
or eax, 0xffffffff
jmp 0x14001e984
xor eax, eax
cmp rdi, 2
seta al
test eax, eax
je 0x14001ea25
lea r8, [0x1402470a0]
mov rdi, qword [rbp + 0x120]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14001cde0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140014cd0
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001e7d0
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14001ea19
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x14001ea14
test cl, 0x1f
jne 0x14001ec72
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001ec6c
sub rcx, rax
cmp rcx, 8
jb 0x14001ec66
cmp rcx, 0x27
ja 0x14001ec60
mov rcx, rax
call fcn.1400eb7f4
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14001ea2c
mov rdi, qword [rbp + 0x120]
cmp rsi, 0x10
jb 0x14001ea78
lea rax, [rsi + 1]
cmp rax, 0x1000
jb 0x14001ea70
test byte [rsp + 0x20], 0x1f
jne 0x14001ec8a
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x14001ec84
sub rbx, rax
cmp rbx, 8
jb 0x14001ec7e
cmp rbx, 0x27
ja 0x14001ec78
mov rbx, rax
mov rcx, rbx
call fcn.1400eb7f4
xor ebx, ebx
mov rsi, qword [rbp + 0x128]
jmp 0x14001ec3b
cmp byte [rbp - 0x24], 0
jne 0x14001ea91
mov r8, rbx
jmp 0x14001eaaa
lea rax, [rbp - 0x24]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001eaa0
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x20]
call fcn.14000d058
nop
lea r8, [0x1402470a0]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14001cde0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14001cd50
nop
mov rdi, qword [rsi]
mov r9, rax
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rsi
call fcn.140009d2c
mov rdx, qword [rsi + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14001ed4e
lea rcx, [rdx + 1]
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x14001eb71
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x14001eb6c
test cl, 0x1f
jne 0x14001eca2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001ec9c
sub rcx, rax
cmp rcx, 8
jb 0x14001ec96
cmp rcx, 0x27
ja 0x14001ec90
mov rcx, rax
call fcn.1400eb7f4
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x70], rbx
mov byte [rbp - 0x80], 0
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14001ebd1
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x14001ebcc
test cl, 0x1f
jne 0x14001ecba
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001ecb4
sub rcx, rax
cmp rcx, 8
jb 0x14001ecae
cmp rcx, 0x27
ja 0x14001eca8
mov rcx, rax
call fcn.1400eb7f4
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x60], 0
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x14001ec34
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14001ec2f
test cl, 0x1f
jne 0x14001ecd2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001eccc
sub rcx, rax
cmp rcx, 8
jb 0x14001ecc6
cmp rcx, 0x27
ja 0x14001ecc0
mov rcx, rax
call fcn.1400eb7f4
mov rdi, qword [rbp + 0x120]
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14001ecd8
mov rdi, qword [rbp + 0x120]
jmp 0x14001e8b0
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
nop
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
nop
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
nop
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
nop
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
int3
call fcn.140128ff4
int3
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14001ed3e
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x14001ed39
test cl, 0x1f
je 0x14001ed0c
call fcn.140128ff4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001ed1b
call fcn.140128ff4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001ed2a
call fcn.140128ff4
int3
cmp rcx, 0x27
jbe 0x14001ed36
call fcn.140128ff4
int3
mov rcx, rax
call fcn.1400eb7f4
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], rbx
jmp 0x14001ed5b
lea rcx, str.list_T__too_long
call fcn.1400bc800
nop
mov byte [rsp + 0x40], 0
mov rcx, rdi
call fcn.14000c7e0
add rsp, 0x1f8
pop rdi
pop rsi
pop rbx
pop rbp
ret