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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x1401a1460]
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 0x1400ebee3
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xc8]
call fcn.1400110e0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140064660
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.140055510
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x1400ec132
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 + 0xa8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll__toLocal8Bit_QString__QEHAA_AVQByteArray__XZ]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
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, [0x140168bf8]
xor ecx, ecx
call fcn.1400ec450
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp dword [rsp + 0x44], 0
jbe 0x1400ec127
cmp dword [rsp + 0x44], 0xffffffff
je 0x1400ec127
cmp dword [rsp + 0x44], 0x200000
ja 0x1400ec127
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 0x1400ec003
xor eax, eax
test eax, eax
je 0x1400ec001
cmp dword [rsp + 0x58], 0xffffffff
je 0x1400ebff7
mov dword [rsp + 0x70], 1
jmp 0x1400ebfff
mov dword [rsp + 0x70], 0
jmp 0x1400ebfe0
jmp 0x1400ec072
mov dword [rsp + 0x74], 0xffffffff
lea rdx, [0x140168b6c]
lea rcx, [rsp + 0x49]
call fcn.14003cfe0
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14003cfe0
lea rdx, [0x140168c14]
mov rcx, rax
call fcn.14003cfe0
lea rdx, [0x140168c18]
mov rcx, rax
call fcn.14003cfe0
lea rdx, [0x140168c1c]
mov rcx, rax
call fcn.14003cfe0
lea rdx, [rsp + 0x74]
mov rcx, rax
call fcn.14003cfe0
lea rdx, [0x140168c20]
mov rcx, rax
call fcn.14003cfe0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x44]
mov ecx, eax
call fcn.14011f494
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400ec0d1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
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 + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x1400ec10d
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x60], eax
jne 0x1400ec10d
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
call fcn.1400eb7d0
movzx eax, al
test eax, eax
je 0x1400ec10d
mov byte [rsp + 0x40], 1
lea rdx, str.Sent_minidump_to_server_n
mov ecx, 1
call fcn.140010730
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14011f49c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x48], al
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, byte [rsp + 0x48]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14011f470
add rsp, 0xf8
ret