Function at 0x14000cb50
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov edi, r8d
mov r15, rdx
mov r13, rcx
and dword [rbp - 0x20], 0
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x14000d208
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rbp + 0x48], rax
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x14000d213
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x14000d1fd
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [r15], rax
mov dword [rbp - 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r14d, ax
movzx esi, ax
mov eax, 0x3ff
and si, ax
movzx ebx, r14w
shr bx, 0xa
mov eax, 0x3ed
cmp edi, eax
ja 0x14000cdda
je 0x14000cdc2
mov eax, 0x8e
cmp edi, eax
ja 0x14000cd08
je 0x14000ccf0
mov eax, edi
sub eax, 0x88
je 0x14000ccd8
sub eax, 1
je 0x14000ccc0
sub eax, 1
je 0x14000cca8
sub eax, 1
je 0x14000cc90
sub eax, 1
je 0x14000cc78
cmp eax, 1
jne 0x14000ce8c
lea rcx, str.MSI_UNAVAILBLE
call fcn.1400383fc
lea rdx, str.MSI_UNAVAILBLE
jmp 0x14000ce80
lea rcx, str.INSTMSI_TITLE
call fcn.1400383fc
lea rdx, str.INSTMSI_TITLE
jmp 0x14000ce80
lea rcx, str.DWNLD_TITLE
call fcn.1400383fc
lea rdx, str.DWNLD_TITLE
jmp 0x14000ce80
lea rcx, str.DWNLD_STATUS
call fcn.1400383fc
lea rdx, str.DWNLD_STATUS
jmp 0x14000ce80
lea rcx, str.DWNLD_FAILED
call fcn.1400383fc
lea rdx, str.DWNLD_FAILED
jmp 0x14000ce80
lea rcx, str.CANCEL
call fcn.1400383fc
lea rdx, str.CANCEL
jmp 0x14000ce80
lea rcx, str.NOOS_MSG
call fcn.1400383fc
lea rdx, str.NOOS_MSG
jmp 0x14000ce80
mov eax, edi
sub eax, 0x8f
je 0x14000cdaa
sub eax, 1
je 0x14000cd92
sub eax, 1
je 0x14000cd7a
sub eax, 1
je 0x14000cd62
sub eax, 1
je 0x14000cd4a
cmp eax, 1
jne 0x14000ce8c
lea rcx, str.UNSUPPORTED_OS
call fcn.1400383fc
lea rdx, str.UNSUPPORTED_OS
jmp 0x14000ce80
lea rcx, str.UNSUPPORTED_SP
call fcn.1400383fc
lea rdx, str.UNSUPPORTED_SP
jmp 0x14000ce80
lea rcx, str.UNSUPPORTED_IE
call fcn.1400383fc
lea rdx, str.UNSUPPORTED_IE
jmp 0x14000ce80
lea rcx, str.SELECTLANG
call fcn.1400383fc
lea rdx, str.SELECTLANG
jmp 0x14000ce80
lea rcx, str.REBOOT_MSG
call fcn.1400383fc
lea rdx, str.REBOOT_MSG
jmp 0x14000ce80
lea rcx, [0x14005c23c]
call fcn.1400383fc
lea rdx, [0x14005c23c]
jmp 0x14000ce80
lea rcx, str.ENGLISH_WITH_ARABIC_SUPPORT
call fcn.1400383fc
lea rdx, str.ENGLISH_WITH_ARABIC_SUPPORT
jmp 0x14000ce80
mov eax, edi
sub eax, 0x3ee
je 0x14000ce6d
sub eax, 1
je 0x14000ce58
sub eax, 4
je 0x14000ce43
sub eax, 1
je 0x14000ce2e
sub eax, 1
je 0x14000ce19
cmp eax, 1
jne 0x14000ce8c
lea rcx, str.MIG_INSTALL_FAILED_TEXT
call fcn.1400383fc
lea rdx, str.MIG_INSTALL_FAILED_TEXT
jmp 0x14000ce80
lea rcx, str.PATCH_INSTALL_DLG_TEXT
call fcn.1400383fc
lea rdx, str.PATCH_INSTALL_DLG_TEXT
jmp 0x14000ce80
lea rcx, str.PATCH_INSTALL_FAILURE_TEXT
call fcn.1400383fc
lea rdx, str.PATCH_INSTALL_FAILURE_TEXT
jmp 0x14000ce80
lea rcx, str.VCRT_INST_TITLE
call fcn.1400383fc
lea rdx, str.VCRT_INST_TITLE
jmp 0x14000ce80
lea rcx, str.FRENCH_MOROCCO
call fcn.1400383fc
lea rdx, str.FRENCH_MOROCCO
jmp 0x14000ce80
lea rcx, str.ENGLISH_WITH_HEBREW_SUPPORT
call fcn.1400383fc
lea rdx, str.ENGLISH_WITH_HEBREW_SUPPORT
mov r8d, eax
lea rcx, [rbp + 0x48]
call fcn.140001858
movzx ecx, si
cmp ecx, 0x12
ja 0x14000cffc
je 0x14000cff0
cmp ecx, 9
ja 0x14000cf79
je 0x14000cf6d
sub ecx, 1
je 0x14000cf3c
sub ecx, 1
je 0x14000cf30
mov edx, 2
sub ecx, edx
je 0x14000cf0c
sub ecx, 1
je 0x14000cf00
sub ecx, 1
je 0x14000cef4
sub ecx, 1
je 0x14000cee8
cmp ecx, 1
jne 0x14000cf6d
lea rbx, str.Greek
jmp 0x14000d0ec
lea rbx, str.German
jmp 0x14000d0ec
lea rbx, str.Danish
jmp 0x14000d0ec
lea rbx, str.Czech
jmp 0x14000d0ec
sub bx, dx
mov eax, 1
cmp bx, ax
lea rbx, str.ChineseTraditional
ja 0x14000d0ec
lea rbx, str.ChineseSimplified
jmp 0x14000d0ec
lea rbx, str.Bulgarian
jmp 0x14000d0ec
mov eax, 0x401
cmp ax, r14w
je 0x14000cf61
lea eax, [rdi - 0x3ed]
mov edx, 2
cmp eax, edx
lea rbx, str.English
jbe 0x14000d0ec
lea rbx, str.Arabic
jmp 0x14000d0ec
lea rbx, str.English
jmp 0x14000d0ec
sub ecx, 0xa
je 0x14000cfe4
sub ecx, 1
je 0x14000cfd8
sub ecx, 1
je 0x14000cfcc
sub ecx, 1
je 0x14000cfc0
sub ecx, 1
je 0x14000cfb4
sub ecx, 2
je 0x14000cfa8
cmp ecx, 1
jne 0x14000cf6d
lea rbx, str.Japanese
jmp 0x14000d0ec
lea rbx, str.Italian
jmp 0x14000d0ec
lea rbx, str.Hungarian
jmp 0x14000d0ec
lea rbx, str.Hebrew
jmp 0x14000d0ec
lea rbx, str.French
jmp 0x14000d0ec
lea rbx, str.Finnish
jmp 0x14000d0ec
lea rbx, str.Spanish
jmp 0x14000d0ec
lea rbx, str.Korean
jmp 0x14000d0ec
cmp ecx, 0x1b
ja 0x14000d085
je 0x14000d07c
sub ecx, 0x13
je 0x14000d073
sub ecx, 1
je 0x14000d06a
sub ecx, 1
je 0x14000d05e
sub ecx, 1
je 0x14000d052
sub ecx, 2
je 0x14000d046
sub ecx, 1
je 0x14000d03a
cmp ecx, 1
jne 0x14000cf6d
lea rbx, str.Croatian
jmp 0x14000d0ec
lea rbx, str.Russian
jmp 0x14000d0ec
lea rbx, str.Romanian
jmp 0x14000d0ec
lea rbx, str.Portuguese
jmp 0x14000d0ec
lea rbx, str.Polish
jmp 0x14000d0ec
lea rbx, str.Norwegian
jmp 0x14000d0ec
lea rbx, str.Dutch
jmp 0x14000d0ec
lea rbx, str.Slovak
jmp 0x14000d0ec
sub ecx, 0x1d
je 0x14000d0e5
mov edx, 2
sub ecx, edx
je 0x14000d0dc
sub ecx, 3
je 0x14000d0d3
sub ecx, edx
je 0x14000d0ca
sub ecx, 1
je 0x14000d0c1
sub ecx, 1
je 0x14000d0b8
cmp ecx, 1
jne 0x14000cf6d
lea rbx, str.Lithuanian
jmp 0x14000d0ec
lea rbx, str.Latvian
jmp 0x14000d0ec
lea rbx, str.Estonian
jmp 0x14000d0ec
lea rbx, str.Slovenian
jmp 0x14000d0ec
lea rbx, str.Ukrainian
jmp 0x14000d0ec
lea rbx, str.Turkish
jmp 0x14000d0ec
lea rbx, str.Swedish
mov rcx, rbx
call fcn.1400383fc
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140001858
lea rbx, [r13 + 0x218]
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jne 0x14000d11e
mov rcx, r13
call fcn.14000beec
mov rax, qword [rbx]
or esi, 0xffffffff
cmp dword [rax - 0x10], 0
je 0x14000d172
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.14000ca34
nop
mov rdx, rax
mov rcx, r15
call fcn.1400013f0
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000d172
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rax, qword [r15]
cmp dword [rax - 0x10], 0
jne 0x14000d196
mov ecx, edi
call fcn.14001291c
test rax, rax
je 0x14000d196
mov r8d, edi
mov rdx, rax
mov rcx, r15
call fcn.140001c60
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000d1bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000d1e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rax, r15
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001474
nop
mov ecx, 0x80004005
call fcn.140001474
nop
mov ecx, 0x80004005
call fcn.140001474
int3