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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x5d0], rbx
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x38], rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14013a0fc
mov rcx, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14013a61e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rbp + 0x240]
shr eax, 4
and al, 1
je 0x14013a624
mov qword [rbp - 0x78], 7
xor edi, edi
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
lea rax, [rsp + 0x70]
cmp rax, rsi
je 0x14013a15e
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.1400be8c0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14013a198
cmp qword [rsi + 0x18], 8
jb 0x14013a173
mov rax, qword [rsi]
jmp 0x14013a176
mov rax, rsi
movzx ecx, word [rax + rcx*2 - 2]
cmp cx, 0x5c
je 0x14013a198
cmp cx, 0x2f
je 0x14013a198
mov edx, 1
lea r8d, [rdx + 0x5b]
mov rcx, rsi
call fcn.1400be670
lea r8, [0x14022a6e8]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400dc1b0
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x14013a1f3
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14013a1d4
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400be810
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400be780
nop
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14013a20d
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400be810
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14013a25b
cmp rdi, 0xffffffffffffffff
je 0x14013a251
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, 0xffffffea
jmp 0x14013a5fe
cmp rdi, 0xffffffffffffffff
je 0x14013a5fb
nop word [rax + rax]
mov qword [rbp - 0x38], 7
xor eax, eax
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], ax
cmp word [rbp + 0x1c], ax
jne 0x14013a28d
mov r8d, eax
jmp 0x14013a2a0
lea rax, [rbp + 0x1c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013a295
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x50]
call fcn.1400be520
nop
lea rcx, [rbp - 0x50]
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x38]
cmp rdi, 8
cmovae rcx, rbx
mov r9d, 1
lea r8, [0x14022724c]
mov rdx, qword [rbp - 0x40]
call fcn.1400c4840
test eax, eax
je 0x14013a52d
lea rcx, [rbp - 0x50]
cmp rdi, 8
cmovae rcx, rbx
mov r9d, 2
lea r8, [0x14022a6e0]
call fcn.1400c4840
test eax, eax
je 0x14013a52d
lea r8, [rbp - 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400c5640
nop
lea rdx, [rbp - 0x70]
test byte [rbp - 0x10], 0x10
je 0x14013a4a1
mov qword [rsp + 0x68], 7
xor edi, edi
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.1400be8c0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14013a389
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
movzx ecx, word [rax + rcx*2 - 2]
cmp cx, 0x5c
je 0x14013a389
cmp cx, 0x2f
je 0x14013a389
lea edx, [rdi + 1]
lea r8d, [rdi + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.1400be670
lea r8, [0x14022a6e8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400dc1b0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x14013a3e9
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14013a3c8
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400be810
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400be780
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14013a403
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400be810
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x14013a443
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 5
je 0x14013a47e
mov ecx, dword [rsp + 0x34]
mov eax, dword [rbp + 0x4e0]
test ecx, ecx
js 0x14013a45a
cmp eax, ecx
jge 0x14013a47e
inc eax
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8b, 1
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.14013a0b0
mov ebx, eax
test eax, eax
js 0x14013a568
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14013a513
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400be810
jmp 0x14013a513
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
lea rax, vtable.WaJson.0
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x60], al
mov dword [rsp + 0x58], 5
lea rcx, [rsp + 0x50]
call fcn.1400c2c80
nop
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xd0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call rbx
nop
lea rax, vtable.WaJson.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400c02b0
nop
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14013a52d
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400be810
lea rdx, [rbp - 0x10]
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14013a55b
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400be810
test ebx, ebx
je 0x14013a5ec
jmp 0x14013a270
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14013a591
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400be810
mov qword [rsp + 0x68], 7
xor edi, edi
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14013a5c0
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400be810
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x70], di
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14013a5fe
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400be810
jmp 0x14013a5fe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
mov ebx, edi
jmp 0x14013a5fe
or ebx, 0xffffffff
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14013a61a
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400be810
mov eax, ebx
jmp 0x14013a629
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xffffffe4
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x5a0
pop rdi
pop rsi
pop rbp
ret