Function at 0x6706d830
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x67150e3d
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x2c], edi
call sym.QtCore_Ad_4.dll_public:_static_enum_QSysInfo::WinVersion___cdecl_QSysInfo::windowsVersion_void_
cmp eax, 0x80
jl 0x6706d955
mov eax, dword [0x67258b04]
cmp eax, edi
jne 0x6706da2c
push 0xffffffffffffffff
push str.kernel32
call sym.QtCore_Ad_4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_
add esp, 8
mov dword [esp + 0x30], eax
mov ebp, 1
mov dword [esp + 0xe4], ebp
mov dword [esp + 0x38], sym.QtCore_Ad_4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore_Ad_4.dll_struct_QString::Data_QString::shared_null
mov ecx, ebp
lock xadd dword [eax], ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 2
call fcn.6705d580
mov dword [esp + 0x34], edi
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x30]
mov byte [esp + 0xe4], 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6706d8f3
mov edx, dword [esp + 0x30]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
push ebp
lea ecx, [esp + 0x3c]
call sym.QtCore_Ad_4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call sym.QtCore_Ad_4.dll_public:_static_struct_HINSTANCE______cdecl_QSystemLibrary::load_wchar_t_const___bool_
add esp, 8
mov dword [esp + 0x34], eax
mov byte [esp + 0x3c], 1
cmp eax, edi
je 0x6706d926
push str.GetUserPreferredUILanguages
lea ecx, [esp + 0x38]
call fcn.6706ae30
mov dword [0x67258b04], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0xe4], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6706d948
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [0x67258b04]
cmp eax, edi
jne 0x6706da31
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
call fcn.6706b3e0
push eax
lea edx, [esp + 0x48]
push edx
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_
add esp, 0xc
mov ebx, 9
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x24], sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov ecx, sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov edx, 1
lock xadd dword [ecx], edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 0xa
call fcn.6701f760
mov esi, dword [esp + 0xec]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xe8], 0xb
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QVariant::constructor_class_QStringList_const__
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], 1
mov byte [esp + 0xe4], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706d9ec
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x28]
call fcn.67019a60
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xe4], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706da0e
mov eax, dword [esp + 0x40]
push eax
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 4
mov ebp, 1
mov ecx, 0x40
lea edx, [esp + 0x54]
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
push 8
mov dword [esp + 0xf4], 5
call eax
test eax, eax
jne 0x6706db3f
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x6706db3f
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x1c]
push eax
push 8
call dword [0x67258b04]
test eax, eax
je 0x6706db3f
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
call fcn.6706b7f0
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push 8
call dword [0x67258b04]
test eax, eax
jne 0x6706db3f
mov dword [esp + 0x28], sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov edx, sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov eax, ebp
lock xadd dword [edx], eax
mov esi, dword [esp + 0xec]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0xe8], 6
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QVariant::constructor_class_QStringList_const__
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0xe4], 5
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x6706db1c
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x2c]
call fcn.67019a60
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x54]
mov byte [esp + 0xe4], 0
cmp eax, edx
je 0x6706da0e
push eax
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
jmp 0x6706da0b
mov dword [esp + 0x18], sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov eax, sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov ecx, ebp
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov bl, 7
mov byte [esp + 0xe4], bl
cmp edx, dword [esp + 0x14]
jge 0x6706db8c
mov eax, dword [eax]
cmp eax, ebp
je 0x6706db7e
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.67019ca0
jmp 0x6706db8c
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QListData::realloc_int_
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x14], edi
jbe 0x6706dc12
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push esi
push eax
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [esp + 0xe4], 8
cmp dword [eax + 8], edi
je 0x6706dbf5
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.6701f760
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
lea esi, [esi + ecx*2 + 2]
mov byte [esp + 0xe4], bl
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x6706dbed
mov eax, dword [esp + 0x20]
push eax
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
sub dword [esp + 0x14], ebp
jne 0x6706db96
jmp 0x6706dc12
mov byte [esp + 0xe4], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6706dc12
mov edx, dword [esp + 0x20]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov esi, dword [esp + 0xec]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QVariant::constructor_class_QStringList_const__
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0xe4], 5
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6706dc4c
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.67019a60
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 0
cmp eax, ecx
je 0x6706da0e
push eax
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
jmp 0x6706da0b