Function at 0x14000a5f0
Capabilities:
Check os version
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x6a0
mov rax, qword [0x1400420e0]
xor rax, rsp
mov qword [rsp + 0x690], rax
xor esi, esi
sub edx, 2
mov rbx, r9
mov rbp, r8
mov rdi, rcx
mov r12d, esi
je 0x14000a952
sub edx, 0x10e
je 0x14000aa86
dec edx
je 0x14000a6d1
dec edx
je 0x14000a6a8
cmp edx, 0x26
jne 0x14000a97c
lea edx, [rsi - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x3ed
je 0x14000a685
lea edx, [rsi - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x3e8
je 0x14000a685
lea edx, [rsi - 0xc]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x133
jne 0x14000a97c
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
cdqe
jmp 0x14000a97f
cmp r8, 0xf060
jne 0x14000a97c
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageW]
mov esi, 1
jmp 0x14000a97c
movzx ecx, r8w
cmp ecx, 0x3f2
jg 0x14000a883
je 0x14000a7c5
dec ecx
je 0x14000a70e
dec ecx
je 0x14000a6f8
cmp ecx, 0x6e
jne 0x14000a952
mov rdx, r8
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndDialog]
mov esi, 1
jmp 0x14000a952
mov rax, qword [0x140046528]
mov rcx, qword [rax + 0x68]
cmp dword [rcx + 0x20], 4
jne 0x14000a6f8
cmp dword [rcx + 0x14], 1
jne 0x14000a6f8
cmp dword [rcx + 0x10], esi
jne 0x14000a6f8
lea rcx, [rsp + 0x290]
xor edx, edx
mov r8d, 0x400
call fcn.14001d640
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001d640
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea r8, [rsp + 0x290]
movzx ecx, ax
mov edx, 0x3f
movzx ebx, ax
call fcn.1400050e0
lea r8, [rsp + 0x80]
mov edx, 0x41
movzx ecx, bx
call fcn.1400050e0
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x290]
mov r9d, 0x24
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14000a952
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndDialog]
mov esi, 1
jmp 0x14000a952
mov rax, qword [0x140046528]
mov rcx, qword [rax + 0x68]
mov dword [rcx + 0x20], 2
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov r11, qword [0x140046528]
mov rax, qword [r11 + 0x68]
mov dword [rax + 0x10], esi
mov rax, qword [r11 + 0x68]
mov dword [rax + 0x14], esi
jmp 0x14000a952
cmp ecx, 0x3f3
je 0x14000aa6f
cmp ecx, 0x3f4
je 0x14000a9a1
lea eax, [rcx - 0x3f5]
cmp eax, 1
ja 0x14000a952
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
mov rax, qword [0x140046528]
mov rcx, qword [rax + 0x68]
jne 0x14000a8ec
mov dword [rcx + 0x14], 1
mov r12d, 1
jmp 0x14000a8ef
mov dword [rcx + 0x14], esi
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
mov rax, qword [0x140046528]
mov rcx, qword [rax + 0x68]
jne 0x14000a92e
mov dword [rcx + 0x10], 1
inc r12d
jmp 0x14000a931
mov dword [rcx + 0x10], esi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
test r12d, r12d
jle 0x14000a99d
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3ed
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x31]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
movsxd rax, esi
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.14001b510
add rsp, 0x6a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
jmp 0x14000a94c
mov rax, qword [0x140046528]
mov edx, 1
mov rcx, qword [rax + 0x68]
mov dword [rcx + 0x20], 4
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov edx, 0xf1
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov edx, 0xf1
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov r11, qword [0x140046528]
mov rax, qword [r11 + 0x68]
mov dword [rax + 0x10], 1
mov rax, qword [r11 + 0x68]
mov dword [rax + 0x14], 1
jmp 0x14000a952
mov rax, qword [0x140046528]
mov rcx, qword [rax + 0x68]
mov dword [rcx + 0x20], 3
jmp 0x14000a7d7
mov qword [0x140046528], rbx
test rbx, rbx
jne 0x14000aaa2
lea edx, [rbx + 2]
call qword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
jmp 0x14000a97f
lea rcx, [rsp + 0x80]
mov ebp, 1
mov dword [rsp + 0x80], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000aacf
cmp dword [rsp + 0x84], 6
cmovae ebp, esi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov r11, qword [0x140046528]
mov edx, 0x3ed
mov rax, qword [r11 + 0x68]
mov rcx, rdi
mov dword [rax + 0x20], esi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
lea edx, [r9 + 0x31]
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x20]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x30], 0x320
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edx, 0x3ed
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
lea edx, [r9 + 0x30]
mov rcx, rax
mov r8, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140009d70
lea rdx, [fcn.140009d70]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov edx, 0x3ee
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [0x140046528]
mov rdx, qword [rdx + 0x28]
mov rcx, rax
call fcn.14000a290
mov edx, 0x133
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [0x140046528]
mov rdx, qword [rdx + 0x28]
mov rcx, rax
call fcn.14000a290
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [0x140046528]
mov rdx, qword [rdx + 0x28]
mov rcx, rax
call fcn.14000a290
mov ebx, 5
cmp ebp, 1
mov edx, 0x3f4
mov rcx, rdi
cmove ebx, esi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3f5
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14000a97c