Function at 0x1401435d0
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 [0x14028c238]
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 0x14014361c
mov rcx, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140143b3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rbp + 0x240]
shr eax, 4
and al, 1
je 0x140143b44
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 0x14014367e
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 0x1401436b8
cmp qword [rsi + 0x18], 8
jb 0x140143693
mov rax, qword [rsi]
jmp 0x140143696
mov rax, rsi
movzx ecx, word [rax + rcx*2 - 2]
cmp cx, 0x5c
je 0x1401436b8
cmp cx, 0x2f
je 0x1401436b8
mov edx, 1
lea r8d, [rdx + 0x5b]
mov rcx, rsi
call fcn.1400c3870
lea r8, [0x140236090]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400e1f60
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x140143713
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1401436f4
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 0x14014372d
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 0x14014377b
cmp rdi, 0xffffffffffffffff
je 0x140143771
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, 0xffffffea
jmp 0x140143b1e
cmp rdi, 0xffffffffffffffff
je 0x140143b1b
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 0x1401437ad
mov r8d, eax
jmp 0x1401437c0
lea rax, [rbp + 0x1c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1401437b5
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, [0x14023267c]
mov rdx, qword [rbp - 0x40]
call fcn.1400ca4f0
test eax, eax
je 0x140143a4d
lea rcx, [rbp - 0x50]
cmp rdi, 8
cmovae rcx, rbx
mov r9d, 2
lea r8, [0x1402360a4]
call fcn.1400ca4f0
test eax, eax
je 0x140143a4d
lea r8, [rbp - 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400cb2f0
nop
lea rdx, [rbp - 0x70]
test byte [rbp - 0x10], 0x10
je 0x1401439c1
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 0x1401438a9
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 0x1401438a9
cmp cx, 0x2f
je 0x1401438a9
lea edx, [rdi + 1]
lea r8d, [rdi + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.1400c3870
lea r8, [0x140236090]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400e1f60
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140143909
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1401438e8
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 0x140143923
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 0x140143963
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 5
je 0x14014399e
mov ecx, dword [rsp + 0x34]
mov eax, dword [rbp + 0x4e0]
test ecx, ecx
js 0x14014397a
cmp eax, ecx
jge 0x14014399e
inc eax
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8b, 1
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.1401435d0
mov ebx, eax
test eax, eax
js 0x140143a88
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140143a33
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400c3a10
jmp 0x140143a33
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.1400c8870
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 0x140143a4d
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 0x140143a7b
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400c3a10
test ebx, ebx
je 0x140143b0c
jmp 0x140143790
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140143ab1
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 0x140143ae0
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 0x140143b1e
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400c3a10
jmp 0x140143b1e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
mov ebx, edi
jmp 0x140143b1e
or ebx, 0xffffffff
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x140143b3a
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400c3a10
mov eax, ebx
jmp 0x140143b49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xffffffe4
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x5a0
pop rdi
pop rsi
pop rbp
ret