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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push dword [esp + 0x74]
lea eax, [esp + 0x18]
push dword [esp + 0x70]
push eax
call fcn.64058430
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push ecx
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], 2
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QByteArray___class_QFlags_enum_QIODevice::OpenModeFlag__]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::setByteOrder_enum_QDataStream::ByteOrder_]
lea ecx, [esp + 0x34]
push 1
call edi
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___signed_char_]
lea ecx, [esp + 0x34]
push 1
call esi
push 1
lea ecx, [esp + 0x38]
call esi
push 0
push 6
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__char_]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QDataStream::writeRawData_char_const___int_]
lea ecx, [esp + 0x34]
push esi
push eax
call ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov ebp, dword [esp + 0x70]
cmp word [ebp + 0x28], 0
je 0x6405898c
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
lea eax, [ebp + 0x38]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::constructor_class_QByteArray_const__]
push 1
lea ecx, [esp + 0x50]
call edi
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___short_int__]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x50]
call esi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x50]
call esi
mov ax, word [esp + 0x10]
test ax, ax
je 0x64058969
mov edi, dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QDataStream::skipRawData_int_]
nop
cmp ax, 7
movzx eax, word [esp + 0x70]
push eax
je 0x64058944
lea ecx, [esp + 0x50]
call edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x50]
call esi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x50]
call esi
mov ax, word [esp + 0x10]
test ax, ax
jne 0x64058910
jmp 0x64058969
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
movzx esi, word [esp + 0x70]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push esi
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QDataStream::readRawData_char___int_]
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 4]
test esi, esi
je 0x640589ab
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push esi
push eax
lea ecx, [esp + 0x3c]
call ebx
jmp 0x640589d9
call dword [sym.imp.Qt5Core.dll_public:_static_long_long___int64____cdecl_QDateTime::currentSecsSinceEpoch_void_]
mov ecx, eax
mov edi, 0x989680
add ecx, 0xb6109100
adc edx, 2
mov eax, edx
mul edi
mov esi, eax
mov eax, ecx
mul edi
lea ecx, [esp + 0x34]
add esi, edx
push esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDataStream____thiscall_QDataStream::operator___long_long___int64__]
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x2c]
push 8
push eax
lea ecx, [ecx + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QByteArray::right_int_]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push esi
push eax
lea ecx, [esp + 0x3c]
call ebx
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__char_]
lea ecx, [esp + 0x28]
push 0
push 4
call edi
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push esi
push eax
lea ecx, [esp + 0x3c]
call ebx
cmp word [ebp + 0x28], 0
jbe 0x64058a4d
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push esi
push eax
lea ecx, [esp + 0x3c]
call ebx
push 0
push 4
lea ecx, [esp + 0x2c]
call edi
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push esi
push eax
lea ecx, [esp + 0x3c]
call ebx
push 8
lea eax, [ebp + 0x18]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call esi
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x78]
add eax, 0x58
push eax
push edi
call fcn.64058570
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call esi
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDataStream::destructor_void_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret