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

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.140007d80
sub rsp, rax
mov rdi, rcx
lea rcx, [rbp + 0x592]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x590], si
call fcn.1400033f0
lea rcx, [rbp + 0x382]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x380], si
call fcn.1400033f0
lea r9, [rbp + 0xfc0]
lea r8, [rbp + 0x590]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x1400140f5
mov rdx, qword [rbp + 0xfc0]
lea rcx, [rbp + 0x380]
mov qword [rsp + 0x10b0], rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbp + 0xfc0]
lea rdx, [0x14001d7a8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x590]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001403d
lea rsi, [0x140000000]
nop dword [rax]
xor r8d, r8d
mov ecx, r8d
movzx edx, word [rsp + rcx + 0x4c]
test dx, dx
je 0x140013f61
movzx eax, word [rcx + rsi + 0x1d7b0]
test ax, ax
je 0x140013f61
cmp dx, ax
jne 0x140013f61
add rcx, 2
cmp rcx, 2
jb 0x140013f36
jmp 0x140014025
mov rax, r8
movzx ecx, word [rsp + rax + 0x4c]
test cx, cx
je 0x140013f8f
movzx edx, word [rax + rsi + 0x1d7b4]
test dx, dx
je 0x140013f8f
cmp cx, dx
jne 0x140013f8f
add rax, 2
cmp rax, 4
jb 0x140013f64
jmp 0x140014025
test byte [rsp + 0x20], 0x10
je 0x140014025
mov word [rbp + 0x170], r8w
lea rcx, [rbp + 0x172]
xor edx, edx
mov r8d, 0x206
call fcn.1400033f0
lea r9, [rbp + 0xfc0]
lea r8, [rbp + 0x170]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140014082
mov rcx, qword [rbp + 0xfc0]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001d67c]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x170]
mov edx, 1
call fcn.140013e50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013f30
xor esi, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014082
nop dword [rax]
test byte [rsp + 0x20], 0x10
je 0x140014086
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140014060
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x1400140ed
lea rcx, [rbp + 0x7a2]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x7a0], si
call fcn.1400033f0
lea r9, [rbp + 0xfc0]
lea r8, [rbp + 0x7a0]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140014082
mov rcx, qword [rbp + 0xfc0]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rbp + 0x7a0]
mov r8d, eax
call fcn.140014f30
mov eax, 1
mov rbx, qword [rsp + 0x10b0]
lea r11, [rsp + 0x10a0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret