Function at 0x140025430
Capabilities:
Delete file
Enumerate files on windows
Read file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x840]
sub rsp, 0x950
mov rax, qword [0x14011e878]
xor rax, rsp
mov qword [rbp + 0x810], rax
lea rdx, str.Checking_for_old_crash_zips_that_failed_their_uploads_to_re_upload...
xor ecx, ecx
call fcn.14002a430
call fcn.14003a940
dec eax
test eax, 0xfffffffd
je 0x14002590c
mov qword [rsp + 0x960], rbx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x968], rsi
mov qword [rsp + 0x970], rdi
mov qword [rsp + 0x938], r14
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp - 0x60]
movabs rcx, 0x58028e44000
sub rax, rcx
mov dword [rbp - 0x60], eax
shr rax, 0x20
mov dword [rbp - 0x5c], eax
call fcn.140024660
xor edx, edx
mov qword [rbp - 0x70], rax
mov r8d, 0x208
lea rcx, [rbp + 0x600]
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
lea rax, str..zip
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x600]
call fcn.14001f730
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x600]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor r14d, r14d
mov qword [rbp - 0x78], rax
movzx ebx, r14w
mov rdi, rax
mov word [rbp - 0x80], bx
cmp rax, 0xffffffffffffffff
je 0x1400258d4
mov qword [rsp + 0x948], r12
mov qword [rsp + 0x940], r13
mov qword [rsp + 0x930], r15
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x3f0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x14]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call fcn.14001f730
cmp word [0x140132d70], 0
jne 0x1400255bc
mov ecx, 4
call fcn.140001830
mov edx, 0x20
mov dword [rsp + 0x20], eax
lea r9, str.CL_u
lea rcx, [0x140132d70]
lea r8, [rdx - 0x21]
call fcn.1400029a0
lea rdx, [0x140132d70]
lea rcx, [rbp + 0x3f0]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x1400255fb
lea rdx, str.The_crash_zip___ws__hasnt_been_generated_with_the_last_changelist_number._Deleted.
lea r8, [rbp + 0x3f0]
xor ecx, ecx
call fcn.14002a650
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140025883
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x2c]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x140025617
lea rdx, str.The_crash_zip___ws__is_too_old_to_be_submitted._Deleted.
jmp 0x1400255db
xor r8d, r8d
lea rcx, [rbp + 0x3f0]
mov dl, 1
call fcn.14003a720
xor ecx, ecx
lea r8, [rbp + 0x3f0]
test eax, eax
jne 0x1400258a7
lea rdx, str.Ancient_crash_zip___ws__re_uploaded.
call fcn.14002a430
call fcn.140024720
mov r9, rax
lea r8, str._s_s
lea rax, [rbp - 0x14]
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
mov qword [rsp + 0x20], rax
call fcn.14001f730
xorps xmm0, xmm0
lea rcx, [rbp + 0x3f0]
movups xmmword [rbp + 0x3a0], xmm0
call fcn.1400022c0
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x3f0]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140025747
test edi, edi
je 0x140025747
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov rcx, rsi
test rax, rax
jne 0x1400256e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140025755
lea r9, [rbp - 0x68]
mov dword [rbp - 0x68], r14d
mov r8d, edi
mov qword [rsp + 0x20], r14
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x210]
call fcn.1400d4710
test eax, eax
jne 0x14002573c
mov r8d, dword [rbp - 0x68]
lea rcx, [rbp + 0x210]
mov rdx, rbx
call fcn.1400d4740
test eax, eax
jne 0x14002573c
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x210]
call fcn.1400d4840
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140025755
lea rdx, str.Impossible_to_open_the_file___file_has_a_size_of_0_bytes.
xor ecx, ecx
call fcn.14002a3c0
movzx eax, byte [rbp + 0x3af]
xorps xmm0, xmm0
movzx ecx, byte [rbp + 0x3ae]
movzx edx, byte [rbp + 0x3ad]
movzx r10d, byte [rbp + 0x3ac]
movzx r11d, byte [rbp + 0x3ab]
movzx ebx, byte [rbp + 0x3aa]
movzx edi, byte [rbp + 0x3a9]
movzx esi, byte [rbp + 0x3a8]
movzx r14d, byte [rbp + 0x3a7]
movzx r15d, byte [rbp + 0x3a6]
movzx r12d, byte [rbp + 0x3a5]
movzx r13d, byte [rbp + 0x3a4]
movzx r9d, byte [rbp + 0x3a1]
movzx r8d, byte [rbp + 0x3a0]
mov dword [rsp + 0x88], eax
movzx eax, byte [rbp + 0x3a3]
mov dword [rsp + 0x80], ecx
lea rcx, [rbp + 0x3b0]
mov dword [rsp + 0x78], edx
lea rdx, str._02x_02x_02x_02x__02x_02x_02x_02x__02x_02x_02x_02x__02x_02x_02x_02x
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
movzx eax, byte [rbp + 0x3a2]
mov dword [rsp + 0x20], eax
movups xmmword [rbp + 0x3b0], xmm0
movups xmmword [rbp + 0x3c0], xmm0
movups xmmword [rbp + 0x3d0], xmm0
movups xmmword [rbp + 0x3e0], xmm0
call fcn.140023ef0
lea r8, [rbp + 0x3b0]
xor ecx, ecx
lea rdx, str.Generated_hash_from_the_zip_content_:___s_
call fcn.14002a430
lea rax, [rbp - 0x14]
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
lea rax, [rbp + 0x3b0]
mov qword [rbp - 0x50], rax
call fcn.14003a920
movzx ebx, word [rbp - 0x80]
xor r14d, r14d
mov rdi, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x70]
inc bx
mov word [rbp - 0x80], bx
cmp bx, 2
jae 0x1400258b3
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140025550
jmp 0x1400258b3
lea rdx, str.Failed_to_upload_ancient_crash_zip___ws_.
call fcn.14002a3c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r15, qword [rsp + 0x930]
mov r13, qword [rsp + 0x940]
mov r12, qword [rsp + 0x948]
mov rdi, qword [rsp + 0x970]
mov rsi, qword [rsp + 0x968]
mov rbx, qword [rsp + 0x960]
mov r14, qword [rsp + 0x938]
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.1400d51a0
add rsp, 0x950
pop rbp
ret
lea rdx, str.The_crash_zip_generated_by_the_current_session_has_failed_the_upload._Do_not_try_to_upload_more_crash_zips.
xor ecx, ecx
call fcn.14002a650
jmp 0x1400258f4