Function at 0x14001a320
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 0x14001a3f7
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14001a3e0
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x14001a3db
test cl, 0x1f
je 0x14001a3ae
call fcn.140128ff4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001a3bd
call fcn.140128ff4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001a3cc
call fcn.140128ff4
int3
cmp rcx, 0x27
jbe 0x14001a3d8
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 0x14001a8ab
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 0x14001a5d6
cmp byte [rbp - 0x24], 0
jne 0x14001a428
mov r8, rbx
jmp 0x14001a43a
lea rax, [rbp - 0x24]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14001a430
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 0x14001a487
lea rdx, [0x140247098]
call fcn.14011db30
test eax, eax
jne 0x14001a491
cmp rdi, 1
je 0x14001a575
lea rcx, [rsp + 0x20]
cmp rsi, 0x10
cmovae rcx, rbx
mov r8d, 2
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x14001a4c0
lea rdx, [0x14024709c]
call fcn.14011db30
test eax, eax
jne 0x14001a4dc
cmp rdi, 2
jae 0x14001a4cb
or eax, 0xffffffff
jmp 0x14001a4d4
xor eax, eax
cmp rdi, 2
seta al
test eax, eax
je 0x14001a575
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.14001a320
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14001a569
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x14001a564
test cl, 0x1f
jne 0x14001a7c2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001a7bc
sub rcx, rax
cmp rcx, 8
jb 0x14001a7b6
cmp rcx, 0x27
ja 0x14001a7b0
mov rcx, rax
call fcn.1400eb7f4
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14001a57c
mov rdi, qword [rbp + 0x120]
cmp rsi, 0x10
jb 0x14001a5c8
lea rax, [rsi + 1]
cmp rax, 0x1000
jb 0x14001a5c0
test byte [rsp + 0x20], 0x1f
jne 0x14001a7da
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x14001a7d4
sub rbx, rax
cmp rbx, 8
jb 0x14001a7ce
cmp rbx, 0x27
ja 0x14001a7c8
mov rbx, rax
mov rcx, rbx
call fcn.1400eb7f4
xor ebx, ebx
mov rsi, qword [rbp + 0x128]
jmp 0x14001a78b
cmp byte [rbp - 0x24], 0
jne 0x14001a5e1
mov r8, rbx
jmp 0x14001a5fa
lea rax, [rbp - 0x24]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001a5f0
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 0x14001a89e
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 0x14001a6c1
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x14001a6bc
test cl, 0x1f
jne 0x14001a7f2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001a7ec
sub rcx, rax
cmp rcx, 8
jb 0x14001a7e6
cmp rcx, 0x27
ja 0x14001a7e0
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 0x14001a721
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x14001a71c
test cl, 0x1f
jne 0x14001a80a
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001a804
sub rcx, rax
cmp rcx, 8
jb 0x14001a7fe
cmp rcx, 0x27
ja 0x14001a7f8
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 0x14001a784
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14001a77f
test cl, 0x1f
jne 0x14001a822
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001a81c
sub rcx, rax
cmp rcx, 8
jb 0x14001a816
cmp rcx, 0x27
ja 0x14001a810
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 0x14001a828
mov rdi, qword [rbp + 0x120]
jmp 0x14001a400
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 0x14001a88e
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x14001a889
test cl, 0x1f
je 0x14001a85c
call fcn.140128ff4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001a86b
call fcn.140128ff4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001a87a
call fcn.140128ff4
int3
cmp rcx, 0x27
jbe 0x14001a886
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 0x14001a8ab
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