Function at 0x14022d470
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 r12d, r8b
mov r13, rdx
mov r14, rcx
xor eax, eax
mov dword [rsp + 0x74], eax
lea rcx, [rbp - 0x38]
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 - 0x28]
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
lea rbx, [rbp + 0x50]
mov esi, 0x104
mov edi, esi
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 0x14022d510
movzx eax, byte [0x1411e99c4]
cmp al, 0x10
je 0x14022d536
cmp al, 0x20
jne 0x14022d5c1
mov r8, qword [0x1411dcc50]
movzx ecx, byte [r8 + 0xb]
cmp cl, 9
ja 0x14022d551
mov edx, 0x251
bt edx, ecx
jb 0x14022d576
cmp cl, 0xa
ja 0x14022d5c1
mov eax, 0x482
bt eax, ecx
jae 0x14022d5c1
mov rax, qword [r8 + 0xc]
cmp byte [rax + 0x1ec], 0x10
jne 0x14022d5c1
cmp byte [rax + 0x12e], 2
jne 0x14022d5c1
test byte [r13 + 0x56], 4
je 0x14022d60f
mov rax, qword [r13 + 0x71]
test rax, rax
je 0x14022d5aa
cmp dword [rax], 0
jne 0x14022d59b
cmp dword [rax + 4], 0
jne 0x14022d59b
cmp dword [rax + 8], 0
je 0x14022d5aa
mov r8, qword [r13 + 0x28]
mov rdx, r13
mov rcx, r14
call fcn.140239f50
movzx r8d, r12b
mov rdx, r13
mov rcx, r14
call fcn.140238510
movzx ebx, al
jmp 0x14022e272
test byte [r13 + 0x56], 4
je 0x14022d60f
test byte [r13 + 0x66], 0x40
je 0x14022d60f
cmp byte [r14 + 0x90], 0
je 0x14022d60f
movzx eax, byte [r13 + 0x64]
dec al
cmp al, 7
ja 0x14022d60f
movzx r8d, r12b
mov rdx, r13
mov rcx, r14
cmp byte [r14 + 0x10], 0
jne 0x14022d602
call fcn.140234460
movzx ebx, al
jmp 0x14022e272
call fcn.1402359f0
movzx ebx, al
jmp 0x14022e272
cmp qword [r13 + 0x4d], 0xfffffe
jne 0x14022d6b3
mov rax, qword [0x1411dc8d0]
movzx ecx, word [rax + 0xc8]
mov rax, qword [0x1411dc8d8]
mov word [rax + 0x30], cx
mov rax, qword [0x1411dc8d0]
mov rcx, qword [rax + 0x50]
mov rax, qword [0x1411dc8d8]
mov qword [rax + 0x27c], rcx
mov rax, qword [0x1411dc8d0]
mov rcx, qword [rax + 0x60]
mov rax, qword [0x1411dc8d8]
mov qword [rax + 0x28c], rcx
mov r9, qword [0x1411dcc50]
add r9, 0x14
mov rcx, qword [0x1411dc8d0]
mov eax, dword [rcx + 0xb4]
mov dword [rsp + 0x20], eax
movzx r8d, byte [rcx + 0xbb]
movzx edx, byte [rcx + 0x28]
mov rcx, qword [0x1411dc8d8]
call fcn.14023b860
movzx r8d, r12b
mov rdx, r13
mov rcx, r14
call fcn.140231770
movzx ebx, al
jmp 0x14022e272
mov r15, qword [r13 + 0x10]
mov qword [rbp - 0x70], r15
xor al, al
mov byte [rsp + 0x40], al
mov byte [rsp + 0x58], al
mov dword [rsp + 0x70], 0xffffffff
xor ebx, ebx
mov dword [rsp + 0x5c], ebx
mov dword [rbp - 0x68], ebx
mov dword [rsp + 0x60], ebx
mov rax, qword [0x1411dc8d0]
movzx r8d, byte [rax + 0x2a]
mov byte [r14 + 0x1a], r8b
mov rax, qword [0x1411dc8d0]
movzx ecx, byte [rax + 0xba]
mov byte [r14 + 0x19], cl
mov edx, dword [r14 + 0x94]
shl edx, 9
mov ecx, r8d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp - 0x50], rax
cmp byte [0x1411dd026], bl
jne 0x14022e272
mov rcx, r14
call fcn.1402ae810
movzx eax, byte [r13 + 0x56]
test al, 4
jne 0x14022d75f
test al, 1
jne 0x14022d75f
cmp byte [r14 + 0x19], 2
je 0x14022d75f
test r12b, r12b
jne 0x14022d75f
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x5c]
mov edx, dword [r13 + 0x18]
mov rcx, qword [0x1411dc8d0]
call fcn.1401d3230
jmp 0x14022d77d
mov byte [rsp + 0x20], 1
mov r9, qword [r13 + 0x10]
lea r8, [rsp + 0x5c]
mov edx, dword [r13 + 0x18]
mov rcx, qword [0x1411dc8d0]
call fcn.1401d3100
mov qword [rsp + 0x78], rax
mov edi, dword [rsp + 0x5c]
test edi, edi
je 0x14022d791
shr edi, 2
mov dword [rsp + 0x60], edi
mov dl, 1
mov rcx, r14
call fcn.1402ae710
mov rbx, qword [r13 + 0x28]
test rbx, rbx
jne 0x14022d7a9
xor r12d, r12d
jmp 0x14022d7ed
xor edi, edi
mov r12d, edi
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
nop dword [rax]
movzx eax, word [rbx]
mov word [rsp + 0x48], ax
mov word [rsp + 0x50], ax
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QChar::isNull_void_const___ptr64]
test al, al
jne 0x14022d7ed
inc r12d
inc edi
add rbx, 2
cmp edi, 0xff
jb 0x14022d7c0
lea rcx, [rbp - 0x80]
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 - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::currentPath_void_]
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
mov eax, 1
mov dword [rsp + 0x74], eax
lea r8d, [rax - 2]
lea rdx, [0x1402d77b0]
lea rcx, [rbp - 0x80]
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 - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, rbx
lea rcx, [rbp - 0x20]
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, r12d
mov rdx, qword [r13 + 0x28]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
mov rdx, rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [r14 + 0x38]
lea rdx, [rbp - 0x20]
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 - 0x28]
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, r12d
mov rdx, qword [r13 + 0x28]
lea rcx, [rbp - 0x60]
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 + 0x74], 6
mov r8d, 0xffffffff
lea rdx, [0x14030338c]
lea rcx, [rbp - 0x80]
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 - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x78]
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 - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov byte [0x1411dd04e], 0
cmp byte [r14 + 0x10], 0
jne 0x14022e0b8
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 0x14022e1f9
cmp byte [0x1411dd04f], 1
jne 0x14022d9d4
cmp al, 1
je 0x14022e1f9
xor ebx, ebx
mov esi, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
lea rdi, [rbp + 0x50]
nop word [rax + rax]
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 0x14022da1c
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x14022d9f0
mov r8d, esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x80]
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 - 0x80]
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 0x14022da46
mov rax, qword [rax]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
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 r12, rax
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14022dabc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022dab7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022dab7
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], rbx
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], bx
cmp r12, 0xffffffffffffffff
je 0x14022df6f
mov byte [rsp + 0x40], 1
mov rax, qword [0x1411dc8d0]
cmp byte [rax + 0x2a], 1
jne 0x14022de8f
cmp dword [rax + 0x48], 1
jne 0x14022de8f
cmp dword [rax + 0x6c], ebx
jne 0x14022de8f
cmp dword [rax + 0x68], ebx
jne 0x14022de8f
cmp byte [rax + 0xba], 2
jne 0x14022de8f
mov edi, 0x4000
mov dword [rsp + 0x74], edi
mov r8d, dword [r14 + 0x94]
cmp r8d, 1
jbe 0x14022db38
xor edx, edx
mov eax, edi
div r8d
mov edi, eax
mov dword [rsp + 0x74], eax
mov ecx, r8d
imul ecx, edi
shl ecx, 9
mov rax, r15
cqo
idiv rcx
mov rbx, rax
mov ecx, edi
shl r8d, 9
mov edx, r8d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp - 0x58], rax
mov ecx, dword [r14 + 0x94]
imul ecx, edi
shl ecx, 9
mov rax, r15
cqo
idiv rcx
lea esi, [rbx + 1]
test rdx, rdx
cmove esi, ebx
mov dword [rbp - 0x30], esi
mov edx, esi
mov rcx, r14
call fcn.1402ae690
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
xor ebx, ebx
mov r8d, ebx
mov dword [rsp + 0x60], ebx
test esi, esi
je 0x14022dc94
add eax, 0xfffffffe
mov r9d, eax
mov qword [rbp - 0x40], r9
nop dword [rax]
mov r10, qword [0x1411dc8d0]
mov ecx, dword [r10 + 0x48]
mov eax, dword [r10 + 0x6c]
lea r12d, [rax + rcx*2]
add r12d, dword [r10 + 0x68]
mov eax, r8d
mov ecx, edi
imul rax, rcx
add r12, rax
movzx eax, byte [r14 + 0x1a]
imul rax, r9
add r12, rax
movzx eax, word [r13 + 0x62]
add r12, rax
cmp byte [0x1411dd026], 0
je 0x14022dcca
mov esi, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
lea rdi, [rbp + 0x50]
nop word [rax + rax]
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 0x14022dc3c
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x14022dc10
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 - 0x78]
lea rcx, [rbp - 8]
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 0x14022dca3
cmp eax, 2
jne 0x14022dcb3
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14022df54
mov word [0x1411dd025], 1
mov byte [0x1411dd05d], 1
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r10, qword [0x1411dc8d0]
mov edi, dword [rsp + 0x74]
xor ebx, ebx
mov eax, dword [r14 + 0x94]
imul eax, edi
shl eax, 9
cmp r15, rax
cmovle eax, r15d
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp - 0x58]
mov r8d, edi
mov rdx, r12
mov rcx, r10
call fcn.1401d3a70
test al, al
jne 0x14022ddc6
mov r15d, ebx
test edi, edi
je 0x14022ddc2
nop dword [rax]
cmp byte [0x1411dd026], 0
je 0x14022de4e
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
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 0x14022dd5c
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x14022dd30
mov r8d, esi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QChar_const____ptr64__int____ptr64]
nop
lea rdx, [rbp - 0x60]
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 0x14022de2e
cmp eax, 2
jne 0x14022de3e
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edi, dword [rsp + 0x74]
xor ebx, ebx
mov r15, qword [rbp - 0x70]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
mov rbx, qword [rbp - 0x48]
mov r8d, ebx
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, ebx
sub r15, rax
mov qword [rbp - 0x70], r15
mov rax, qword [r14 + 0x88]
cmp qword [r13 + 0x10], rax
jle 0x14022de03
mov rcx, r14
call fcn.1402ae7b0
test r15, r15
jle 0x14022dc94
mov r8d, dword [rsp + 0x60]
inc r8d
mov dword [rsp + 0x60], r8d
cmp r8d, dword [rbp - 0x30]
jae 0x14022dc94
mov r9, qword [rbp - 0x40]
xor ebx, ebx
jmp 0x14022dbb0
mov word [0x1411dd025], 1
mov byte [0x1411dd05d], 1
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edi, dword [rsp + 0x74]
xor ebx, ebx
mov r9d, r15d
imul r9d, dword [r14 + 0x94]
shl r9d, 9
add r9, qword [rbp - 0x58]
movsxd rdx, r15d
add rdx, r12
mov qword [rsp + 0x20], rbx
mov r8d, 1
mov rcx, qword [0x1411dc8d0]
call fcn.1401d3a70
inc r15d
cmp r15d, edi
jae 0x14022ddc2
jmp 0x14022dd10
mov edx, dword [rsp + 0x60]
mov rcx, r14
call fcn.1402ae690
mov r12d, ebx
mov dword [rsp + 0x60], ebx
cmp dword [rsp + 0x5c], ebx
jbe 0x14022df54
nop dword [rax]
cmp byte [0x1411dd026], 0
je 0x14022df9f
mov esi, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
lea rdi, [rbp + 0x50]
nop
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 0x14022defc
inc esi
inc ebx
add rdi, 2
cmp ebx, 0xff
jb 0x14022ded0
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 - 0x78]
lea rcx, [rbp - 0x40]
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 0x14022df83
cmp eax, 2
jne 0x14022df93
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
lea rcx, [rbp - 0x78]
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 - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx ebx, byte [rsp + 0x40]
jmp 0x14022e1fb
mov word [0x1411dd025], 1
mov byte [0x1411dd05d], 1
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor ebx, ebx
mov eax, r12d
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rax + rcx]
movzx edx, byte [r14 + 0x1a]
mov esi, edx
imul esi, dword [r14 + 0x94]
shl esi, 9
cmp r15, rsi
cmovle esi, r15d
mov qword [rbp - 0x48], rsi
mov edi, ecx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x20], dx
mov r9, qword [rbp - 0x50]
movzx r8d, word [r13 + 0x62]
mov edx, ecx
mov rcx, qword [0x1411dc8d0]
call fcn.1401d36b0
test al, al
jne 0x14022e04f
cmp byte [r14 + 0x1a], al
jbe 0x14022e04d
mov r15, qword [rbp - 0x50]
xor esi, esi
lea r12d, [rsi + 1]
nop
mov r9d, dword [r14 + 0x94]
imul r9d, ebx
shl r9d, 9
add r9, r15
movzx r8d, bx
add r8w, word [r13 + 0x62]
mov qword [rsp + 0x28], rsi
mov word [rsp + 0x20], r12w
mov rdx, rdi
mov rcx, qword [0x1411dc8d0]
call fcn.1401d36b0
inc ebx
movzx eax, byte [r14 + 0x1a]
cmp ebx, eax
jl 0x14022e000
mov rsi, qword [rbp - 0x48]
mov r15, qword [rbp - 0x70]
mov r12d, dword [rsp + 0x60]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
mov r8d, esi
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, byte [r14 + 0x1a]
imul eax, dword [r14 + 0x94]
shl eax, 9
sub r15, rax
mov qword [rbp - 0x70], r15
mov rax, qword [r14 + 0x88]
cmp qword [r13 + 0x10], rax
jle 0x14022e096
mov rcx, r14
call fcn.1402ae7b0
test r15, r15
jle 0x14022df54
add r12d, 4
mov dword [rsp + 0x60], r12d
cmp r12d, dword [rsp + 0x5c]
jae 0x14022df54
jmp 0x14022deb0
cmp byte [r14 + 0x18], 0
jne 0x14022e1bf
lea rbx, [rbp + 0x260]
nop word [rax + rax]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_void____ptr64]
add rbx, 2
sub rsi, 1
jne 0x14022e0d0
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 0x14022e1ad
cmp byte [0x1411dd04f], 1
jne 0x14022e16d
cmp al, 1
je 0x14022e1ad
xor eax, eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x5c]
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 + 0x58]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx ebx, byte [rsp + 0x40]
jmp 0x14022e1fb
xor eax, eax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c]
mov rdi, qword [rsp + 0x78]
mov r8, rdi
mov rdx, r13
mov rcx, r14
call fcn.140221800
movzx ebx, byte [rsp + 0x58]
jmp 0x14022e200
xor bl, bl
mov rdi, qword [rsp + 0x78]
cmp dword [rsp + 0x70], 1
jne 0x14022e217
mov word [0x1411dd025], 0x100
mov byte [0x1411dd05d], 0
mov rax, qword [r13 + 0x71]
test rax, rax
je 0x14022e240
cmp dword [rax], 0
jne 0x14022e231
cmp dword [rax + 4], 0
jne 0x14022e231
cmp dword [rax + 8], 0
je 0x14022e240
mov r8, qword [r13 + 0x28]
mov rdx, r13
mov rcx, r14
call fcn.140239f50
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x14022e25c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x18]
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 - 0x28]
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 - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
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