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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x338]
sub rsp, 0x438
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rdi, r9
mov qword [rsp + 0x30], r8
mov rbx, rdx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp qword [r9 + 0x30], rsi
jne 0x14013f92c
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp word [rdx], si
jne 0x14013f8cc
mov r8d, esi
jmp 0x14013f8da
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14013f8d0
lea rcx, [rbp - 0x30]
call fcn.140006f10
nop
lea rcx, [rdi + 0x58]
lea rax, [rbp - 0x30]
cmp rcx, rax
je 0x14013f902
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
call fcn.140006dd0
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14013f91c
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007680
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
cmp word [rbx], 0
jne 0x14013f94f
mov r8, rsi
jmp 0x14013f95e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14013f953
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140006f10
nop
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14013f99b
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rbp + 0x10]
call fcn.140006a00
mov r8d, 3
lea rdx, [0x1401d3670]
lea rcx, [rbp + 0x10]
call fcn.140006a00
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
movzx esi, byte [rbp + 0x380]
cmp rax, 0xffffffffffffffff
je 0x14013fd39
mov ecx, dword [rbp + 0xd0]
test cl, 0x10
je 0x14013fc96
cmp byte [rbp + 0x388], 0
jne 0x14013fa03
test cl, 2
jne 0x14013fd39
test sil, sil
je 0x14013fd39
lea rdx, [0x1401d30a0]
lea rcx, [rbp + 0xfc]
call fcn.1400282d0
test eax, eax
je 0x14013fd39
lea rdx, [0x1401d3678]
lea rcx, [rbp + 0xfc]
call fcn.1400282d0
test eax, eax
je 0x14013fd39
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rax
mov word [rbp - 0x30], ax
cmp word [rbx], ax
jne 0x14013fa66
mov r8d, eax
jmp 0x14013fa7a
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], ax
jne 0x14013fa70
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140006f10
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14013fab7
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rbp - 0x30]
call fcn.140006a00
cmp word [rbp + 0xfc], 0
jne 0x14013fac6
xor r8d, r8d
jmp 0x14013fadc
lea rax, [rbp + 0xfc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013fad1
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x30]
call fcn.140006a00
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rbp - 0x30]
call fcn.140006a00
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 8], 7
mov qword [rbp], rax
mov word [rbp - 0x10], ax
cmp word [rbp + 0xfc], ax
jne 0x14013fb2a
mov r8d, eax
jmp 0x14013fb40
lea rax, [rbp + 0xfc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013fb35
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x10]
call fcn.140006f10
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rax
mov word [rbp + 0x88], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x88]
call fcn.140006dd0
nop
xor eax, eax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc0], 7
mov qword [rbp + 0xb8], rax
mov word [rbp + 0xa8], ax
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x14013fbf3
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140007680
xor eax, eax
mov qword [rbp + 8], 7
mov qword [rbp], rax
mov word [rbp - 0x10], ax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
movzx eax, byte [rbp + 0x388]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], sil
lea r9, [rbp + 0x50]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.14013f860
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14013cff0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14013ec20
nop
lea rcx, [rbp + 0x50]
call fcn.14013d650
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14013fc7d
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007680
mov qword [rbp - 0x18], 7
xor r8d, r8d
mov qword [rbp - 0x20], r8
mov word [rbp - 0x30], r8w
jmp 0x14013fd39
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0xfc]
call fcn.14002b480
test al, al
je 0x14013fd39
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 8], 7
mov qword [rbp], rax
mov word [rbp - 0x10], ax
cmp word [rbp + 0xfc], ax
jne 0x14013fcd7
mov r8d, eax
jmp 0x14013fced
lea rax, [rbp + 0xfc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013fce2
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x10]
call fcn.140006f10
nop
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.14013de80
nop
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x14013fd25
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140007680
mov qword [rbp + 8], 7
xor r8d, r8d
mov qword [rbp], r8
mov word [rbp - 0x10], r8w
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14014013f
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp + 0xd0]
test al, 0x10
je 0x140140083
cmp byte [rbp + 0x388], 0
jne 0x14013fd7f
test al, 2
jne 0x140140125
test sil, sil
je 0x140140125
lea rdx, [0x1401d30a0]
lea rcx, [rbp + 0xfc]
call fcn.1400282d0
test eax, eax
je 0x140140125
lea rdx, [0x1401d3678]
lea rcx, [rbp + 0xfc]
call fcn.1400282d0
test eax, eax
je 0x140140125
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rax
mov word [rbp - 0x30], ax
cmp word [rbx], ax
jne 0x14013fde2
mov r8d, eax
jmp 0x14013fdf0
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], ax
jne 0x14013fde6
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140006f10
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14013fe2d
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rbp - 0x30]
call fcn.140006a00
cmp word [rbp + 0xfc], 0
jne 0x14013fe3c
xor r8d, r8d
jmp 0x14013fe5b
lea rax, [rbp + 0xfc]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14013fe50
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x30]
call fcn.140006a00
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rbp - 0x30]
call fcn.140006a00
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 8], 7
mov qword [rbp], rax
mov word [rbp - 0x10], ax
cmp word [rbp + 0xfc], ax
jne 0x14013fea9
mov r8d, eax
jmp 0x14013febf
lea rax, [rbp + 0xfc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013feb4
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x10]
call fcn.140006f10
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rax
mov word [rbp + 0x88], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x88]
call fcn.140006dd0
nop
xor eax, eax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc0], 7
mov qword [rbp + 0xb8], rax
mov word [rbp + 0xa8], ax
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x14013ff72
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140007680
xor eax, eax
mov qword [rbp + 8], 7
mov qword [rbp], rax
mov word [rbp - 0x10], ax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
movzx eax, byte [rbp + 0x388]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], sil
lea r9, [rbp + 0x50]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.14013f860
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14013ce30
nop
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.14013cd50
nop
mov rax, qword [rbp + 0x80]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x58], 7
xor eax, eax
mov qword [rbp - 0x60], rax
mov word [rbp - 0x70], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x70]
call fcn.140006dd0
nop
mov qword [rbp - 0x38], 7
xor eax, eax
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x50]
call fcn.140006dd0
nop
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14013ec20
nop
lea rcx, [rbp + 0x50]
call fcn.14013d650
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14014006c
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007680
mov qword [rbp - 0x18], 7
xor eax, eax
mov qword [rbp - 0x20], rax
mov word [rbp - 0x30], ax
jmp 0x140140125
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0xfc]
call fcn.14002b480
test al, al
je 0x140140125
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rax
mov word [rbp + 0x30], ax
cmp word [rbp + 0xfc], ax
jne 0x1401400c4
mov r8d, eax
jmp 0x1401400db
lea rax, [rbp + 0xfc]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1401400d0
lea rdx, [rbp + 0xfc]
lea rcx, [rbp + 0x30]
call fcn.140006f10
nop
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.14013de80
nop
mov r8, qword [rbp + 0x48]
cmp r8, 8
jb 0x140140113
inc r8
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140007680
mov qword [rbp + 0x48], 7
xor eax, eax
mov qword [rbp + 0x40], rax
mov word [rbp + 0x30], ax
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14013fd60
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp + 0x28]
cmp r8, 8
jb 0x140140165
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140007680
mov qword [rbp + 0x28], 7
xor eax, eax
mov qword [rbp + 0x20], rax
mov word [rbp + 0x10], ax
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140168660
add rsp, 0x438
pop rdi
pop rsi
pop rbx
pop rbp
ret