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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x668
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + Ordinal_1622], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x670]
cmp qword [rax + 0x18], 8
jb 0x1400cc7f5
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x670]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x1400cc802
mov rax, qword [rsp + 0x670]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1400cd5a0
movzx eax, al
test eax, eax
jne 0x1400cc81a
xor al, al
jmp 0x1400cce4e
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x120]
call fcn.1400034f0
nop
lea rax, [rsp + 0x120]
test rax, rax
je 0x1400cc853
lea rax, [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x78], rax
jmp 0x1400cc85c
mov qword [rsp + 0x78], 0
mov rdx, qword [rsp + 0x670]
mov rcx, qword [rsp + 0x78]
call fcn.140002f10
lea rax, [rsp + 0x120]
test rax, rax
je 0x1400cc891
lea rax, [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x88], rax
jmp 0x1400cc89d
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x670]
cmp qword [rax + 0x18], 8
jb 0x1400cc8cb
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x670]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400cc8d8
mov rax, qword [rsp + 0x670]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400d02d0
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000f7c0
lea rax, [rsp + 0x120]
test rax, rax
je 0x1400cc915
lea rax, [rsp + 0x120]
add rax, 0x10
mov qword [rsp + 0x80], rax
jmp 0x1400cc921
mov qword [rsp + 0x80], 0
lea rdx, [0x1401858c4]
mov rcx, qword [rsp + 0x80]
call fcn.14000f7c0
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x120]
call fcn.140005c20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 8
jb 0x1400cc977
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x1400cc981
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x400]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x360]
call fcn.140004620
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400cc9e3
mov byte [rsp + 0x24], 0
lea rax, [rsp + 0x1b8]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x1b8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x24]
jmp 0x1400cce4e
lea rdx, [rsp + 0x42c]
lea rcx, [rsp + 0x320]
call fcn.140003390
nop
lea rdx, [0x1401858bc]
lea rcx, [rsp + 0x3c0]
call fcn.140003390
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x320]
call fcn.140028450
test eax, eax
jne 0x1400cca53
mov dword [rsp + 0x28], 1
jmp 0x1400cca5b
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x1400ccac9
lea rdx, [0x1402a5fc0]
lea rcx, [rsp + reloc.mfc110u.dll_Ordinal_896]
call fcn.140003390
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x320]
call fcn.140028450
test eax, eax
jne 0x1400ccaae
mov dword [rsp + 0x30], 1
jmp 0x1400ccab6
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400ccac9
mov dword [rsp + 0x2c], 0
jmp 0x1400ccad1
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1400ccafd
and dword [rsp + 0x20], 0xfffffffd
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + reloc.mfc110u.dll_Ordinal_896]
call fcn.140004620
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400ccb1f
and dword [rsp + 0x20], 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3c0]
call fcn.140004620
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x1400ccb3f
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x320]
call fcn.140004620
jmp 0x1400ccdfd
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x220]
call fcn.1400034f0
nop
lea rax, [rsp + 0x220]
test rax, rax
je 0x1400ccb7b
lea rax, [rsp + 0x220]
add rax, 0x10
mov qword [rsp + 0x90], rax
jmp 0x1400ccb87
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x670]
cmp qword [rax + 0x18], 8
jb 0x1400ccbb5
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x670]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400ccbc2
mov rax, qword [rsp + 0x670]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400d02d0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x670]
mov rcx, qword [rsp + 0x90]
call fcn.140002f10
mov rcx, qword [rsp + 0xb8]
mov rdx, rcx
mov rcx, rax
call fcn.14000f7c0
lea rdx, [rsp + 0x320]
mov rcx, rax
call fcn.140002f10
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x220]
call fcn.140005c20
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 8
jb 0x1400ccc5e
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x1400ccc68
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400cd5a0
mov byte [rsp + 0x26], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3a0]
call fcn.140004620
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x1400ccd8b
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x220]
call fcn.140005c20
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0x678]
mov rcx, qword [rsp + 0xb0]
call fcn.1400cc790
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3e0]
call fcn.140004620
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x220]
call fcn.140005c20
nop
lea r8, [0x1402a5bb0]
lea rdx, [0x1402a5bac]
lea rcx, [rsp + 0x340]
call fcn.1400cad60
mov rax, qword [rsp + 0x678]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0x678]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xd0]
call fcn.140062290
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
lea r8, [rsp + 0x340]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x678]
call fcn.140031360
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x340]
call fcn.140004620
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400ccdc9
lea rax, [rsp + 0x2b8]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x2b8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x320]
call fcn.140004620
jmp 0x1400cce18
lea rax, [rsp + 0x2b8]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x2b8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x320]
call fcn.140004620
lea rdx, [rsp + 0x400]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400cc9e3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x25], 1
lea rax, [rsp + 0x1b8]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x1b8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x668
ret