Function at 0x4189a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a3b4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64468c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x1c], eax
lea edi, [eax + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
test edx, edx
jle 0x418b96
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov ebx, dword [esp + 0x40]
cmp ecx, ebx
jbe 0x418b96
mov ecx, eax
mov eax, dword [ecx]
cmp eax, 1
je 0x418a09
test eax, eax
je 0x418a09
push dword [ecx + 4]
mov ecx, edi
call fcn.0040ef00
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx + 8]
add eax, ebx
mov ecx, dword [ecx + eax*4 + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_class_QMap_class_QString__class_QVariant____thiscall_QVariant::toMap_void_]
mov esi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xa
push str.DeviceData
mov dword [esp + 0x40], 0
call esi
add esp, 8
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x38], 1
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d370
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QList_class_QVariant____thiscall_QVariant::toList_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x418b59
mov ebp, dword [esp + 0x44]
cmp ecx, ebp
jbe 0x418b59
push ebp
lea ecx, [esp + 0x44]
call fcn.00418940
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QList_class_QVariant__const__]
push 0xa
push str.DeviceData
mov byte [esp + 0x40], 4
call esi
add esp, 8
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 5
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d370
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant____thiscall_QVariant::operator_class_QVariant__]
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
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 + 0x20]
mov byte [esp + 0x38], 3
call esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QMap_class_QString__class_QVariant__const__]
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 6
push eax
push ebx
mov ecx, edi
call fcn.00411330
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant____thiscall_QVariant::operator_class_QVariant__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00419b90
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
push eax
call fcn.0040ca90
push ebx
mov ecx, esi
call fcn.004773a0
push ebp
push ebx
mov ecx, esi
call fcn.00477e60
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov byte [esp + 0x38], 0
test ecx, ecx
je 0x418b7b
cmp ecx, 0xffffffff
je 0x418b85
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x418b85
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x44]
call fcn.0040aaf0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040d180
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8