Function at 0x14021e198
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x170
movaps xmmword [rsp + 0x160], xmm6
mov rsi, rdx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x158], rax
call fcn.14012ba60
mov rbx, rax
mov r8d, dword [rax + 4]
mov r9d, dword [rax + 8]
mov edi, dword [rax + 0xc]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x140]
mov qword [rcx + 0x10], r15
movaps xmm6, xmmword [0x1402fccc0]
movaps xmmword [rcx], xmm6
lea rdx, str._i._i
call fcn.1400c5fa0
mov qword [rsp + 0x130], r15
movaps xmmword [rsp + 0x120], xmm6
movzx eax, byte [rbx + 0x4f]
test al, al
jns 0x14021e21e
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14021e2f3
lea rdx, [0x140304b33]
lea r14, [rsp + 0xe0]
mov r8d, 1
mov rcx, r14
call fcn.1400e9f8e
movzx r8d, byte [rbx + 0x4f]
test r8b, r8b
js 0x14021e258
add rbx, 0x38
and r8d, 0x7f
jmp 0x14021e260
mov r8, qword [rbx + 0x40]
mov rbx, qword [rbx + 0x38]
mov rcx, r14
mov rdx, rbx
call fcn.1400bf918
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x110], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x100], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
cmp byte [rsp + 0x117], 0
js 0x14021e2a4
lea r9, [rsp + 0x100]
jmp 0x14021e2ac
mov r9, qword [rsp + 0x100]
lea rdx, str._i_s
lea rcx, [rsp + 0x120]
mov r8d, edi
call fcn.1400c5fa0
cmp byte [rsp + 0x117], 0
jns 0x14021e2da
mov rcx, qword [rsp + 0x100]
call fcn.140153bcc
cmp byte [rsp + 0xf7], 0
jns 0x14021e311
mov rcx, qword [rsp + 0xe0]
call fcn.140153bcc
jmp 0x14021e311
lea rdx, str._i_s
lea r9, [0x140304344]
lea rcx, [rsp + 0x120]
mov r8d, edi
call fcn.1400c5fa0
call fcn.140133740
mov qword [rsp + 0x110], r15
movaps xmmword [rsp + 0x100], xmm6
xor ecx, ecx
mov byte [rsp + 0x117], cl
mov byte [rsp + 0x100], cl
cmp eax, 2
je 0x14021e359
cmp eax, 1
je 0x14021e376
test eax, eax
jne 0x14021e389
mov byte [rsp + 0x117], 3
mov dword [rsp + 0x100], 0x363858
jmp 0x14021e389
mov byte [rsp + 0x117], 4
mov dword [rsp + 0x100], 0x34364149
mov byte [rsp + 0x104], 0
jmp 0x14021e389
mov byte [rsp + 0x117], 3
mov dword [rsp + 0x100], 0x343658
xorps xmm0, xmm0
lea rcx, [rsp + 0xe0]
movaps xmmword [rcx], xmm0
xor eax, eax
mov qword [rcx + 0x10], rax
lea rdx, [rsp + 0xc0]
mov qword [rdx + 0x10], rax
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0xa0]
mov qword [r8 + 0x10], rax
movaps xmmword [r8], xmm0
lea r9, [rsp + 0x80]
mov qword [r9 + 0x10], rax
movaps xmmword [r9], xmm0
lea r10, [rsp + 0x60]
mov qword [r10 + 0x10], rax
movaps xmmword [r10], xmm0
mov qword [rsp + 0x20], r10
call fcn.14021e740
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, eax
lea rdx, str.OSVersionInformation
lea rbx, [rsp + 0x48]
mov r8d, 0x14
mov rcx, rbx
call fcn.1400e9f8e
mov rcx, rsi
mov rdx, rbx
call fcn.140086436
cmp byte [rbx + 0x17], 0
jns 0x14021e420
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.WindowsNTVersion
lea rbx, [rsp + 0x48]
mov r8d, 0x10
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0x140]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e45d
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.Build
lea rbx, [rsp + 0x48]
mov r8d, 5
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0x120]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e49a
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.Product
lea rbx, [rsp + 0x48]
mov r8d, 7
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0xe0]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e4d7
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.Edition
lea rbx, [rsp + 0x48]
mov r8d, 7
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0xc0]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e514
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.BuildString
lea rbx, [rsp + 0x48]
mov r8d, 0xb
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0xa0]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e551
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.Revision
lea rbx, [rsp + 0x48]
mov r8d, 8
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0x80]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e58e
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.Flavor
lea rbx, [rsp + 0x48]
mov r8d, 6
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0x60]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e5c8
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
lea rdx, str.Architecture
lea rbx, [rsp + 0x48]
mov r8d, 0xc
mov rcx, rbx
call fcn.1400e9f8e
lea r8, [rsp + 0x100]
mov rcx, rsi
mov rdx, rbx
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e605
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
movzx edx, di
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.1400c8a47
lea rdx, str.LCID
lea rbx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.1400e9f8e
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.14024dcb6
cmp byte [rbx + 0x17], 0
jns 0x14021e64d
mov rcx, qword [rsp + 0x30]
call fcn.140153bcc
cmp byte [rsp + 0x5f], 0
jns 0x14021e65e
mov rcx, qword [rsp + 0x48]
call fcn.140153bcc
mov rcx, rsi
call fcn.1400863f6
cmp byte [rsp + 0x77], 0
jns 0x14021e677
mov rcx, qword [rsp + 0x60]
call fcn.140153bcc
cmp byte [rsp + 0x97], 0
jns 0x14021e68e
mov rcx, qword [rsp + 0x80]
call fcn.140153bcc
cmp byte [rsp + 0xb7], 0
jns 0x14021e6a5
mov rcx, qword [rsp + 0xa0]
call fcn.140153bcc
cmp byte [rsp + 0xd7], 0
jns 0x14021e6bc
mov rcx, qword [rsp + 0xc0]
call fcn.140153bcc
cmp byte [rsp + 0xf7], 0
jns 0x14021e6d3
mov rcx, qword [rsp + 0xe0]
call fcn.140153bcc
cmp byte [rsp + 0x117], 0
jns 0x14021e6ea
mov rcx, qword [rsp + 0x100]
call fcn.140153bcc
cmp byte [rsp + 0x137], 0
jns 0x14021e701
mov rcx, qword [rsp + 0x120]
call fcn.140153bcc
cmp byte [rsp + 0x157], 0
jns 0x14021e718
mov rcx, qword [rsp + 0x140]
call fcn.140153bcc
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140156fe0
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret