Function at 0x6706fec0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x6715872d
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x2c], edi
call sym.QtCore4.dll_public:_static_enum_QSysInfo::WinVersion___cdecl_QSysInfo::windowsVersion_void_
cmp eax, 0x80
jl 0x6706ffe5
mov eax, dword [0x67269b84]
cmp eax, edi
jne 0x670700bc
push 0xffffffffffffffff
push str.kernel32
call sym.QtCore4.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.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.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.670630f0
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 0x6706ff83
mov edx, dword [esp + 0x30]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
push ebp
lea ecx, [esp + 0x3c]
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call sym.QtCore4.dll_public:_static_struct_HINSTANCE______cdecl_QSystemLibrary::load_unsigned_short_int_const___bool_
add esp, 8
mov dword [esp + 0x34], eax
mov byte [esp + 0x3c], 1
cmp eax, edi
je 0x6706ffb6
push str.GetUserPreferredUILanguages
lea ecx, [esp + 0x38]
call fcn.6706d4b0
mov dword [0x67269b84], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0xe4], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x6706ffd8
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [0x67269b84]
cmp eax, edi
jne 0x670700c1
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
call fcn.6706da50
push eax
lea edx, [esp + 0x48]
push edx
call sym.QtCore4.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.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov ecx, sym.QtCore4.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.670215e0
mov esi, dword [esp + 0xec]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xe8], 0xb
call sym.QtCore4.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 0x6707007c
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x28]
call fcn.67019690
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xe4], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x6707009e
mov eax, dword [esp + 0x40]
push eax
call sym.QtCore4.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 0x670701cf
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x670701cf
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x1c]
push eax
push 8
call dword [0x67269b84]
test eax, eax
je 0x670701cf
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
call fcn.6706de80
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push 8
call dword [0x67269b84]
test eax, eax
jne 0x670701cf
mov dword [esp + 0x28], sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov edx, sym.QtCore4.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.QtCore4.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 0x670701ac
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x2c]
call fcn.67019690
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x54]
mov byte [esp + 0xe4], 0
cmp eax, edx
je 0x6707009e
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
jmp 0x6707009b
mov dword [esp + 0x18], sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov eax, sym.QtCore4.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 0x6707021c
mov eax, dword [eax]
cmp eax, ebp
je 0x6707020e
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.6701b740
jmp 0x6707021c
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_void___thiscall_QListData::realloc_int_
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x14], edi
jbe 0x670702a2
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push esi
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [esp + 0xe4], 8
cmp dword [eax + 8], edi
je 0x67070285
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.670215e0
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 0x6707027d
mov eax, dword [esp + 0x20]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
sub dword [esp + 0x14], ebp
jne 0x67070226
jmp 0x670702a2
mov byte [esp + 0xe4], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670702a2
mov edx, dword [esp + 0x20]
push edx
call sym.QtCore4.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.QtCore4.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 0x670702dc
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.67019690
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 0
cmp eax, ecx
je 0x6707009e
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
jmp 0x6707009b