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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rax - 0x158]
sub rsp, 0x238
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14022baf1
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140005e54
nop
cmp qword [rdi + 0x18], 0x10
jb 0x14022bb08
mov rdx, qword [rdi]
jmp 0x14022bb0b
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140005e54
nop
lea rcx, [rsp + 0x38]
call fcn.140005ce4
lea r8, [0x140695e44]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140005b44
nop
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14022bc23
xor ebx, ebx
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022bb77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022bb97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022bbb7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
cmp qword [rsi + 0x18], 0x10
jb 0x14022bbd3
mov rdx, qword [rsi + 0x18]
mov r8d, 1
inc rdx
mov rcx, qword [rsi]
call fcn.14000ce04
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
cmp qword [rsi + 0x18], 0x10
mov qword [rsi + 0x10], rbx
jb 0x14022bbe9
mov rsi, qword [rsi]
mov byte [rsi], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14022bc06
inc rdx
mov r8d, 1
mov rcx, qword [rdi]
call fcn.14000ce04
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 0x10
jb 0x14022bc1c
mov rdi, qword [rdi]
mov byte [rdi], bl
jmp 0x14022bf17
xor ebx, ebx
lea rdx, [rbp + 0x1c]
test byte [rbp - 0x10], 0x10
je 0x14022bd5c
lea rcx, [rsp + 0x28]
call fcn.140005e54
nop
lea rdx, [0x140695e54]
mov rcx, qword [rsp + 0x28]
call fcn.140161048
test eax, eax
je 0x14022bd52
lea rdx, [0x140695e64]
mov rcx, qword [rsp + 0x28]
call fcn.140161048
test eax, eax
je 0x14022bd52
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rbx
mov byte [rbp - 0x68], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14000ca10
nop
lea r8, [0x140695e74]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140005b44
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14000e0f4
nop
mov rdx, qword [rax]
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x48], bl
cmp byte [rdx], bl
jne 0x14022bce0
mov r8, rbx
jmp 0x14022bced
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x14022bce4
lea rcx, [rbp - 0x48]
call fcn.14000d058
nop
mov r9, qword [rbp + 0x178]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
mov rcx, qword [rbp + 0x160]
call fcn.14022bab4
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022bd33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022bd52
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x28]
jmp 0x14022bebc
lea rcx, [rsp + 0x30]
call fcn.140005e54
nop
lea rcx, [rsp + 0x30]
call fcn.140005ce4
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14022bf0c
mov rcx, qword [rsp + 0x38]
call fcn.140161048
test eax, eax
jne 0x14022beb7
lea r8, [0x140695e84]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140005b44
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000e0f4
nop
mov rdx, qword [rax]
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], bl
cmp byte [rdx], bl
jne 0x14022bdd7
mov r8, rbx
jmp 0x14022bde4
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x14022bddb
lea rcx, [rsp + 0x58]
call fcn.14000d058
nop
mov rcx, qword [rbp + 0x178]
mov rax, qword [rcx]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x58]
mov r8, qword [rax + 8]
mov rdx, rax
call fcn.140009d2c
mov r8, qword [rbp + 0x178]
mov rdx, qword [r8 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14022beee
lea rcx, [rdx + 1]
mov qword [r8 + 8], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14022be67
inc rdx
mov r8d, 1
mov rcx, qword [rsp + 0x58]
call fcn.14000ce04
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], bl
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022be98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022beb7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14022bed6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14022befb
jmp 0x14022bc25
lea rcx, str.list_T__too_long
call fcn.1400bc800
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
jmp 0x14022bb57
mov ecx, 0x80004005
call fcn.14000b9ec
nop
add rsp, 0x238
pop rdi
pop rsi
pop rbx
pop rbp
ret