Function at 0x1400076d0
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
call fcn.14000f424
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov rcx, rax
call fcn.14001fb0c
mov r12, rax
xor ebp, ebp
or rsi, 0xffffffffffffffff
test rax, rax
je 0x1400077b5
call fcn.1400197c4
mov r11, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140007731
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
mov ecx, 0x65
call fcn.1400197b0
test rax, rax
je 0x14000776a
mov r8d, 0x65
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001410
mov rbx, qword [rsp + 0x68]
cmp dword [rbx - 0x10], 0
je 0x14000779b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, qword [r12 + 8]
call qword [sym.imp.USER32.dll_AppendMenuA]
mov r9, rbx
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [r12 + 8]
call qword [sym.imp.USER32.dll_AppendMenuA]
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400077b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov r9, qword [rdi + 0xcd8]
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, qword [rdi + 0xcd8]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
call fcn.1400197c4
mov r11, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140007807
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov ecx, 0x78
call fcn.1400197b0
test rax, rax
je 0x14000783b
mov r8d, 0x78
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001410
lea rcx, [rdi + 0xb88]
mov rdx, qword [rsp + 0x60]
call fcn.140018b24
mov ecx, 0x79
call fcn.1400197b0
test rax, rax
je 0x14000786e
mov r8d, 0x79
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001410
lea rcx, [rdi + 0xae0]
mov rdx, qword [rsp + 0x60]
call fcn.140018b24
mov ecx, 0x7a
call fcn.1400197b0
test rax, rax
je 0x1400078a1
mov r8d, 0x7a
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001410
lea rcx, [rdi + 0x990]
mov rdx, qword [rsp + 0x60]
call fcn.140018b24
mov ecx, 0x7b
call fcn.1400197b0
test rax, rax
je 0x1400078d4
mov r8d, 0x7b
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001410
lea rcx, [rdi + 0xa38]
mov rdx, qword [rsp + 0x60]
call fcn.140018b24
mov ecx, 0x7e
call fcn.1400197b0
test rax, rax
je 0x140007907
mov r8d, 0x7e
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001410
lea rcx, [rdi + 0x8e8]
mov rdx, qword [rsp + 0x60]
call fcn.140018b24
mov r8, rsi
xor edx, edx
lea rcx, [0x1400708b0]
call fcn.14001e89c
lea r11, [0x140070828]
mov qword [0x140070820], r11
call fcn.140007ed0
mov rcx, rdi
call fcn.1400065d0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea r8, [rdi + 0xe8]
test r8, r8
jne 0x14000795b
mov r8, rbp
jmp 0x14000795f
mov r8, qword [r8 + 8]
mov edx, 0x30
lea r9d, [rdx - 0x2f]
mov rcx, qword [rdi + 0x298]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x14007081c], 0
je 0x140007a7a
mov rax, qword [0x140070820]
mov rcx, qword [rax + 8]
sub rcx, 0x18
call fcn.1400018e0
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.14000e8a0
test eax, eax
js 0x1400079e4
mov rcx, rdi
call fcn.140006cd0
cmp dword [0x140070814], 0
je 0x140007a83
xor r9d, r9d
lea edx, [r9 + 1]
mov r8d, 0x3e8
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
mov dword [rdi + 0xce0], eax
jmp 0x140007a83
call fcn.1400197c4
mov rcx, rax
test rax, rax
setne bpl
test ebp, ebp
jne 0x140007a02
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
mov ecx, 0x83
call fcn.1400197b0
test rax, rax
je 0x140007a38
mov r8d, 0x83
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140001410
mov rbx, qword [rsp + 0x70]
mov r9d, 0x30
lea r8, str.Setup
mov rdx, rbx
mov rcx, rdi
call fcn.14001262c
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x2b0]
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140007a83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
jmp 0x140007a83
mov rcx, rdi
call fcn.140005bf0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140007aa1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, 1
add rsp, 0x30
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret