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

Disassembly:
push 0xffffffffffffffff
push 0x488c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64468c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x90], 0
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
push ecx
mov eax, esp
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x34]
mov dword [eax], 1
call dword [sym.imp.Qt5Core.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
lea ecx, [esp + 0x30]
test al, al
je 0x40d984
mov esi, dword [sym.imp.Qt5Core.dll_public:_long_long___int64____thiscall_QIODevice::read_char___long_long___int64__]
lea eax, [esp + 0x2c]
push 0
push 4
push eax
call esi
xor edi, edi
cmp dword [esp + 0x2c], edi
jle 0x40d976
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMapDataBase::freeTree_struct_QMapNodeBase___int_]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMapDataBase::freeData_struct_QMapDataBase__]
jmp 0x40d6d0
mov eax, dword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov dword [esp + 0x18], eax
push 0
push 2
lea eax, [esp + 0x1c]
mov byte [esp + 0x98], 2
push eax
lea ecx, [esp + 0x3c]
call esi
movsx eax, word [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 2
push 0x497cac
mov byte [esp + 0x98], 3
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov byte [esp + 0x90], 4
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.0040d370
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant____thiscall_QVariant::operator_class_QVariant__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call esi
movsx eax, word [esp + 0x14]
lea ecx, [esp + 0x48]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 2
push 0x497cb0
mov byte [esp + 0x98], 5
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
mov byte [esp + 0x90], 6
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.0040d370
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant____thiscall_QVariant::operator_class_QVariant__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call esi
movsx eax, word [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 2
push 0x497cb4
mov byte [esp + 0x98], 7
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x58]
mov byte [esp + 0x90], 8
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.0040d370
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant____thiscall_QVariant::operator_class_QVariant__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call esi
movsx eax, word [esp + 0x14]
lea ecx, [esp + 0x68]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 2
push 0x497cb8
mov byte [esp + 0x98], 9
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x68]
mov byte [esp + 0x90], 0xa
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.0040d370
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant____thiscall_QVariant::operator_class_QVariant__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 2
call esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QMap_class_QString__class_QVariant__const__]
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x94], 0xb
call fcn.0040eca0
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 2
call esi
mov esi, dword [esp + 0x18]
mov byte [esp + 0x90], 1
mov eax, dword [esi]
test eax, eax
je 0x40d94a
cmp eax, 0xffffffff
je 0x40d965
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x40d965
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40d95f
call fcn.0040eec0
push 8
push dword [esi + 0xc]
mov ecx, esi
call ebp
push esi
call ebx
add esp, 4
mov esi, dword [sym.imp.Qt5Core.dll_public:_long_long___int64____thiscall_QIODevice::read_char___long_long___int64__]
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x40d6d0
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFileDevice::close_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
lea ecx, [esp + 0x98]
mov dword [esp + 0x90], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8