Function at 0x6e12e08c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
call method.QSysInfo.windowsVersion__
cmp eax, 0x7f
jle 0x6e12e30c
mov edx, dword [0x6e345500]
test edx, edx
je 0x6e12e271
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xdc], 0x40
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe0], 0x40
mov dword [ebp - 0x24], 0x40
lea ebx, [ebp - 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
lea esi, [ebp - 0x20]
mov dword [esp + 4], esi
mov dword [esp], 8
lea edi, [ebp - 0xe0]
call dword [0x6e345500]
sub esp, 0x10
test eax, eax
je 0x6e12e420
mov dword [ebp - 0x2c], sym.QtCore4.dll_QListData::shared_null
lock inc dword [sym.QtCore4.dll_QListData::shared_null]
setne al
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
cmp eax, dword [edx + 4]
jle 0x6e12e19f
mov ecx, dword [edx]
dec ecx
je 0x6e12e4f9
mov ecx, dword [edx + 8]
lea ebx, [edx + ecx*4 + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xec], eax
mov dword [esp], eax
call method.QListData.detach_int_
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0xc]
lea esi, [edx + ecx*4 + 0x14]
mov ecx, dword [edx + 8]
lea edx, [edx + ecx*4 + 0x14]
cmp esi, edx
je 0x6e12e18e
mov edi, eax
jmp 0x6e12e177
add ebx, 4
test edx, edx
je 0x6e12e185
mov ecx, dword [ebx]
mov dword [edx], ecx
lock inc dword [ecx]
setne al
add edx, 4
cmp esi, edx
jne 0x6e12e174
mov eax, edi
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e12e54c
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xd8]
test eax, eax
je 0x6e12e4eb
lea esi, [ebp - 0x30]
jmp 0x6e12e1c3
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x6e12e224
lea ebx, [ebx + edi*2 + 2]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], esi
call method.QString.fromWCharArray_wchar_t_const__int_
push edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x6e12e3f8
mov dword [esp + 4], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xec], eax
mov dword [esp], eax
call fcn.6e244f70
mov eax, dword [ebp - 0x30]
mov edi, dword [eax + 8]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12e1b4
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x6e12e1bf
lea esi, [esi]
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call method.QVariant.QVariant_QStringList_const_
mov eax, dword [ebp - 0x2c]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e12e524
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xfc], eax
je 0x6e12e3e9
mov dword [esp], eax
call sym.QtCore4.dll_qFree_void_
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x6e2db280
call fcn.6e11c044
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], sym.QtCore4.dll_QString::shared_null
lock inc dword [sym.QtCore4.dll_QString::shared_null]
setne al
lea esi, [ebp - 0x1c]
mov dword [esp + 4], esi
lea ebx, [ebp - 0x40]
mov dword [esp], ebx
call method.QString.operator_QString_const_
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x3c], 0
mov dword [esp], esi
call method.QString.QString__
lea esi, [ebp - 0x44]
mov eax, esi
call fcn.6e12afa8
test al, al
je 0x6e12e2f5
cmp byte [ebp - 0x3c], 0
je 0x6e12e563
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x6e12e2f0
mov dword [esp + 4], str.GetUserPreferredUILanguages
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [0x6e345500], eax
mov dword [esp], ebx
call method.QString.QString__
mov eax, dword [0x6e345500]
test eax, eax
jne 0x6e12e0b4
nop
call sub.KERNEL32.dll_GetUserDefaultUILanguage
movzx eax, ax
lea edx, [eax - 0x401]
cmp edx, 0
jl 0x6e12e377
je 0x6e12e414
mov esi, 0x6c
xor ebx, ebx
jmp 0x6e12e332
mov esi, edx
lea edx, [esi + ebx]
mov ecx, edx
shr ecx, 0x1f
lea edx, [ecx + edx]
sar edx, 1
lea ecx, [edx*8]
lea edi, [ecx + 0x6e2db340]
movzx ecx, word [ecx + 0x6e2db340]
mov dword [ebp - 0xec], ecx
mov ecx, eax
sub ecx, dword [ebp - 0xec]
cmp ecx, 0
jl 0x6e12e370
je 0x6e12e544
mov ebx, edx
mov edx, esi
mov ecx, edx
sub ecx, ebx
dec ecx
jg 0x6e12e330
xor edi, edi
lea esi, [ebp - 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], esi
call method.QString.fromLatin1_char_const__int_
push edx
mov dword [ebp - 0x38], sym.QtCore4.dll_QListData::shared_null
lock inc dword [sym.QtCore4.dll_QListData::shared_null]
setne al
mov dword [esp + 4], esi
lea ebx, [ebp - 0x38]
mov dword [esp], ebx
call fcn.6e244f70
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call method.QVariant.QVariant_QStringList_const_
mov eax, dword [ebp - 0x38]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e12e510
mov eax, dword [ebp - 0x34]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12e3e9
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e12e4e0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xec], eax
jmp 0x6e12e224
mov edi, str.ar_SA
jmp 0x6e12e379
mov dword [ebp - 0x24], 0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x6e12e118
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 8
call dword [0x6e345500]
sub esp, 0x10
test eax, eax
je 0x6e12e118
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.6e235ac0
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0xd8]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 8
call dword [0x6e345500]
sub esp, 0x10
test eax, eax
jne 0x6e12e118
mov dword [ebp - 0x28], sym.QtCore4.dll_QListData::shared_null
lock inc dword [sym.QtCore4.dll_QListData::shared_null]
setne al
lea ebx, [ebp - 0x28]
mov dword [esp + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call method.QVariant.QVariant_QStringList_const_
mov eax, dword [ebp - 0x28]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12e24a
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.6e244e74
jmp 0x6e12e24a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QString.free_QString::Data_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xec], ecx
jmp 0x6e12e224
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call method.QListData.realloc_int_
jmp 0x6e12e19c
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.6e244e74
jmp 0x6e12e3d1
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
lea edi, [ebp - 0xe0]
call fcn.6e244e74
jmp 0x6e12e24a
add edi, 2
jmp 0x6e12e379
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0xec]
mov dword [esp], ecx
call fcn.6e244e74
jmp 0x6e12e19c
mov eax, esi
call fcn.6e12afa8
jmp 0x6e12e2d6