Function at 0x180006670
Capabilities:
Identify system language via api

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov rdi, rcx
mov qword [rsp + 0x70], rbx
mov rbx, rdx
mov qword [rcx], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], r12
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QFontDatabase::constructor_void____ptr64]
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Gui.dll_public:_class_QList_enum_QFontDatabase::WritingSystem____cdecl_QFontDatabase::writingSystems_class_QString_const____ptr64____ptr64]
mov rdx, qword [rax]
movsxd r8, dword [rdx + 0xc]
movsxd rcx, dword [rdx + 8]
add r8, 2
add rcx, 2
lea r8, [rdx + r8*8]
lea rcx, [rdx + rcx*8]
cmp rcx, r8
je 0x1800066e9
mov rax, qword [rcx]
cmp dword [rax], 0x1e
je 0x1800067a1
add rcx, 8
cmp rcx, r8
jne 0x1800066d4
mov r12b, 1
mov rax, qword [rbp + 0x30]
mov esi, 0xffffffff
mov qword [rsp + 0x58], r14
mov ecx, dword [rax]
test ecx, ecx
je 0x180006713
cmp ecx, esi
je 0x180006765
mov rax, qword [rbp + 0x30]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180006765
mov qword [rsp + 0x50], r15
mov r15, qword [rbp + 0x30]
movsxd r14, dword [r15 + 8]
movsxd rbx, dword [r15 + 0xc]
add r14, 2
add rbx, 2
lea r14, [r15 + r14*8]
lea rbx, [r15 + rbx*8]
cmp rbx, r14
je 0x180006757
nop dword [rax]
mov rcx, qword [rbx - 8]
sub rbx, 8
mov edx, 4
call fcn.18008d154
cmp rbx, r14
jne 0x180006740
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov r15, qword [rsp + 0x50]
test r12b, r12b
mov r12, qword [rsp + 0x60]
je 0x18000690b
cmp qword [0x1800c4d80], 0
jne 0x1800067e4
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
movzx edx, cl
sub edx, 4
je 0x1800067bb
sub edx, 0xd
je 0x1800067b2
cmp edx, 1
je 0x1800067a9
lea rax, [0x1800c4090]
jmp 0x1800067dd
xor r12b, r12b
jmp 0x1800066ec
lea rax, str.Gulim
jmp 0x1800067dd
lea rax, str.MS_UI_Gothic
jmp 0x1800067dd
mov ecx, 0x804
sub ax, cx
mov ecx, 0xf7ff
test cx, ax
lea rax, [0x1800c4138]
lea rcx, str.SimSun
cmove rax, rcx
mov qword [0x1800c4d80], rax
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QFontDatabase::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Gui.dll_public:_class_QStringList___cdecl_QFontDatabase::families_enum_QFontDatabase::WritingSystem____ptr64]
mov rbx, qword [0x1800c4d80]
test rbx, rbx
je 0x1800068b1
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x1800068b1
mov r8d, esi
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov r8d, 1
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_QtPrivate::QStringList_contains_class_QStringList_const____ptr64__class_QString_const____ptr64__enum_Qt::CaseSensitivity_]
test al, al
jne 0x180006853
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Gui.dll_public:_bool___cdecl_QFontDatabase::hasFamily_class_QString_const____ptr64_const___ptr64]
test al, al
je 0x18000689d
mov rax, qword [rdi]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x18000687f
mov edx, 0x7fffffff
mov r8d, 1
mov rcx, rdi
call fcn.180006480
lea rdx, [rbp + 0x18]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
jmp 0x18000689d
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x40]
mov qword [rax], rcx
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rbx, 8
jne 0x180006810
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800068cc
cmp ecx, esi
je 0x18000690b
mov rax, qword [rbp + 0x28]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x18000690b
mov r14, qword [rbp + 0x28]
movsxd rsi, dword [r14 + 8]
movsxd rbx, dword [r14 + 0xc]
add rsi, 2
add rbx, 2
lea rsi, [r14 + rsi*8]
lea rbx, [r14 + rbx*8]
cmp rbx, rsi
je 0x180006902
nop dword [rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rsi
jne 0x1800068f0
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov r14, qword [rsp + 0x58]
lea rax, [0x1800c4240]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
mov rax, qword [rdi]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x180006951
mov edx, 0x7fffffff
mov r8d, 1
mov rcx, rdi
call fcn.180006480
lea rdx, [rbp - 0x58]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
jmp 0x18000696f
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x38]
mov qword [rax], rcx
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rax, [0x1800c4278]
mov qword [rbp - 0x58], rax
mov rax, qword [rdi]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x1800069b0
mov edx, 0x7fffffff
mov r8d, 1
mov rcx, rdi
call fcn.180006480
lea rdx, [rbp - 0x58]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
jmp 0x1800069ce
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x30]
mov qword [rax], rcx
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rdi
add rsp, 0x78
pop rdi
pop rbp
ret