Function at 0x1400cde80
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x14014d470]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], 0xffffffffffffffff
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::isEmpty_void_const___ptr64]
movzx eax, al
test eax, eax
jne 0x1400cdf3a
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xc8]
call fcn.140011600
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14005b9c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xc8]
call fcn.14004f260
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x1400ce197
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x44], eax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QString::toLocal8Bit_void____ptr64]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov r9d, dword [rsp + 0x44]
mov r8, rax
lea rdx, str.minidump_file__s_size__d_n
xor ecx, ecx
call fcn.1400ce4d0
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp dword [rsp + 0x44], 0
jbe 0x1400ce18c
cmp dword [rsp + 0x44], 0xffffffff
je 0x1400ce18c
cmp dword [rsp + 0x44], 0x200000
ja 0x1400ce18c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], eax
xor eax, eax
cmp eax, 1
je 0x1400ce057
xor eax, eax
test eax, eax
je 0x1400ce052
cmp dword [rsp + 0x58], 0xffffffff
je 0x1400ce048
mov dword [rsp + 0x70], 1
jmp 0x1400ce050
mov dword [rsp + 0x70], 0
jmp 0x1400ce031
jmp 0x1400ce0d7
mov dword [rsp + 0x74], 0xffffffff
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [0x14012eea4]
lea rcx, [rsp + 0x48]
call fcn.14004aa20
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14004aa20
lea rdx, [0x14012eedc]
mov rcx, rax
call fcn.14004aa20
lea rdx, [0x14012eef4]
mov rcx, rax
call fcn.14004aa20
lea rdx, [0x14012ef04]
mov rcx, rax
call fcn.14004aa20
lea rdx, [rsp + 0x74]
mov rcx, rax
call fcn.14004aa20
lea rdx, [0x14012ef14]
mov rcx, rax
call fcn.14004aa20
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x44]
mov ecx, eax
call fcn.140006bd0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400ce136
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400ce172
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x5c], eax
jne 0x1400ce172
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
call fcn.1400cd820
movzx eax, al
test eax, eax
je 0x1400ce172
mov byte [rsp + 0x40], 1
lea rdx, str.Sent_minidump_to_server_n
mov ecx, 1
call fcn.140010ac0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140006bf0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x49], al
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, byte [rsp + 0x49]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140101630
add rsp, 0xf0
pop rdi
ret