Function at 0x502a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov ebp, ecx
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x503557
mov esi, dword [esp + 0xa0]
lea ebx, [esp + 0x74]
mov ecx, ebx
push esi
call dword [method.QFileInfo.QFileInfo_QString_const_]
lea edi, [esp + 0x70]
mov ecx, edi
push ebx
call dword [method.QFileInfo.path___const]
mov ecx, ebp
push edi
call fcn.00502870
mov ebx, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502a7a
test ecx, ecx
je 0x502a6c
lock dec dword [eax]
jne 0x502a7a
mov eax, dword [esp + 0x70]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
test bl, bl
je 0x50358c
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push 0x55e432
call dword [method.QByteArray.QByteArray_char_const__int_]
lea ecx, [esp + 0x68]
push esi
call dword [method.QSaveFile.QSaveFile_QString_const_]
mov dword [esp + 0x88], 0xa
mov eax, dword [esp + 0x88]
lea edi, [esp + 0x68]
mov ecx, edi
push eax
call dword [method.QSaveFile.open_QFlags_QIODevice::OpenModeFlag__]
mov ebx, eax
test al, al
mov byte [esp + 0x1b], al
je 0x50359b
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx ebx, ax
lea ebp, [eax + 0xffff]
test ebx, ebx
cmove ebp, eax
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
push 0x55e435
call dword [method.QByteArray.QByteArray_char_const__int_]
lea esi, [esp + 0x64]
push 0xa
push 0x24
push esi
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502b18
lock inc dword [eax]
mov ecx, esp
push esi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502b32
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502b56
test ecx, ecx
je 0x502b48
lock dec dword [eax]
jne 0x502b56
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
lea edi, [esp + 0x60]
mov ecx, edi
push 0xffffffffffffffff
push 0x55e437
call dword [method.QByteArray.QByteArray_char_const__int_]
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502b7b
lock inc dword [eax]
mov ecx, esp
push edi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502b95
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502bb9
test ecx, ecx
je 0x502bab
lock dec dword [eax]
jne 0x502bb9
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502bcb
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502be9
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502c0d
test ecx, ecx
je 0x502bff
lock dec dword [eax]
jne 0x502c0d
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502c1f
lock inc dword [eax]
mov ecx, esp
push 0x586b74
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502c3d
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502c61
test ecx, ecx
je 0x502c53
lock dec dword [eax]
jne 0x502c61
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
lea esi, [esp + 0x5c]
push 0xa
push 0x24
push esi
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502c85
lock inc dword [eax]
mov ecx, esp
push esi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502c9f
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502cc3
test ecx, ecx
je 0x502cb5
lock dec dword [eax]
jne 0x502cc3
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502cd5
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502cf3
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502d17
test ecx, ecx
je 0x502d09
lock dec dword [eax]
jne 0x502d17
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502d29
lock inc dword [eax]
mov ecx, esp
push 0x586b78
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502d47
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502d6b
test ecx, ecx
je 0x502d5d
lock dec dword [eax]
jne 0x502d6b
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 4]
lea esi, [esp + 0x58]
push 0xa
push eax
push esi
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502d96
lock inc dword [eax]
mov ecx, esp
push esi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502db0
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502dd4
test ecx, ecx
je 0x502dc6
lock dec dword [eax]
jne 0x502dd4
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502de6
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502e04
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502e28
test ecx, ecx
je 0x502e1a
lock dec dword [eax]
jne 0x502e28
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502e3a
lock inc dword [eax]
mov ecx, esp
push 0x586b7c
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502e58
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502e7c
test ecx, ecx
je 0x502e6e
lock dec dword [eax]
jne 0x502e7c
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 6]
lea esi, [esp + 0x54]
push 0xa
push eax
push esi
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502ea7
lock inc dword [eax]
mov ecx, esp
push esi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502ec1
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502ee5
test ecx, ecx
je 0x502ed7
lock dec dword [eax]
jne 0x502ee5
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502ef7
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502f15
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502f39
test ecx, ecx
je 0x502f2b
lock dec dword [eax]
jne 0x502f39
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502f4b
lock inc dword [eax]
mov ecx, esp
push 0x586b80
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502f69
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502f8d
test ecx, ecx
je 0x502f7f
lock dec dword [eax]
jne 0x502f8d
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
movzx eax, bp
lea esi, [esp + 0x50]
push 0xa
push eax
push esi
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
mov ebp, dword [esp + 0x1c]
ja 0x502fb7
lock inc dword [eax]
mov ecx, esp
push esi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x502fd1
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x502ff5
test ecx, ecx
je 0x502fe7
lock dec dword [eax]
jne 0x502ff5
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x503007
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x503025
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503049
test ecx, ecx
je 0x50303b
lock dec dword [eax]
jne 0x503049
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
add eax, esi
mov edx, dword [esi + 4]
mov edi, edx
sar edi, 0x1f
lea ecx, [esp + 0x68]
push edi
push edx
push eax
call dword [method.QIODevice.write_char_const__long_long_]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x503089
test eax, eax
je 0x50307b
lock dec dword [esi]
jne 0x503089
mov esi, dword [esp + 0x10]
push 4
push 1
push esi
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5030af
test ecx, ecx
je 0x5030a1
lock dec dword [eax]
jne 0x5030af
mov eax, dword [esp + 4]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5030d5
test ecx, ecx
je 0x5030c7
lock dec dword [eax]
jne 0x5030d5
mov eax, dword [esp + 0x50]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5030fb
test ecx, ecx
je 0x5030ed
lock dec dword [eax]
jne 0x5030fb
mov eax, dword [esp + 8]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503121
test ecx, ecx
je 0x503113
lock dec dword [eax]
jne 0x503121
mov eax, dword [esp + 0xc]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503147
test ecx, ecx
je 0x503139
lock dec dword [eax]
jne 0x503147
mov eax, dword [esp + 0x4c]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50316d
test ecx, ecx
je 0x50315f
lock dec dword [eax]
jne 0x50316d
mov eax, dword [esp + 0x54]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503193
test ecx, ecx
je 0x503185
lock dec dword [eax]
jne 0x503193
mov eax, dword [esp + 0x48]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5031b9
test ecx, ecx
je 0x5031ab
lock dec dword [eax]
jne 0x5031b9
mov eax, dword [esp + 0x44]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5031df
test ecx, ecx
je 0x5031d1
lock dec dword [eax]
jne 0x5031df
mov eax, dword [esp + 0x40]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503205
test ecx, ecx
je 0x5031f7
lock dec dword [eax]
jne 0x503205
mov eax, dword [esp + 0x58]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50322b
test ecx, ecx
je 0x50321d
lock dec dword [eax]
jne 0x50322b
mov eax, dword [esp + 0x3c]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503251
test ecx, ecx
je 0x503243
lock dec dword [eax]
jne 0x503251
mov eax, dword [esp + 0x38]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503277
test ecx, ecx
je 0x503269
lock dec dword [eax]
jne 0x503277
mov eax, dword [esp + 0x34]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50329d
test ecx, ecx
je 0x50328f
lock dec dword [eax]
jne 0x50329d
mov eax, dword [esp + 0x5c]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5032c3
test ecx, ecx
je 0x5032b5
lock dec dword [eax]
jne 0x5032c3
mov eax, dword [esp + 0x30]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5032e9
test ecx, ecx
je 0x5032db
lock dec dword [eax]
jne 0x5032e9
mov eax, dword [esp + 0x2c]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50330f
test ecx, ecx
je 0x503301
lock dec dword [eax]
jne 0x50330f
mov eax, dword [esp + 0x28]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503335
test ecx, ecx
je 0x503327
lock dec dword [eax]
jne 0x503335
mov eax, dword [esp + 0x60]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50335b
test ecx, ecx
je 0x50334d
lock dec dword [eax]
jne 0x50335b
mov eax, dword [esp + 0x24]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503381
test ecx, ecx
je 0x503373
lock dec dword [eax]
jne 0x503381
mov eax, dword [esp + 0x64]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5033a7
test ecx, ecx
je 0x503399
lock dec dword [eax]
jne 0x5033a7
mov eax, dword [esp + 0x20]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, ebx
shr eax, 5
mov dword [esp + 0x78], eax
cmp ebx, 0x20
jae 0x5035d6
lea esi, [esp + 8]
push 0xa
push dword [esp + 0x7c]
push esi
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [0x586b70]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5033e0
lock inc dword [eax]
mov ecx, esp
push esi
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5033fa
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50341e
test ecx, ecx
je 0x503410
lock dec dword [eax]
jne 0x50341e
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x503430
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call dword [method.QByteArray.append_QByteArray_const_]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x50344e
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503472
test ecx, ecx
je 0x503464
lock dec dword [eax]
jne 0x503472
mov eax, dword [esp]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
add eax, esi
mov edx, dword [esi + 4]
mov edi, edx
sar edi, 0x1f
lea ecx, [esp + 0x68]
push edi
push edx
push eax
call dword [method.QIODevice.write_char_const__long_long_]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x5034b2
test eax, eax
je 0x5034a4
lock dec dword [esi]
jne 0x5034b2
mov esi, dword [esp + 0x10]
push 4
push 1
push esi
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5034d8
test ecx, ecx
je 0x5034ca
lock dec dword [eax]
jne 0x5034d8
mov eax, dword [esp + 4]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5034fe
test ecx, ecx
je 0x5034f0
lock dec dword [eax]
jne 0x5034fe
mov eax, dword [esp + 8]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
lea edi, [esp + 0x68]
mov ecx, edi
call dword [method.QSaveFile.commit__]
test al, al
je 0x50393c
mov eax, dword [ebp]
mov bl, 1
cmp eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
je 0x503974
mov ecx, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp], ecx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503974
test ecx, ecx
je 0x503544
lock dec dword [eax]
jne 0x503974
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
jmp 0x503974
mov eax, dword [ebp]
mov dword [ebp], 0x57d6a8
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5039b5
test ecx, ecx
je 0x503579
lock dec dword [eax]
jne 0x5039b5
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
jmp 0x5039b5
lea ecx, [esp + 0x74]
call dword [method.QFileInfo.QFileInfo__]
jmp 0x5039b5
mov ecx, esp
push edi
call dword [method.QIODevice.errorString___const]
mov eax, dword [ebp]
mov ecx, dword [esp]
mov dword [ebp], ecx
mov dword [esp], eax
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5035d1
test ecx, ecx
je 0x5035c3
lock dec dword [eax]
jne 0x5035d1
mov eax, dword [esp]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
jmp 0x503974
mov eax, dword [esp + 0x78]
cmp eax, 1
adc eax, 0
mov dword [esp + 0x7c], eax
xor ebx, ebx
mov edi, dword [method.QByteArray.append_QByteArray_const_]
mov esi, dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
xor eax, eax
jmp 0x50361e
push 4
push 1
push eax
call esi
add esp, 0xc
add ebx, 0x20
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x7c]
je 0x5033b9
inc eax
push 0xa
mov dword [esp + 0x88], eax
push eax
lea eax, [esp + 0x10]
push eax
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
mov eax, dword [0x586b84]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x50364a
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 8]
push eax
call edi
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x503664
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503684
test ecx, ecx
je 0x50367a
lock dec dword [eax]
jne 0x503684
mov eax, dword [esp]
push 4
push 1
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
push 0x55e439
call dword [method.QByteArray.QByteArray_char_const__int_]
mov eax, dword [esp + 4]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5036a7
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0xc]
push eax
call edi
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5036c1
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5036e1
test ecx, ecx
je 0x5036d7
lock dec dword [eax]
jne 0x5036e1
mov eax, dword [esp]
push 4
push 1
push eax
call esi
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503703
test ecx, ecx
je 0x5036f9
lock dec dword [eax]
jne 0x503703
mov eax, dword [esp + 0xc]
push 4
push 1
push eax
call esi
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503725
test ecx, ecx
je 0x50371b
lock dec dword [eax]
jne 0x503725
mov eax, dword [esp + 4]
push 4
push 1
push eax
call esi
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503747
test ecx, ecx
je 0x50373d
lock dec dword [eax]
jne 0x503747
mov eax, dword [esp + 8]
push 4
push 1
push eax
call esi
add esp, 0xc
mov ebp, 0x20
mov dword [esp + 0x80], ebx
jmp 0x503772
push 4
push 1
push eax
call esi
add esp, 0xc
inc ebx
dec ebp
je 0x503880
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
cmp dword [eax + 4], ebx
jbe 0x503790
add eax, dword [eax + 0xc]
movzx eax, byte [ebx + eax]
jmp 0x503792
xor eax, eax
movzx eax, al
push 0xa
push eax
lea eax, [esp + 0x10]
push eax
call dword [method.QByteArray.number_int__int_]
add esp, 0xc
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
push 0x55e43b
call dword [method.QByteArray.QByteArray_char_const__int_]
mov eax, dword [esp + 8]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5037c9
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0xc]
push eax
call edi
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5037e3
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503803
test ecx, ecx
je 0x5037f9
lock dec dword [eax]
jne 0x503803
mov eax, dword [esp]
push 4
push 1
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x10]
lea eax, [esp + 4]
push eax
call edi
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503830
test ecx, ecx
je 0x503826
lock dec dword [eax]
jne 0x503830
mov eax, dword [esp + 4]
push 4
push 1
push eax
call esi
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503852
test ecx, ecx
je 0x503848
lock dec dword [eax]
jne 0x503852
mov eax, dword [esp + 0xc]
push 4
push 1
push eax
call esi
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x50376a
test ecx, ecx
je 0x503760
lock dec dword [eax]
jne 0x50376a
mov eax, dword [esp + 8]
jmp 0x503760
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x503892
lock inc dword [eax]
mov ecx, esp
lea eax, [esp + 0x14]
push eax
call edi
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [eax]
dec ecx
cmp ecx, 0xfffffffd
ja 0x5038ac
lock inc dword [eax]
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5038cc
test ecx, ecx
je 0x5038c2
lock dec dword [eax]
jne 0x5038cc
mov eax, dword [esp]
push 4
push 1
push eax
call esi
add esp, 0xc
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 0xc]
add eax, ebx
mov edx, dword [ebx + 4]
mov ebp, edx
sar ebp, 0x1f
lea ecx, [esp + 0x68]
push ebp
push edx
push eax
call dword [method.QIODevice.write_char_const__long_long_]
mov eax, dword [ebx]
cmp eax, 0xffffffff
mov ebp, dword [esp + 0x1c]
je 0x50390c
test eax, eax
je 0x503902
lock dec dword [ebx]
jne 0x50390c
mov ebx, dword [esp + 4]
push 4
push 1
push ebx
call esi
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
mov ebx, dword [esp + 0x80]
je 0x50360a
test ecx, ecx
je 0x503600
lock dec dword [eax]
jne 0x50360a
mov eax, dword [esp + 0x10]
jmp 0x503600
mov ecx, esp
push edi
call dword [method.QIODevice.errorString___const]
mov eax, dword [ebp]
mov ecx, dword [esp]
mov dword [ebp], ecx
mov dword [esp], eax
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x503972
test ecx, ecx
je 0x503964
lock dec dword [eax]
jne 0x503972
mov eax, dword [esp]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
xor ebx, ebx
lea ecx, [esp + 0x68]
call dword [method.QSaveFile.QSaveFile__]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5039a4
test ecx, ecx
je 0x503996
lock dec dword [eax]
jne 0x5039a4
mov eax, dword [esp + 0x14]
push 4
push 1
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
lea ecx, [esp + 0x74]
call dword [method.QFileInfo.QFileInfo__]
cmp byte [esp + 0x1b], 0
jne 0x5039b7
xor ebx, ebx
and bl, 1
mov eax, ebx
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret 4