Function at 0x14004af40
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c0
mov qword [rax - 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c8590]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov r15, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x320], r12d
lea r8, [rsp + 0x31]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14004eb20
nop
cmp qword [r15 + 0x10], r12
jne 0x14004afb4
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14004eb94
nop
jmp 0x14004b30e
mov r13d, 7
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r12
mov word [rsp + 0x360], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x360]
call fcn.140001904
nop
lea r8d, [r13 - 5]
lea rdx, [0x1400f9c08]
lea rcx, [rsp + 0x360]
call fcn.140001690
nop
lea rcx, [rsp + 0x360]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x360]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rsp + 0xd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov r14, rax
mov qword [rsp + 0x330], rax
cmp rax, 0xffffffffffffffff
jne 0x14004b078
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14004eb94
nop
cmp qword [rbp - 0x78], 8
jb 0x14004b062
mov rcx, qword [rsp + 0x360]
call fcn.14002d25c
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r12
mov word [rsp + 0x360], r12w
jmp 0x14004b30e
lea rsi, [rsp + 0xfc]
lea rdi, [0x1400d3af0]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14004b2b8
lea rsi, [rsp + 0xfc]
lea rdi, [0x1400f9c10]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x14004b2b8
mov edi, dword [rsp + 0xd0]
shr edi, 4
and dil, 1
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140001904
nop
mov qword [rsp + 0x350], r13
mov qword [rsp + 0x348], r12
mov word [rsp + 0x338], r12w
lea r8d, [rsi + 2]
lea rdx, [0x1400c7f9c]
lea rcx, [rsp + 0x338]
call fcn.140001a28
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x338]
lea rcx, [rbp - 0x68]
call fcn.140001560
nop
cmp qword [rsp + 0x350], 8
jb 0x14004b146
mov rcx, qword [rsp + 0x338]
call fcn.14002d25c
mov qword [rsp + 0x350], r13
mov qword [rsp + 0x348], r12
mov word [rsp + 0x338], r12w
lea rax, [rsp + 0xfc]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x14004b16a
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x338]
call fcn.140001a28
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x338]
lea rcx, [rbp - 0x68]
call fcn.140001560
nop
cmp qword [rsp + 0x350], 8
jb 0x14004b1ba
mov rcx, qword [rsp + 0x338]
call fcn.14002d25c
mov byte [rsp + 0xa0], dil
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xb8], r12
mov word [rsp + 0xa8], r12w
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0xa8]
call fcn.140001480
nop
mov qword [rsp + 0x350], r13
mov qword [rsp + 0x348], r12
mov word [rsp + 0x338], r12w
lea rax, [rsp + 0xfc]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x14004b211
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x338]
call fcn.140001a28
nop
lea rdx, [rsp + 0x338]
lea rcx, [rsp + 0x40]
call fcn.14004effc
mov cl, byte [rsp + 0xa0]
mov byte [rax], cl
lea rcx, [rax + 8]
lea rdx, [rsp + 0xa8]
call fcn.140001480
nop
cmp qword [rsp + 0x350], 8
jb 0x14004b276
mov rcx, qword [rsp + 0x338]
call fcn.14002d25c
mov qword [rsp + 0x350], r13
mov qword [rsp + 0x348], r12
mov word [rsp + 0x338], r12w
cmp qword [rsp + 0xc0], 8
jb 0x14004b2a8
mov rcx, qword [rsp + 0xa8]
call fcn.14002d25c
nop
cmp qword [rbp - 0x50], 8
jb 0x14004b2b8
mov rcx, qword [rbp - 0x68]
call fcn.14002d25c
lea rdx, [rsp + 0xd0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004b078
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14004eb94
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rbp - 0x78], 8
jb 0x14004b2fd
mov rcx, qword [rsp + 0x360]
call fcn.14002d25c
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r12
mov word [rsp + 0x360], r12w
cmp qword [rsp + 0x60], r12
je 0x14004b32a
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rsp + 0x60]
call fcn.14002d25c
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x48]
call fcn.14004ea04
mov rcx, qword [rsp + 0x48]
call fcn.14002d25c
mov rax, rbx
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.1400056f0
mov rbx, qword [rsp + 0x410]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret