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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x448
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbp, r9
mov qword [rsp + 0x50], r9
mov rbx, r8
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x44], edx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], r9
mov rsi, qword [rsp + 0x490]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x198], 7
xor eax, eax
mov qword [rsp + 0x190], rax
mov word [rsp + 0x180], ax
lea r8d, [rax + 0x1b]
lea rdx, str.Directories::DIR_DeleteTree
lea rcx, [rsp + 0x178]
call fcn.140001870
nop
lea r9, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae r9, qword [rsp + 0x180]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, rdi
call fcn.1400144a0
lea r11, [rsp + 0x98]
mov qword [rsp + 0x68], r11
mov qword [rsp + 0xb8], 7
xor eax, eax
mov qword [rsp + 0xb0], rax
mov word [rsp + 0xa0], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
lea rcx, [rsp + 0x98]
call fcn.140001500
nop
mov qword [rsp + 0x148], 7
xor eax, eax
mov qword [rsp + 0x140], rax
mov word [rsp + 0x130], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x128]
call fcn.140001500
nop
mov r9d, dword [rsp + 0x4a0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x128]
mov rcx, rdi
call fcn.14002c3b0
mov byte [rsp + 0x40], al
cmp dword [rsp + 0x44], 0
je 0x14002d5c0
mov qword [rsp + 0x1c0], 7
xor eax, eax
mov qword [rsp + 0x1b8], rax
mov word [rsp + 0x1a8], ax
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], rax
mov word [rsp + 0x158], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x1a0]
call fcn.140001500
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x14002d176
test rbx, rbx
je 0x14002d15c
cmp rbx, 0xffffffffffffffff
jbe 0x14002d0d8
or rcx, 0xffffffffffffffff
jmp 0x14002d0dc
lea rcx, [rbx - 1]
lea rax, [rsp + 0x1a8]
mov rsi, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x1c0]
cmp rbp, 8
cmovae rax, rsi
lea rdi, [rax + rcx*2]
mov ecx, 1
lea rax, [0x1400ad338]
movzx edx, word [rdi]
nop
cmp word [rax], dx
je 0x14002d137
add rax, 2
sub rcx, 1
jne 0x14002d110
lea rcx, [rsp + 0x1a0]
call fcn.1400016d0
cmp rdi, rax
je 0x14002d15c
sub rdi, 2
jmp 0x14002d100
lea rax, [rsp + 0x1a8]
cmp rbp, 8
cmovae rax, rsi
sub rdi, rax
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x14002d15c
lea rax, [rdi + 1]
cmp rbx, rax
je 0x14002d176
mov r8d, 1
lea rdx, [0x1400ad338]
lea rcx, [rsp + 0x1a0]
call fcn.14000a130
mov r8d, 3
lea rdx, [0x1400adb90]
lea rcx, [rsp + 0x1a0]
call fcn.14000a130
lea rcx, [rsp + 0x1a8]
cmp qword [rsp + 0x1c0], 8
cmovae rcx, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x14002d552
nop word [rax + rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.140001500
mov rbx, qword [rsp + 0x168]
test rbx, rbx
je 0x14002d2b6
test rbx, rbx
je 0x14002d29c
cmp rbx, 0xffffffffffffffff
jbe 0x14002d20f
or rcx, 0xffffffffffffffff
jmp 0x14002d213
lea rcx, [rbx - 1]
lea rax, [rsp + 0x158]
mov rsi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x170]
cmp rbp, 8
cmovae rax, rsi
lea rdi, [rax + rcx*2]
nop word [rax + rax]
mov ecx, 1
lea rax, [0x1400ad338]
movzx edx, word [rdi]
nop
cmp word [rax], dx
je 0x14002d277
add rax, 2
sub rcx, 1
jne 0x14002d250
lea rcx, [rsp + 0x150]
call fcn.1400016d0
cmp rdi, rax
je 0x14002d29c
sub rdi, 2
jmp 0x14002d240
lea rax, [rsp + 0x158]
cmp rbp, 8
cmovae rax, rsi
sub rdi, rax
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x14002d29c
lea rax, [rdi + 1]
cmp rbx, rax
je 0x14002d2b6
mov r8d, 1
lea rdx, [0x1400ad338]
lea rcx, [rsp + 0x150]
call fcn.14000a130
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20c]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x20c]
lea rcx, [rsp + 0x150]
call fcn.14000a130
mov rbx, qword [rsp + 0x168]
test rbx, rbx
je 0x14002d3b8
test rbx, rbx
je 0x14002d38c
cmp rbx, 0xffffffffffffffff
jbe 0x14002d309
or rcx, 0xffffffffffffffff
jmp 0x14002d30d
lea rcx, [rbx - 1]
lea rax, [rsp + 0x158]
mov rsi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x170]
cmp rbp, 8
cmovae rax, rsi
lea rdi, [rax + rcx*2]
mov ecx, 1
lea rax, [0x1400ad338]
movzx edx, word [rdi]
cmp word [rax], dx
je 0x14002d367
add rax, 2
sub rcx, 1
jne 0x14002d340
lea rcx, [rsp + 0x150]
call fcn.1400016d0
cmp rdi, rax
je 0x14002d38c
sub rdi, 2
jmp 0x14002d331
lea rax, [rsp + 0x158]
cmp rbp, 8
cmovae rax, rsi
sub rdi, rax
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x14002d38c
lea rax, [rdi + 1]
cmp rbx, rax
je 0x14002d3c8
mov r8d, 1
lea rdx, [0x1400ad338]
lea rcx, [rsp + 0x150]
call fcn.14000a130
mov rbp, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x158]
jmp 0x14002d3c8
mov rbp, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x158]
cmp word [rsp + 0x20c], 0x2e
je 0x14002d52a
test byte [rsp + 0x1e0], 0x10
je 0x14002d52a
mov rbx, qword [rsp + 0x58]
cmp qword [rbx + 0x18], 0
je 0x14002d41d
lea rdi, [rsp + 0x158]
cmp rbp, 8
cmovae rdi, rsi
mov rcx, rbx
call fcn.1400014a0
mov rdx, rax
mov rcx, rdi
call fcn.140003e20
test rax, rax
jne 0x14002d52a
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x108], 7
xor edi, edi
mov qword [rsp + 0x100], rdi
mov word [rsp + 0xf0], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0xe8]
call fcn.140001500
nop
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], rdi
mov word [rsp + 0xc8], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.140001500
nop
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x70]
call fcn.140001500
nop
mov eax, dword [rsp + 0x4a0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x498]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x48]
call fcn.14002cee0
mov ecx, dword [rsp + 0x40]
movzx ecx, cl
test al, al
cmove ecx, edi
mov dword [rsp + 0x40], ecx
lea rdx, [rsp + 0x1e0]
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002d1d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x170], 8
jb 0x14002d56a
mov rcx, qword [rsp + 0x158]
call fcn.140065920
mov qword [rsp + 0x170], 7
xor eax, eax
mov qword [rsp + 0x168], rax
mov word [rsp + 0x158], ax
cmp qword [rsp + 0x1c0], 8
jb 0x14002d5b1
mov rcx, qword [rsp + 0x1a8]
call fcn.140065920
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
jmp 0x14002d5c0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
cmp dword [rsp + 0x498], 0
je 0x14002d722
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RemoveDirectoryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RemoveDirectoryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rdi, rdi
je 0x14002d62b
cmp qword [rbx + 0x20], 8
jb 0x14002d61d
mov rcx, qword [rbx + 8]
jmp 0x14002d621
lea rcx, [rbx + 8]
call rdi
test eax, eax
jne 0x14002d722
cmp dword [rsp + 0x4a0], 0
je 0x14002d678
mov qword [rsp + 0x90], 7
xor eax, eax
mov qword [rsp + 0x88], rax
mov word [rsp + 0x78], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140001500
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.1400551b0
jmp 0x14002d722
lea rdi, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae rdi, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.RemoveDirectory
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
mov r9, rdi
mov edx, reloc.Cabinet.dll_FDICreate
lea r8d, [rdx - 0x13]
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400144a0
cmp qword [rbx + 0x20], 8
jb 0x14002d6da
mov rax, qword [rbx + 8]
jmp 0x14002d6de
lea rax, [rbx + 8]
lea r9, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae r9, qword [rsp + 0x180]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
lea rax, str.Parameter___i_:__s
mov qword [rsp + 0x20], rax
mov edx, reloc.Cabinet.dll_FDICreate
lea r8d, [rdx - 0x13]
mov rcx, rdi
call fcn.1400144a0
lea r9, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae r9, qword [rsp + 0x180]
mov edi, dword [rsp + 0x40]
movzx eax, dil
mov dword [rsp + 0x28], eax
lea rax, str.Return_code___i_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, qword [rsp + 0x48]
call fcn.1400144a0
lea r9, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae r9, qword [rsp + 0x180]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, qword [rsp + 0x48]
call fcn.1400144a0
nop
cmp qword [rsp + 0x198], 8
jb 0x14002d7b9
mov rcx, qword [rsp + 0x180]
call fcn.140065920
mov qword [rsp + 0x198], 7
xor eax, eax
mov qword [rsp + 0x190], rax
mov word [rsp + 0x180], ax
cmp qword [rbx + 0x20], 8
jb 0x14002d7e9
mov rcx, qword [rbx + 8]
call fcn.140065920
xor eax, eax
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rax
mov word [rbx + 8], ax
cmp qword [rbp + 0x20], 8
jb 0x14002d80b
mov rcx, qword [rbp + 8]
call fcn.140065920
xor eax, eax
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rax
mov word [rbp + 8], ax
cmp qword [rsi + 0x20], 8
jb 0x14002d82d
mov rcx, qword [rsi + 8]
call fcn.140065920
xor eax, eax
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], rax
mov word [rsi + 8], ax
mov al, dil
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140064b70
add rsp, 0x448
pop rdi
pop rsi
pop rbp
pop rbx
ret