Function at 0x14004e620
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x390
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401d1010]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
xor r8d, r8d
xor edx, edx
call fcn.14004fba8
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movss xmm0, dword [0x140195ba8]
movss dword [rsp + 0x40], xmm0
lea edx, [r15 + 8]
lea rcx, [rsp + 0x40]
call fcn.140032944
cmp qword [r13 + 0x10], r15
jne 0x14004e6cb
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14004f284
jmp 0x14004eb3b
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.14000cc2c
nop
mov ebx, 1
mov r8d, ebx
lea rdx, [0x1401183ac]
lea rcx, [rbp - 0x38]
call fcn.14000ca54
mov r8d, ebx
lea rdx, [0x14013aaf0]
mov rcx, rax
call fcn.14000ca54
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rbp - 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x14004e7a0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14004f284
nop
cmp rbx, rbx
je 0x14004e754
or rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, qword [rbp - 0x20]
cmp rax, 8
jb 0x14004eb29
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rdx, rcx
mov esi, 0x1000
cmp rax, rsi
jb 0x14004eb23
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14004eb23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop dword [rax + rax]
mov esi, 0x1000
mov r14d, 7
movzx ecx, word [rbp + 0x5c]
movzx eax, word [rbp + 0x5e]
cmp cx, word [0x140128e44]
jne 0x14004e7c9
cmp ax, word [0x140128e46]
je 0x14004ea8a
cmp cx, word [0x14013aaf4]
jne 0x14004e7ec
cmp ax, word [0x14013aaf6]
jne 0x14004e7ec
movzx eax, word [rbp + 0x60]
cmp ax, word [0x14013aaf8]
je 0x14004ea8a
mov r12d, dword [rbp + 0x30]
shr r12d, 4
and r12b, 1
mov rdx, r13
lea rcx, [rbp - 0x18]
call fcn.14000cc2c
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r14
mov word [rbp - 0x58], r15w
lea rdx, [0x1401183ac]
lea rcx, [rbp - 0x58]
call fcn.14000c968
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp - 0x18]
call fcn.14000ca54
mov rax, qword [rbp - 0x40]
cmp rax, 8
jb 0x14004e875
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rdx, rcx
cmp rax, rsi
jb 0x14004e86f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14004eaf2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r14
mov word [rbp - 0x58], r15w
lea rdx, [rbp + 0x5c]
lea rcx, [rbp - 0x58]
call fcn.14000c968
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp - 0x18]
call fcn.14000ca54
mov rax, qword [rbp - 0x40]
cmp rax, 8
jb 0x14004e8e3
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rdx, rcx
cmp rax, rsi
jb 0x14004e8dd
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14004eaf9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbp + 8], r12b
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp - 8]
movups xmmword [rbp + 0x20], xmm1
mov qword [rbp - 8], r15
mov qword [rbp], r14
mov word [rbp - 0x18], r15w
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r14
mov word [rbp - 0x58], r15w
lea rdx, [rbp + 0x5c]
lea rcx, [rbp - 0x58]
call fcn.14000c968
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140032114
mov rcx, qword [rbp - 0x80]
mov r14, qword [rsp + 0x48]
cmp rcx, r14
jne 0x14004e9b1
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov r14, qword [r14]
mov r15, qword [r14 + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rdx, r14
call fcn.1400501f0
movabs rcx, 0x2e8ba2e8ba2e8b9
mov rdx, qword [rsp + 0x50]
sub rcx, rdx
cmp rcx, 1
jb 0x14004eb00
inc rdx
mov qword [rsp + 0x50], rdx
mov qword [r14 + 8], rax
mov qword [r15], rax
mov r9, qword [rsp + 0x48]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.14004ff50
mov rcx, qword [rbp - 0x78]
xor r15d, r15d
jmp 0x14004e9b9
mov qword [rbp - 0x78], rcx
mov byte [rbp - 0x70], r15b
mov byte [rcx + 0x30], r12b
add rcx, 0x38
lea rdx, [rbp + 0x10]
call fcn.14000cba0
nop
mov rax, qword [rbp - 0x40]
cmp rax, 8
jb 0x14004ea04
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rdx, rcx
cmp rax, rsi
jb 0x14004e9fe
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14004eb0e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x48], r15
mov r14d, 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x58], r15w
mov rax, qword [rbp + 0x28]
cmp rax, 8
jb 0x14004ea51
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rdx, rcx
cmp rax, rsi
jb 0x14004ea4a
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14004eb15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp]
cmp rax, 8
jb 0x14004ea8a
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rdx, rcx
cmp rax, rsi
jb 0x14004ea84
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14004eb1c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004e7ab
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14004f284
cmp rbx, 0xffffffffffffffff
je 0x14004eabc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, qword [rbp - 0x20]
cmp rax, 8
jb 0x14004eb29
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rdx, rcx
cmp rax, rsi
jb 0x14004eb23
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14004eb23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movdqa xmm0, xmmword [0x140195bf0]
mov word [rbp - 0x38], r15w
movdqu xmmword [rbp - 0x28], xmm0
lea rcx, [rsp + 0x40]
call fcn.14004db20
mov rax, rdi
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140107ad0
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret