Function at 0x67076a10
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov r13, rdx
xor edi, edi
mov dword [rsp + 0x28], edi
call sym.QtCoreVBox4.dll_public:_static_enum_QSysInfo::WinVersion___cdecl_QSysInfo::windowsVersion_void_
or ebx, 0xffffffff
cmp eax, 0x80
jl 0x67076d67
mov rax, qword [0x672bfd68]
test rax, rax
jne 0x67076b16
mov edx, ebx
lea rcx, str.kernel32
call sym.QtCoreVBox4.dll_private:_static_struct_QString::Data____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rsp + 0x40], rax
lea rax, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rsp + 0x68], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.67063f70
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x70], dil
mov rax, qword [rsp + 0x40]
lock dec dword [rax]
jne 0x67076ab8
mov rcx, qword [rsp + 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
lea rcx, [rsp + 0x68]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov dl, 1
call sym.QtCoreVBox4.dll_public:_static_struct_HINSTANCE______ptr64___cdecl_QSystemLibrary::load_unsigned_short_int_const____ptr64__bool_
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x70], 1
test rax, rax
je 0x67076af2
lea rdx, str.GetUserPreferredUILanguages
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x672bfd68], rax
mov rax, qword [rsp + 0x68]
lock dec dword [rax]
jne 0x67076b06
mov rcx, qword [rsp + 0x68]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [0x672bfd68]
test rax, rax
je 0x67076d67
mov dword [rbp + 0x60], edi
mov dword [rbp - 0x7c], 0x40
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x80], 0x40
mov dword [rbp + 0x68], 0x40
lea r9, [rbp + 0x68]
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x60]
mov ecx, 8
call rax
test eax, eax
jne 0x67076c4e
mov dword [rbp + 0x68], edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x67076c4e
lea r9, [rbp + 0x68]
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea ecx, [rax - 0x72]
call qword [0x672bfd68]
test eax, eax
je 0x67076c4e
mov edx, dword [rbp + 0x68]
mov dword [rsp + 0x48], edx
lea rax, [rbp - 0x80]
lea r8, [rsp + 0x48]
cmp edx, dword [rbp - 0x80]
cmovge rax, r8
mov r8d, dword [rax]
lea rcx, [rbp - 0x80]
call fcn.670f0660
lea r9, [rbp + 0x68]
mov r8, qword [rbp - 0x78]
lea rdx, [rbp + 0x60]
mov ecx, 8
call qword [0x672bfd68]
test eax, eax
jne 0x67076c4e
lea rcx, sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null
mov qword [rsp + 0x50], rcx
lock inc dword [sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null]
lea rdx, [rsp + 0x50]
mov rcx, r13
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::constructor_class_QStringList_const____ptr64____ptr64
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x50]
lock dec dword [rax]
jne 0x67076c33
mov r12, qword [rsp + 0x50]
movsxd rax, dword [r12 + 0xc]
lea rdi, [r12 + rax*8 + 0x18]
movsxd rax, dword [r12 + 8]
lea rsi, [r12 + rax*8 + 0x18]
cmp rsi, rdi
je 0x67076c2a
sub rdi, 8
mov rdx, qword [rdi]
lock dec dword [rdx]
jne 0x67076c25
mov rcx, qword [rdi]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rdi, rsi
jne 0x67076c11
mov rcx, r12
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
lea rax, [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x67076e1a
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
jmp 0x67076e1a
lea rcx, sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null
mov qword [rsp + 0x20], rcx
lock inc dword [sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null]
mov rax, qword [rsp + 0x20]
mov ecx, dword [rbp + 0x60]
cmp dword [rax + 4], ecx
jge 0x67076c89
mov ecx, dword [rax]
mov edx, dword [rbp + 0x60]
cmp ecx, 1
lea rcx, [rsp + 0x20]
je 0x67076c84
call fcn.6701b820
jmp 0x67076c89
call sym.QtCoreVBox4.dll_public:_void___cdecl_QListData::realloc_int____ptr64
mov rdi, qword [rbp - 0x78]
cmp dword [rbp + 0x60], 0
jbe 0x67076d03
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x67076cf4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.670217b0
mov r11, qword [rsp + 0x30]
mov eax, dword [r11 + 8]
inc eax
movsxd rcx, eax
lea rdi, [rdi + rcx*2]
lock dec dword [r11]
jne 0x67076ced
mov rcx, qword [rsp + 0x30]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
dec dword [rbp + 0x60]
jne 0x67076ca0
jmp 0x67076d03
lock dec dword [rax]
jne 0x67076d03
mov rcx, qword [rsp + 0x30]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
lea rdx, [rsp + 0x20]
mov rcx, r13
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::constructor_class_QStringList_const____ptr64____ptr64
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x20]
lock dec dword [rax]
jne 0x67076d62
mov r12, qword [rsp + 0x20]
movsxd rax, dword [r12 + 0xc]
lea rdi, [r12 + rax*8 + 0x18]
movsxd rax, dword [r12 + 8]
lea rsi, [r12 + rax*8 + 0x18]
cmp rsi, rdi
je 0x67076d59
sub rdi, 8
mov rdx, qword [rdi]
lock dec dword [rdx]
jne 0x67076d54
mov rcx, qword [rdi]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rdi, rsi
jne 0x67076d40
mov rcx, r12
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
jmp 0x67076c33
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
call fcn.670748a0
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x58]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_
nop
lea rcx, sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null
mov qword [rsp + 0x38], rcx
lock inc dword [sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.670217b0
nop
lea rdx, [rsp + 0x38]
mov rcx, r13
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::constructor_class_QStringList_const____ptr64____ptr64
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x38]
lock dec dword [rax]
jne 0x67076e06
mov r12, qword [rsp + 0x38]
movsxd rax, dword [r12 + 0xc]
lea rdi, [r12 + rax*8 + 0x18]
movsxd rax, dword [r12 + 8]
lea rsi, [r12 + rax*8 + 0x18]
cmp rsi, rdi
je 0x67076dfd
sub rdi, 8
mov rdx, qword [rdi]
lock dec dword [rdx]
jne 0x67076df8
mov rcx, qword [rdi]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rdi, rsi
jne 0x67076de4
mov rcx, r12
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rsp + 0x58]
lock dec dword [rax]
jne 0x67076e1a
mov rcx, qword [rsp + 0x58]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, r13
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret