Function at 0x14022f950
Capabilities:
Write 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 - 0x480]
sub rsp, 0x580
mov rax, qword [0x1411d99d8]
xor rax, rsp
mov qword [rbp + 0x470], rax
movzx ebx, r8b
mov byte [rsp + 0x48], bl
mov r13, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x58], r15d
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
test byte [r13 + 0x56], 4
je 0x14022fa37
test byte [r13 + 0x66], 0x40
je 0x14022fa37
cmp byte [r14 + 0x90], r15b
je 0x14022fa37
movzx eax, byte [r13 + 0x64]
dec al
cmp al, 7
ja 0x14022fa37
movzx r8d, bl
mov rdx, r13
mov rcx, r14
cmp byte [r14 + 0x10], r15b
jne 0x14022fa26
call fcn.140234460
mov byte [rsp + 0x40], al
movzx edi, al
jmp 0x1402306c5
call fcn.1402359f0
mov byte [rsp + 0x40], al
movzx edi, al
jmp 0x1402306c5
lea rbx, [rbp + 0x50]
mov esi, 0x104
mov edi, esi
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rdi, 1
jne 0x14022fa42
mov qword [rsp + 0x78], r15
xor al, al
mov byte [rsp + 0x40], al
mov byte [rsp + 0x50], al
mov dword [rsp + 0x70], 0xffffffff
mov dword [rsp + 0x64], r15d
mov dword [rbp - 0x60], r15d
mov dword [rbp - 0x80], r15d
mov r12d, 0x4000
mov dword [rsp + 0x60], r12d
mov r15, qword [r13 + 0x10]
mov qword [rbp - 0x70], r15
mov r8d, dword [r14 + 0x94]
cmp r8d, 1
jbe 0x14022faa8
xor edx, edx
mov eax, r12d
div r8d
mov r12d, eax
mov dword [rsp + 0x60], eax
cmp byte [0x1411dd026], 0
je 0x14022fab9
xor dil, dil
jmp 0x1402306c5
mov rax, qword [0x1411dc8e0]
cmp qword [r13 + 0x4d], 0xfffffe
jne 0x14022fb5f
movzx ecx, word [rax + 0x40]
mov rax, qword [0x1411dc8d8]
mov word [rax + 0x30], cx
mov rax, qword [0x1411dc8e0]
mov rcx, qword [rax + 0x280]
mov rax, qword [0x1411dc8d8]
mov qword [rax + 0x27c], rcx
mov rax, qword [0x1411dc8e0]
mov rcx, qword [rax + 0x290]
mov rax, qword [0x1411dc8d8]
mov qword [rax + 0x28c], rcx
mov r9, qword [0x1411dcc50]
add r9, 0x14
mov rcx, qword [0x1411dc8e0]
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x20], eax
movzx r8d, byte [rcx + 0x1a]
movzx edx, byte [rcx + 0x2fa]
mov rcx, qword [0x1411dc8d8]
call fcn.14023b860
movzx r8d, byte [rsp + 0x48]
mov rdx, r13
mov rcx, r14
call fcn.140231770
movzx edi, al
jmp 0x1402306c5
movzx ecx, word [rax + 0x2b0]
mov word [r14 + 0x64], cx
mov rax, qword [0x1411dc8e0]
movzx ecx, byte [rax + 0x19]
mov byte [r14 + 0x19], cl
movzx eax, byte [r13 + 0x67]
cmp al, 3
jne 0x14022fbf7
movzx eax, byte [r13 + 0x56]
test al, 5
jne 0x14022fbcb
cmp cl, 2
je 0x14022fbcb
cmp byte [rsp + 0x48], 0
jne 0x14022fbcb
test al, 2
je 0x14022fbcb
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x64]
mov edx, dword [r13 + 0x18]
mov rcx, qword [0x1411dc8e0]
call fcn.1401d1ed0
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x64]
jmp 0x14022fc7b
mov byte [rsp + 0x20], 1
mov r9, qword [r13 + 0x10]
lea r8, [rsp + 0x64]
mov edx, dword [r13 + 0x18]
mov rcx, qword [0x1411dc8e0]
call fcn.1401d1c00
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x64]
jmp 0x14022fc7b
cmp al, 1
jne 0x14022fc87
movzx ecx, byte [r13 + 0x55]
imul ecx, r8d
shl ecx, 9
mov rax, r15
cqo
idiv rcx
lea ecx, [rax + 1]
test rdx, rdx
cmove ecx, eax
mov edi, ecx
mov ebx, ecx
shl rbx, 2
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rsp + 0x78], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [r13 + 0x18]
xor eax, eax
mov edx, eax
test rbx, rbx
je 0x14022fc70
mov r8, qword [rsp + 0x78]
nop word [rax + rax]
mov dword [rax + r8], ecx
inc ecx
add edx, 4
mov eax, edx
cmp rax, rbx
jne 0x14022fc60
lea ecx, [rdi*4]
mov dword [rsp + 0x64], ecx
test ecx, ecx
je 0x14022fc87
mov edi, ecx
shr edi, 2
mov dword [rbp - 0x80], edi
mov rcx, r14
call fcn.1402ae810
mov dl, 1
mov rcx, r14
call fcn.1402ae710
mov rbx, qword [r13 + 0x28]
test rbx, rbx
jne 0x14022fca6
xor edi, edi
jmp 0x14022fcfa
xor edi, edi
mov r15d, edi
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rsp + 0x48], ax
mov word [rsp + 0x58], ax
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x14022fced
inc r15d
inc edi
add rbx, 2
cmp edi, 0xff
jb 0x14022fcc0
mov dword [rsp + 0x58], r15d
mov r15, qword [rbp - 0x70]
mov edi, dword [rsp + 0x58]
mov eax, dword [r14 + 0x94]
shl eax, 9
mov edx, eax
cmp qword [r13 + 0x4d], 0
mov ecx, r12d
jne 0x14022fd15
movzx ecx, word [r14 + 0x64]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r12, rax
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov rdx, rax
lea rcx, [rbp]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::currentPath_void_]
nop
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
mov dword [rsp + 0x58], 1
mov r8d, 0xffffffff
lea rdx, [0x1402d77b0]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const____ptr64__int_]
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8d, edi
mov rdx, qword [r13 + 0x28]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r14 + 0x38]
lea rdx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
lea rcx, [r14 + 0x40]
lea rdx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
lea r8, [0x1402e2af8]
lea rdx, [rsp + 0x68]
lea rcx, [0x1411d96c8]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8d, edi
mov rdx, qword [r13 + 0x28]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
mov rdi, rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
mov dword [rsp + 0x58], 6
mov r8d, 0xffffffff
lea rdx, [0x14030338c]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const____ptr64__int_]
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14000b570
mov rdx, rax
mov rcx, r14
call fcn.1402ae600
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov byte [0x1411dd04e], 0
cmp byte [r14 + 0x10], 0
jne 0x140230510
mov r9, qword [r13 + 0x10]
mov r8, qword [r13 + 0x28]
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.14022af40
cmp byte [0x1411dd04e], 0
jne 0x14023064b
cmp byte [0x1411dd04f], 1
jne 0x14022ff0a
cmp al, 1
je 0x14023064b
xor ebx, ebx
mov esi, ebx
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
lea rdi, [rbp + 0x50]
nop dword [rax]
movzx eax, word [rdi]
mov word [rsp + 0x58], 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 0x14022ff4c
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x14022ff20
mov r8d, esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x78]
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 0x14022ff76
mov rax, qword [rax]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14022ffec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022ffe7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022ffe7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402b2268
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
cmp rbx, 0xffffffffffffffff
je 0x14023031f
mov byte [rsp + 0x40], 1
cmp qword [r13 + 0x4d], rdi
jne 0x1402301f2
mov edx, dword [rbp - 0x80]
mov rcx, r14
call fcn.1402ae690
mov ebx, edi
mov dword [rsp + 0x60], ebx
cmp dword [rsp + 0x64], edi
jbe 0x140230304
cmp byte [0x1411dd026], 0
je 0x1402300f1
mov esi, edi
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, edi
lea rdi, [rbp + 0x50]
movzx eax, word [rdi]
mov word [rsp + 0x58], 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 0x14023007c
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x140230050
mov r8d, esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r14
call fcn.1402ae200
mov eax, dword [rsp + 0x70]
cmp eax, 1
jbe 0x1402300d3
cmp eax, 2
jne 0x1402300e3
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
lea rcx, [rbp - 0x58]
jmp 0x1402302fe
mov word [0x1411dd025], 1
mov byte [0x1411dd05d], 1
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ebx, dword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x78]
mov edi, dword [rax + rcx]
movzx ecx, word [r14 + 0x64]
mov esi, ecx
imul esi, dword [r14 + 0x94]
shl esi, 9
cmp r15, rsi
cmovle esi, r15d
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, r12
movzx r8d, word [r13 + 0x62]
mov edx, edi
mov rcx, qword [0x1411dc8e0]
call fcn.1401d2310
test al, al
jne 0x140230199
xor eax, eax
mov ebx, eax
cmp ax, word [r14 + 0x64]
jae 0x140230195
xor r15d, r15d
nop word [rax + rax]
mov r9d, dword [r14 + 0x94]
imul r9d, ebx
shl r9d, 9
add r9, r12
movzx r8d, word [r13 + 0x62]
add r8w, bx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
mov edx, edi
mov rcx, qword [0x1411dc8e0]
call fcn.1401d2310
inc ebx
movzx eax, word [r14 + 0x64]
cmp ebx, eax
jl 0x140230150
mov r15, qword [rbp - 0x70]
mov ebx, dword [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x60]
mov r8d, esi
mov rdx, r12
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
sub r15, rax
mov qword [rbp - 0x70], r15
mov rax, qword [r14 + 0x88]
cmp qword [r13 + 0x10], rax
jle 0x1402301d3
mov rcx, r14
call fcn.1402ae7b0
test r15, r15
jle 0x140230304
add ebx, 4
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rsp + 0x64]
jae 0x140230304
jmp 0x140230030
mov ecx, dword [r14 + 0x94]
mov ebx, dword [rsp + 0x60]
imul ecx, ebx
shl ecx, 9
mov rax, r15
cqo
idiv rcx
lea edi, [rax + 1]
test rdx, rdx
cmove edi, eax
mov dword [rbp - 0x58], edi
mov edx, edi
mov rcx, r14
call fcn.1402ae690
xor eax, eax
mov dword [rbp - 0x80], eax
test edi, edi
je 0x140230304
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx]
mov qword [rbp - 8], rcx
mov edx, ebx
mov qword [rbp - 0x28], rbx
xor edi, edi
movzx r12d, byte [r13 + 0x55]
imul r12, rcx
mov eax, eax
imul rax, rdx
add r12, rax
add r12, qword [r13 + 0x4d]
cmp byte [0x1411dd026], 0
je 0x140230353
mov esi, edi
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, edi
lea rdi, [rbp + 0x50]
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rsp + 0x58], 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 0x1402302ac
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x140230280
mov r8d, esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r14
call fcn.1402ae200
mov eax, dword [rsp + 0x70]
cmp eax, 1
jbe 0x140230333
cmp eax, 2
jne 0x140230343
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rbp + 0x50]
mov rdx, r13
mov rcx, r14
call fcn.1402213e0
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx edi, byte [rsp + 0x40]
jmp 0x14023064e
mov word [0x1411dd025], 1
mov byte [0x1411dd05d], 1
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ebx, dword [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x50]
mov r8d, ebx
mov rdx, r12
mov rcx, qword [0x1411dc8e0]
call fcn.1401d26b0
test al, al
jne 0x140230437
mov r15d, edi
test ebx, ebx
je 0x140230433
cmp byte [0x1411dd026], 0
je 0x1402304cf
mov esi, edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
mov ebx, edi
lea rdi, [rbp + 0x50]
movzx eax, word [rdi]
mov word [rsp + 0x50], 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 0x1402303cd
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x1402303a1
mov r8d, esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r14
call fcn.1402ae200
mov eax, dword [rsp + 0x70]
cmp eax, 1
jbe 0x1402304af
cmp eax, 2
jne 0x1402304bf
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ebx, dword [rsp + 0x60]
xor edi, edi
mov r15, qword [rbp - 0x70]
mov ecx, dword [r14 + 0x94]
imul ecx, ebx
shl ecx, 9
cmp r15, rcx
cmovle ecx, r15d
mov ebx, ecx
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x60]
mov r8d, ecx
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
sub r15, rbx
mov qword [rbp - 0x70], r15
mov rax, qword [r14 + 0x88]
cmp qword [r13 + 0x10], rax
jle 0x140230484
mov rcx, r14
call fcn.1402ae7b0
test r15, r15
jle 0x140230304
mov eax, dword [rbp - 0x80]
inc eax
mov dword [rbp - 0x80], eax
cmp eax, dword [rbp - 0x58]
jae 0x140230304
mov ebx, dword [rsp + 0x60]
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp - 0x28]
jmp 0x140230241
mov word [0x1411dd025], 1
mov byte [0x1411dd05d], 1
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ebx, dword [rsp + 0x60]
xor edi, edi
mov r9d, r15d
imul r9d, dword [r14 + 0x94]
shl r9d, 9
add r9, qword [rbp - 0x50]
movsxd rdx, r15d
add rdx, r12
mov qword [rsp + 0x20], rdi
mov r8d, 1
mov rcx, qword [0x1411dc8e0]
call fcn.1401d26b0
inc r15d
cmp r15d, ebx
jae 0x140230433
jmp 0x140230381
cmp byte [r14 + 0x18], 0
jne 0x140230611
lea rbx, [rbp + 0x260]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rsi, 1
jne 0x140230522
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r13 + 0x28]
mov rcx, r14
call fcn.14022aed0
mov r8d, eax
mov rdx, qword [r13 + 0x28]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 4]
add ecx, ecx
movsxd rbx, ecx
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_QChar____ptr64___cdecl_QString::data_void____ptr64]
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [r13 + 0x10]
lea r8, [rbp + 0x260]
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.14022af40
cmp byte [0x1411dd04e], sil
jne 0x1402305ff
cmp byte [0x1411dd04f], 1
jne 0x1402305bf
cmp al, 1
je 0x1402305ff
xor eax, eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x78]
mov r8, r13
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.140225db0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx edi, byte [rsp + 0x40]
jmp 0x14023064e
xor eax, eax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x64]
mov rbx, qword [rsp + 0x78]
mov r8, rbx
mov rdx, r13
mov rcx, r14
call fcn.140221800
movzx edi, byte [rsp + 0x50]
jmp 0x140230653
xor dil, dil
mov rbx, qword [rsp + 0x78]
cmp dword [rsp + 0x70], 1
jne 0x14023066a
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
mov rax, qword [r13 + 0x71]
test rax, rax
je 0x140230693
cmp dword [rax], 0
jne 0x140230684
cmp dword [rax + 4], 0
jne 0x140230684
cmp dword [rax + 8], 0
je 0x140230693
mov r8, qword [r13 + 0x28]
mov rdx, r13
mov rcx, r14
call fcn.140239f50
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x1402306af
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, dil
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1402b25d0
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x580
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret