Function at 0x1400084f0
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, [0x14012d6a4]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14000afb0
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 0x1400085c7
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x1400085b0
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x1400085ab
test cl, 0x1f
je 0x14000857e
call fcn.1400e463c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000858d
call fcn.1400e463c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000859c
call fcn.1400e463c
int3
cmp rcx, 0x27
jbe 0x1400085a8
call fcn.1400e463c
int3
mov rcx, rax
call fcn.14007b810
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], 0
jmp 0x140008a7b
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 0x1400087a6
cmp byte [rbp - 0x24], 0
jne 0x1400085f8
mov r8, rbx
jmp 0x14000860a
lea rax, [rbp - 0x24]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140008600
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x20]
call fcn.1400080d0
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 0x140008657
lea rdx, [0x14012d6a8]
call fcn.1400ad400
test eax, eax
jne 0x140008661
cmp rdi, 1
je 0x140008745
lea rcx, [rsp + 0x20]
cmp rsi, 0x10
cmovae rcx, rbx
mov r8d, 2
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x140008690
lea rdx, [0x14012d6ac]
call fcn.1400ad400
test eax, eax
jne 0x1400086ac
cmp rdi, 2
jae 0x14000869b
or eax, 0xffffffff
jmp 0x1400086a4
xor eax, eax
cmp rdi, 2
seta al
test eax, eax
je 0x140008745
lea r8, [0x14012d6b0]
mov rdi, qword [rbp + 0x120]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000afb0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140007d80
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400084f0
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x140008739
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x140008734
test cl, 0x1f
jne 0x140008992
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14000898c
sub rcx, rax
cmp rcx, 8
jb 0x140008986
cmp rcx, 0x27
ja 0x140008980
mov rcx, rax
call fcn.14007b810
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
jmp 0x14000874c
mov rdi, qword [rbp + 0x120]
cmp rsi, 0x10
jb 0x140008798
lea rax, [rsi + 1]
cmp rax, 0x1000
jb 0x140008790
test byte [rsp + 0x20], 0x1f
jne 0x1400089aa
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x1400089a4
sub rbx, rax
cmp rbx, 8
jb 0x14000899e
cmp rbx, 0x27
ja 0x140008998
mov rbx, rax
mov rcx, rbx
call fcn.14007b810
xor ebx, ebx
mov rsi, qword [rbp + 0x128]
jmp 0x14000895b
cmp byte [rbp - 0x24], 0
jne 0x1400087b1
mov r8, rbx
jmp 0x1400087ca
lea rax, [rbp - 0x24]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400087c0
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x20]
call fcn.1400080d0
nop
lea r8, [0x14012d6b0]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000afb0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000af20
nop
mov rdi, qword [rsi]
mov r9, rax
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rsi
call fcn.14000b0e0
mov rdx, qword [rsi + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140008a6e
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 0x140008891
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x14000888c
test cl, 0x1f
jne 0x1400089c2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400089bc
sub rcx, rax
cmp rcx, 8
jb 0x1400089b6
cmp rcx, 0x27
ja 0x1400089b0
mov rcx, rax
call fcn.14007b810
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 0x1400088f1
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x1400088ec
test cl, 0x1f
jne 0x1400089da
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400089d4
sub rcx, rax
cmp rcx, 8
jb 0x1400089ce
cmp rcx, 0x27
ja 0x1400089c8
mov rcx, rax
call fcn.14007b810
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 0x140008954
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14000894f
test cl, 0x1f
jne 0x1400089f2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400089ec
sub rcx, rax
cmp rcx, 8
jb 0x1400089e6
cmp rcx, 0x27
ja 0x1400089e0
mov rcx, rax
call fcn.14007b810
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 0x1400089f8
mov rdi, qword [rbp + 0x120]
jmp 0x1400085d0
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
nop
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
nop
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
nop
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
nop
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
call fcn.1400e463c
int3
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x140008a5e
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x140008a59
test cl, 0x1f
je 0x140008a2c
call fcn.1400e463c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140008a3b
call fcn.1400e463c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140008a4a
call fcn.1400e463c
int3
cmp rcx, 0x27
jbe 0x140008a56
call fcn.1400e463c
int3
mov rcx, rax
call fcn.14007b810
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], rbx
jmp 0x140008a7b
lea rcx, str.list_T__too_long
call fcn.14007e084
nop
mov byte [rsp + 0x40], 0
mov rcx, rdi
call fcn.140007010
add rsp, 0x1f8
pop rdi
pop rsi
pop rbx
pop rbp
ret