Function at 0x14010a000
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov r13, r8
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx r14d, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov rbp, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rbp
mov ebx, eax
movzx esi, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x50], eax
call rbp
mov word [rsp + 0x4e], ax
lea rbp, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.140259320
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14010a350
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14010a0d5
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14010a0d5
mov ebp, dword [rsp + 0x54]
test ebp, ebp
jne 0x14010a268
lea rbp, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.140259320
movzx eax, bx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14010a350
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14010a155
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14010a155
mov ebp, dword [rsp + 0x54]
test ebp, ebp
jne 0x14010a268
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140259320
mov qword [rsp + 0x30], r15
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbx
call fcn.14010a350
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14010a1da
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14010a1da
mov ebp, dword [rsp + 0x54]
test ebp, ebp
jne 0x14010a268
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140259320
movzx eax, word [rsp + 0x4e]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbx
call fcn.14010a350
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14010a31f
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14010a31f
mov ebp, dword [rsp + 0x54]
test ebp, ebp
je 0x14010a31f
dec ebp
movzx r9d, byte [r13 + 0x17]
test r9b, r9b
js 0x14010a283
mov rdi, r13
cmp ebp, 0xa
jbe 0x14010a2cc
mov eax, 0xa
jmp 0x14010a29d
movabs rax, 0x7fffffffffffffff
and rax, qword [r13 + 0x10]
dec rax
cmp rax, rbp
jae 0x14010a2c8
mov r9, qword [r13 + 8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbp
sub rbp, rax
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, rax
mov r8, rbp
call fcn.1401024b0
jmp 0x14010a2f6
mov rdi, qword [r13]
mov r8, rbp
add r8, rbp
mov rcx, rdi
call fcn.140258c70
cmp byte [r13 + 0x17], 0
js 0x14010a2ec
cmp ebp, 0xb
jae 0x14010a323
mov byte [r13 + 0x17], bpl
jmp 0x14010a2f0
mov qword [r13 + 8], rbp
mov word [rdi + rbp*2], 0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x14010a2f9
lea rax, str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s_____min_cap
mov r8d, 0x629
call fcn.14004f520
int3