Function at 0x1400dce90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18d0]
mov eax, 0x19d0
call fcn.1402b2640
sub rsp, rax
mov rax, qword [0x1411d99d8]
xor rax, rsp
mov qword [rbp + 0x18c0], rax
mov r12, rdx
mov r13, rcx
mov qword [rbp - 0x70], rdx
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QAction::setEnabled_bool____ptr64]
mov rcx, r13
call fcn.1400e16b0
nop
lea rbx, [rbp + 0x510]
mov r14d, 0x104
mov edi, r14d
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400dcf00
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
lea rcx, [0x1402c8037]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [0x1402c8037]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x58], rax
mov rdx, r12
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x1400dcf69
mov rax, qword [rax]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400dcfd8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dcfd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dcfd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402b2268
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
cmp r15, 0xffffffffffffffff
je 0x1400dd7e8
xor edx, edx
mov r8d, 0x71d
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, 0xa00
lea rdx, [rbp + 0xec0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [rbp + 0x3a0]
lea rdx, [rbp + 0xec0]
mov r8d, 0x71d
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xac0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rbp + 0xac0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
lea rbx, [rbp - 0x30]
mov edi, 0x20
nop dword [rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400dd080
lea rbx, [rbp + 0x10]
mov rdi, r14
nop word [rax + rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400dd0a0
lea rax, [rbp - 0x30]
lea rcx, [rbp + 0xac0]
lea edx, [rdi + 4]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x1400dd0c1
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rcx, [rsp + 0x44]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
xor ebx, ebx
lea rdi, [rbp + 0x10]
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rsp + 0x44], ax
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x1400dd18c
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x1400dd160
mov r8d, esi
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8d, 0xffffffff
lea rdx, [rbp + 0x21d]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [0x1402f2d48]
lea rcx, [rbp + 0x40f]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400dd7b5
lea rdx, [0x1402f2da8]
lea rcx, [rbp + 0x48f]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400dd7b5
xor esi, esi
mov edi, esi
mov rcx, qword [0x1411dcc48]
mov qword [0x1411dcc40], rcx
test rcx, rcx
je 0x1400dd335
nop dword [rax]
test byte [rcx + 0xa], 0xf
je 0x1400dd31f
movzx eax, byte [rcx + 0xb]
cmp al, 3
jne 0x1400dd25f
mov rax, qword [rcx + 0xc]
mov rdx, qword [rax + 0x142]
jmp 0x1400dd2dc
test al, al
jne 0x1400dd2cd
mov rax, qword [rcx + 0xc]
mov rbx, qword [rax + 0x120]
test rbx, rbx
je 0x1400dd2f1
cmp byte [0x1411dd06b], sil
jne 0x1400dd2b9
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400dd2c0
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x66
call fcn.1402b2268
test rbx, rbx
jne 0x1400dd290
mov rcx, qword [0x1411dcc40]
mov rcx, qword [rcx + 0xc]
mov rcx, qword [rcx + 0x120]
jmp 0x1400dd2e4
mov byte [0x1411dd06b], 1
mov rcx, qword [rcx + 0xc]
mov rcx, qword [rcx + 0x120]
jmp 0x1400dd2e4
cmp al, 4
jne 0x1400dd2f1
mov rax, qword [rcx + 0xc]
mov rdx, qword [rax + 0x120]
test rdx, rdx
je 0x1400dd2f1
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1411dcc40]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rbx, qword [0x1411dcc40]
mov qword [0x1411dcc40], rdi
mov rcx, qword [rbx + 0xc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1411dcc40]
mov rdi, rcx
mov rcx, qword [rcx]
mov qword [0x1411dcc40], rcx
test rcx, rcx
jne 0x1400dd240
mov byte [0x1411dd06b], 1
lea rbx, [rbp - 0x1c]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub r14, 1
jne 0x1400dd340
lea rbx, [rbp + 0x1ec]
mov edi, 0x80
nop
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400dd360
lea rbx, [rbp + 0x2ec]
mov edi, 0x40
nop
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x1400dd380
mov rax, qword [0x1411dcc48]
mov qword [0x1411dcc40], rax
mov rcx, qword [rax]
test rcx, rcx
je 0x1400dd3bf
nop dword [rax]
mov qword [0x1411dcc40], rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400dd3b0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdi, rax
mov qword [rbp - 0x68], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
mov qword [rbp - 0x60], rax
mov dword [r13 + 0x218], 6
mov rcx, r13
call fcn.1400e53f0
xor edx, edx
mov rcx, qword [r13 + 0x38]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::setEnabled_bool____ptr64]
mov rcx, qword [r13 + 0x180]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::hide_void____ptr64]
mov rcx, qword [r13 + 0x188]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::hide_void____ptr64]
mov rcx, qword [r13 + 0x38]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::hide_void____ptr64]
mov dl, 1
mov rcx, qword [r13 + 0x170]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::setEnabled_bool____ptr64]
mov rcx, qword [r13 + 0x170]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QTreeWidget::clear_void____ptr64]
mov rax, qword [rbx]
mov rcx, qword [r13 + 0x168]
cmp dword [rax + 4], 0x1e
jle 0x1400dd4f8
mov rdx, qword [rcx + 0x28]
add rdx, 0x38
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QFontMetrics::constructor_class_QFont_const____ptr64____ptr64]
nop
mov rax, qword [r13 + 0x168]
mov rdx, qword [rax + 0x28]
add rdx, 0x38
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QFontMetrics::constructor_class_QFont_const____ptr64____ptr64]
nop
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x12c
mov r9d, 2
mov r8, rbx
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Gui.dll_public:_class_QString___cdecl_QFontMetrics::elidedText_class_QString_const____ptr64__enum_Qt::TextElideMode__int__int____ptr64]
nop
mov rdx, rax
mov rcx, qword [r13 + 0x168]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QLabel::setText_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QFontMetrics::destructor_void____ptr64]
mov rdx, rbx
mov rcx, qword [r13 + 0x168]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::setToolTip_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QFontMetrics::destructor_void____ptr64]
jmp 0x1400dd502
mov rdx, rbx
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QLabel::setText_class_QString_const____ptr64____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, word [rbp + 0x40d]
test ax, ax
je 0x1400dd7ae
mov ebx, 0xffff
nop word [rax + rax]
add ax, bx
mov word [rbp + 0x40d], ax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, 0x3c8
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400dd79e
mov edx, 1
mov ecx, 0x3c8
cmp qword [0x1411dcc48], 0
jne 0x1400dd58c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, rax
mov qword [0x1411dcc48], rax
mov qword [0x1411dcc40], rax
jmp 0x1400dd5a6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, rax
mov rax, qword [0x1411dcc40]
mov qword [rax], rcx
mov qword [0x1411dcc40], rcx
mov qword [rcx], rsi
mov rcx, qword [0x1411dcc40]
movzx eax, byte [rbp - 0x25]
mov byte [rcx + 0xb], al
mov rcx, qword [0x1411dcc40]
movzx eax, word [rbp - 0x28]
mov word [rcx + 8], ax
movzx eax, byte [rbp - 0x25]
sub al, 0xd
cmp al, 1
ja 0x1400dd658
mov rcx, qword [0x1411dcc40]
add rcx, 0x14
xor edx, edx
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [0x1411dcc40]
add rdx, 0x14
lea rax, [rbp - 0x1c]
mov ecx, 4
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x1400dd600
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rax, qword [0x1411dcc40]
movzx ecx, byte [rax + 0xb]
cmp cl, 3
je 0x1400dd6c9
cmp cl, 0xe
je 0x1400dd6c9
cmp cl, 2
je 0x1400dd67b
cmp cl, 0xd
jne 0x1400dd79e
mov edx, 1
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, qword [0x1411dcc40]
mov qword [rcx + 0xc], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, 0x200
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [0x1411dcc40]
movzx eax, byte [rcx + 0xa]
and al, 0xf1
or al, 1
mov byte [rcx + 0xa], al
jmp 0x1400dd78f
mov edx, 1
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, qword [0x1411dcc40]
mov qword [rcx + 0xc], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, 0x200
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [0x1411dcc40]
movzx eax, byte [rcx + 0xa]
and al, 0xf1
or al, 1
mov byte [rcx + 0xa], al
mov rdx, qword [0x1411dcc40]
mov rax, qword [rdx + 0xc]
movzx ecx, byte [rax + 0x12d]
cmp cl, 7
je 0x1400dd73c
cmp cl, 0x83
je 0x1400dd73c
mov eax, dword [rax + 0x14a]
test eax, eax
je 0x1400dd796
mov ecx, eax
jmp 0x1400dd742
mov ecx, dword [rax + 0x14a]
mov edx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, qword [0x1411dcc40]
mov rdx, qword [rcx + 0xc]
mov qword [rdx + 0x142], rax
mov rax, qword [0x1411dcc40]
mov rdx, qword [rax + 0xc]
mov r8d, dword [rdx + 0x14a]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
shl r8d, 2
mov rdx, qword [rdx + 0x142]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [0x1411dcc40]
mov rcx, r13
call fcn.1400d3470
movzx eax, word [rbp + 0x40d]
test ax, ax
jne 0x1400dd530
mov byte [0x1411dd065], 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r13 + 0x208]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::show_void____ptr64]
mov rcx, qword [r13 + 0x210]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::hide_void____ptr64]
xor edx, edx
mov rcx, qword [r13 + 0x208]
call qword [sym.imp.Qt5Widgets.dll_public:_void___cdecl_QWidget::setEnabled_bool____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, r12
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rbp + 0x18c0]
xor rcx, rsp
call fcn.1402b25d0
mov rbx, qword [rsp + 0x1a20]
add rsp, 0x19d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret