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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xaf8
mov rax, qword [0x1400dd078]
xor rax, rsp
mov qword [rsp + 0xae0], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0xb08], 0xa
jbe 0x14002e173
mov edx, 1
lea rcx, [rsp + 0x460]
call fcn.14003aba0
nop
lea rdx, str.getFileFolderSize:_max_depth_reached_at
lea rcx, [rsp + 0x460]
call fcn.14001d2a0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0xb00]
lea rcx, [rsp + 0x770]
call fcn.140042600
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140017ba0
nop
lea rcx, [rsp + 0x770]
call fcn.140019710
call fcn.14001c880
mov rcx, rax
call fcn.140011b70
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.140017560
nop
jmp 0x14002e0ff
mov byte [rsp + 0x238], 1
movzx eax, byte [rsp + 0x238]
test eax, eax
jne 0x14002e146
lea rdx, [rsp + 0x790]
lea rcx, [rsp + 0x460]
call fcn.14003aac0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.14003d6b0
lea rcx, [rsp + 0x790]
call fcn.140019710
jmp 0x14002e0f7
lea rcx, [rsp + 0x130]
call fcn.1400162f0
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x460]
call fcn.14002d320
mov rax, qword [rsp + 0x78]
jmp 0x14002e710
mov rdx, qword [rsp + 0xb00]
lea rcx, [rsp + 0x730]
call fcn.140016050
nop
cmp qword [rsp + 0xb08], 0
jbe 0x14002e1a8
lea rdx, [0x1400c49c4]
lea rcx, [rsp + 0x730]
call fcn.14001cf00
lea rcx, [rsp + 0x730]
call fcn.1400196d0
lea rdx, [rsp + 0x890]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x14002e354
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov edx, 1
lea rcx, [rsp + 0x550]
call fcn.14003aba0
nop
lea rdx, str.FindFirstFile_failed_for
lea rcx, [rsp + 0x550]
call fcn.14001d2a0
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x730]
lea rcx, [rsp + 0x7b0]
call fcn.140042600
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140017ba0
lea rdx, [0x1400c5b38]
mov rcx, rax
call fcn.14001d2a0
mov qword [rsp + 0xa0], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call fcn.140005ba0
nop
lea rcx, [rsp + 0x7b0]
call fcn.140019710
call fcn.14001c880
mov rcx, rax
call fcn.140011b70
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140017560
nop
jmp 0x14002e2c6
mov byte [rsp + 0x348], 1
movzx eax, byte [rsp + 0x348]
test eax, eax
jne 0x14002e313
lea rdx, [rsp + 0x870]
lea rcx, [rsp + 0x550]
call fcn.14003aac0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x240]
call fcn.14003d6b0
lea rcx, [rsp + 0x870]
call fcn.140019710
jmp 0x14002e2be
lea rcx, [rsp + 0x240]
call fcn.1400162f0
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0x550]
call fcn.14002d320
nop
lea rcx, [rsp + 0x730]
call fcn.140019a40
mov rax, qword [rsp + 0xb0]
jmp 0x14002e710
mov qword [rsp + 0x28], 0
lea rdx, [0x1400c4624]
lea rcx, [rsp + 0x8bc]
call fcn.14006d380
test eax, eax
je 0x14002e38d
lea rdx, [0x1400c4f84]
lea rcx, [rsp + 0x8bc]
call fcn.14006d380
test eax, eax
jne 0x14002e392
jmp 0x14002e566
mov eax, dword [rsp + 0x890]
and eax, 0x10
test eax, eax
je 0x14002e53b
cmp qword [rsp + 0xb08], 0
jne 0x14002e3f9
mov rdx, qword [rsp + 0xb00]
lea rcx, [rsp + 0x810]
call fcn.140016050
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
jmp 0x14002e485
lea r8, [0x1400c464c]
mov rdx, qword [rsp + 0xb00]
lea rcx, [rsp + 0x7f0]
call fcn.14002b320
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x8bc]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x7d0]
call fcn.14001dae0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x750]
call fcn.140016050
nop
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
je 0x14002e4c6
and dword [rsp + 0x20], 0xfffffffb
lea rcx, [rsp + 0x7d0]
call fcn.140019a40
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x14002e4e4
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x7f0]
call fcn.140019a40
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14002e501
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x810]
call fcn.140019a40
mov rax, qword [rsp + 0xb08]
inc rax
mov rdx, rax
lea rcx, [rsp + 0x750]
call fcn.14002e020
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x750]
call fcn.140019a40
jmp 0x14002e566
mov eax, dword [rsp + 0x8b0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x8ac]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x890]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002e35d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x12
je 0x14002e6e3
mov edx, 1
lea rcx, [rsp + 0x640]
call fcn.14003aba0
nop
lea rdx, str.FindNextFile_failed_for
lea rcx, [rsp + 0x640]
call fcn.14001d2a0
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x730]
lea rcx, [rsp + 0x830]
call fcn.140042600
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.140017ba0
lea rdx, [0x1400c5b78]
mov rcx, rax
call fcn.14001d2a0
mov qword [rsp + 0x110], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x110]
call fcn.140005ba0
nop
lea rcx, [rsp + 0x830]
call fcn.140019710
call fcn.14001c880
mov rcx, rax
call fcn.140011b70
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.140017560
nop
jmp 0x14002e67b
mov byte [rsp + 0x458], 1
movzx eax, byte [rsp + 0x458]
test eax, eax
jne 0x14002e6c8
lea rdx, [rsp + 0x850]
lea rcx, [rsp + 0x640]
call fcn.14003aac0
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x350]
call fcn.14003d6b0
lea rcx, [rsp + 0x850]
call fcn.140019710
jmp 0x14002e673
lea rcx, [rsp + 0x350]
call fcn.1400162f0
nop
lea rcx, [rsp + 0x640]
call fcn.14002d320
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x730]
call fcn.140019a40
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xae0]
xor rcx, rsp
call fcn.1400620b0
add rsp, 0xaf8
ret