Function at 0x10040bda0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x710
mov rax, qword [0x100422010]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rax, qword [rsp + 0x770]
lea rcx, [rsp + 0x4f0]
mov rbp, qword [rsp + 0x778]
xor ebx, ebx
mov r13, qword [rsp + 0x798]
mov rsi, r9
mov dword [rsp + 0x30], r8d
xor edi, edi
mov qword [rsp + 0x48], rdx
mov r8d, 0x208
xor edx, edx
mov qword [rsp + 0x38], r9
lea r12d, [rbx + 1]
mov qword [rsp + 0x40], rax
call sub.VCRUNTIME140.dll_memset
mov r9, rsi
lea r8, str.Collecting_extra_files_matching___ls.
lea edx, [rbx + 2]
lea rcx, [0x100422050]
call fcn.100401b20
mov rax, qword [rsp + 0x780]
lea r14, [rsp + 0x4f0]
mov rsi, qword [rsp + 0x790]
mov r15, qword [rsp + 0x788]
lea r14, [r14 + rax*2]
lea rdx, [rsp + 0x2a0]
test rdi, rdi
jne 0x10040bea2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10040beb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10040c04c
mov r9, qword [rsp + 0x38]
lea r8, str.No_extra_files_matching_pattern__ls_were_found
lea edx, [rdi + 2]
lea rcx, [0x100422050]
call fcn.100401b20
jmp 0x10040c135
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r12d, eax
test eax, eax
je 0x10040c0f9
mov r9, qword [rsp + 0x40]
lea rax, [rsp + 0x2cc]
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x4f0]
call fcn.100401090
lea rcx, [0x100422050]
mov ebx, eax
test eax, eax
js 0x10040c0ed
lea r9, [rsp + 0x4f0]
mov edx, 2
lea r8, str.File_to_collect___ls.
call fcn.100401b20
test rsi, rsi
je 0x10040bf3a
xor dl, dl
xor ecx, ecx
test dl, dl
jne 0x10040bf3a
movzx eax, word [r15 + rcx*2]
movzx r8d, word [r14]
cmp ax, r8w
sete dl
inc rcx
cmp rcx, rsi
jb 0x10040bf14
cmp ax, r8w
jne 0x10040c03e
lea rcx, [rsp + 0x50]
mov edx, 4
lea rax, [rsp + 0x2a0]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x10040bf50
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
mov rax, qword [rsp + 0x2b8]
shr rax, 0x20
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
test eax, eax
jne 0x10040c0b4
mov ecx, dword [rsp + 0x2c0]
add qword [rbp], rcx
mov rax, qword [rbp]
cmp rax, 0xa00000
jge 0x10040c08c
mov r9d, dword [rsp + 0x30]
lea r8d, [rdx + 5]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x4f0]
inc dword [r13]
call qword [sym.imp.wer.dll_WerReportAddFile]
lea rcx, [0x100422050]
mov ebx, eax
test eax, eax
js 0x10040c07d
lea r9, [rsp + 0x4f0]
mov edx, 2
lea r8, str.Collected_extra_file___ls.
call fcn.100401b20
test r12d, r12d
jne 0x10040be52
jmp 0x10040c130
test eax, eax
jg 0x10040c054
mov ebx, eax
jmp 0x10040c05d
movzx ebx, ax
or ebx, 0x80070000
mov r9d, ebx
lea r8, str.FindFirstFile_failed__hr__error:_0x_08X
mov edx, 1
lea rcx, [0x100422050]
call fcn.100401b20
jmp 0x10040c135
mov r9d, eax
lea r8, str.WerReportAddfile_Extra_File_failed__error:_0x_08X
jmp 0x10040c126
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
mov dword [rsp + 0x20], ecx
lea r8, str.totalSize_has_exceeded_limit__fileName___s__fileSizeLow___d__totalSize___lld
lea rcx, [0x100422050]
mov edx, 1
call fcn.100401b20
jmp 0x10040c0cf
mov r9d, eax
lea r8, str.fileSizeHigh___0__fileSizeHigh___d
mov edx, 1
lea rcx, [0x100422050]
call fcn.100401b20
mov r9, qword [rbp]
lea r8, str.Total_Size_of_Files___lld__has_exceeded_limit
mov edx, 1
lea rcx, [0x100422050]
call fcn.100401b20
jmp 0x10040c130
mov r9d, eax
lea r8, str.StringCchPrintfW_fileToCollect__failed__error:_0x_08X
jmp 0x10040c126
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10040c130
test eax, eax
jg 0x10040c10c
mov ebx, eax
jmp 0x10040c115
movzx ebx, ax
or ebx, 0x80070000
mov r9d, ebx
lea r8, str.FindNextFile_failed__hr__error:_0x_08X
lea rcx, [0x100422050]
mov edx, 1
call fcn.100401b20
test rdi, rdi
je 0x10040c13e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.1004119e0
mov rbx, qword [rsp + 0x750]
add rsp, 0x710
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret