Function at 0x4c5490
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed0b3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x549170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 0xc]
mov dword [ebp - 4], 0
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebx + 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFile::constructor_void_]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTextStream::constructor_void_]
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push 4
call fcn.004d1eb4
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::constructor_void_]
push 8
mov byte [ebp - 4], 3
mov dword [ebx], eax
call fcn.004d1eb4
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonArray::constructor_void_]
push 8
mov byte [ebp - 4], 3
mov dword [ebx + 4], eax
call fcn.004d1eb4
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::constructor_void_]
push esi
lea esi, [ebx + 0x10]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebx + 8], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFile::setFileName_class_QString_const__]
mov eax, dword [esi]
mov ecx, esi
push 0x17
mov eax, dword [eax + 0x30]
call eax
test al, al
jne 0x4c55ac
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.error_opening_log_file
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
push esi
lea ecx, [ebx + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTextStream::setDevice_class_QIODevice__]
push str.utf_8
lea ecx, [ebx + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTextStream::setCodec_char_const__]
push str.log_started
lea ecx, [ebx + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_const__]
push eax
call dword [sym.imp.Qt5Core.dll_class_QTextStream____cdecl_endl_class_QTextStream__]
add esp, 4
lea ecx, [ebp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4