Function at 0x140141fb0
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 [0x14028a238]
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 0x140141ffc
mov rcx, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14014251e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rbp + 0x240]
shr eax, 4
and al, 1
je 0x140142524
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 0x14014205e
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.1400c3ac0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140142098
cmp qword [rsi + 0x18], 8
jb 0x140142073
mov rax, qword [rsi]
jmp 0x140142076
mov rax, rsi
movzx ecx, word [rax + rcx*2 - 2]
cmp cx, 0x5c
je 0x140142098
cmp cx, 0x2f
je 0x140142098
mov edx, 1
lea r8d, [rdx + 0x5b]
mov rcx, rsi
call fcn.1400c3870
lea r8, [0x140233aa8]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400e15e0
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x1401420f3
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1401420d4
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400c3a10
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400c3980
nop
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14014210d
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400c3a10
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 0x14014215b
cmp rdi, 0xffffffffffffffff
je 0x140142151
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, 0xffffffea
jmp 0x1401424fe
cmp rdi, 0xffffffffffffffff
je 0x1401424fb
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 0x14014218d
mov r8d, eax
jmp 0x1401421a0
lea rax, [rbp + 0x1c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140142195
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x50]
call fcn.1400c3720
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, [0x14023063c]
mov rdx, qword [rbp - 0x40]
call fcn.1400c9bb0
test eax, eax
je 0x14014242d
lea rcx, [rbp - 0x50]
cmp rdi, 8
cmovae rcx, rbx
mov r9d, 2
lea r8, [0x140233b20]
call fcn.1400c9bb0
test eax, eax
je 0x14014242d
lea r8, [rbp - 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400ca9b0
nop
lea rdx, [rbp - 0x70]
test byte [rbp - 0x10], 0x10
je 0x1401423a1
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.1400c3ac0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140142289
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 0x140142289
cmp cx, 0x2f
je 0x140142289
lea edx, [rdi + 1]
lea r8d, [rdi + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.1400c3870
lea r8, [0x140233aa8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400e15e0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x1401422e9
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1401422c8
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400c3a10
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400c3980
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x140142303
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400c3a10
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 0x140142343
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 5
je 0x14014237e
mov ecx, dword [rsp + 0x34]
mov eax, dword [rbp + 0x4e0]
test ecx, ecx
js 0x14014235a
cmp eax, ecx
jge 0x14014237e
inc eax
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8b, 1
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140141fb0
mov ebx, eax
test eax, eax
js 0x140142468
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140142413
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400c3a10
jmp 0x140142413
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.1400c7f30
nop
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xd0]
mov rcx, rbx
call qword [fcn.140005fb0]
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.1400c54b0
nop
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x14014242d
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400c3a10
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 0x14014245b
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400c3a10
test ebx, ebx
je 0x1401424ec
jmp 0x140142170
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140142491
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400c3a10
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 0x1401424c0
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400c3a10
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x70], di
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x1401424fe
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400c3a10
jmp 0x1401424fe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
mov ebx, edi
jmp 0x1401424fe
or ebx, 0xffffffff
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14014251a
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400c3a10
mov eax, ebx
jmp 0x140142529
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xffffffe4
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.14016ce60
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x5a0
pop rdi
pop rsi
pop rbp
ret