Function at 0x140161df2
Capabilities:
Identify system language via api

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rsi, rdx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x158], rax
call fcn.14007d470
mov rbx, rax
mov r8d, dword [rax + 4]
mov r9d, dword [rax + 8]
mov edi, dword [rax + 0xc]
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x140]
mov qword [rcx + 0x10], r14
movaps xmm6, xmmword [0x140257270]
movaps xmmword [rcx], xmm6
lea rdx, str._i._i
call fcn.140070f80
mov qword [rsp + 0x130], r14
movaps xmmword [rsp + 0x120], xmm6
movzx r8d, byte [rbx + 0x4f]
test r8b, r8b
jns 0x140161e7a
mov rax, qword [rbx + 0x40]
jmp 0x140161e7d
mov rax, r8
test rax, rax
jne 0x1401622ad
lea rdx, str._i_s
lea r9, [0x140257ad2]
lea rcx, [rsp + 0x120]
mov r8d, edi
call fcn.140070f80
mov qword [rsp + 0x110], r14
movaps xmmword [rsp + 0x100], xmm6
call fcn.1400b4dc0
mov qword [rsp + 0x110], r14
movaps xmmword [rsp + 0x100], xmm6
xor ecx, ecx
mov byte [rsp + 0x117], cl
mov byte [rsp + 0x100], cl
cmp eax, 2
ja 0x140161ef8
cdqe
lea rcx, [0x140259b58]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x100]
call fcn.1400a7e24
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 rbx, [rsp + 0x60]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm0
mov qword [rsp + 0x20], rbx
call fcn.140166398
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, eax
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 0x14
movaps xmm0, xmmword [str.OSVersionInformation]
movaps xmmword [rbx], xmm0
mov dword [rbx + 0x10], 0x6e6f6974
mov byte [rbx + 0x14], 0
mov rcx, rsi
mov rdx, rbx
call fcn.14015e408
cmp byte [rbx + 0x17], 0
jns 0x140161f92
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 0x10
movaps xmm0, xmmword [str.WindowsNTVersion]
movaps xmmword [rbx], xmm0
mov byte [rbx + 0x10], 0
lea r8, [rsp + 0x140]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x140161fcc
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 5
mov dword [rbx], 0x6c697542
mov word [rbx + 4], 0x64
lea r8, [rsp + 0x120]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x140162004
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 7
mov dword [rbx], 0x646f7250
mov dword [rbx + 3], 0x74637564
mov byte [rbx + 7], 0
lea r8, [rsp + 0xe0]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x140162041
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 7
mov dword [rbx], 0x74696445
mov dword [rbx + 3], 0x6e6f6974
mov byte [rbx + 7], 0
lea r8, [rsp + 0xc0]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x14016207e
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 0xb
movabs rax, 0x727453646c697542
mov qword [rbx], rax
mov dword [rbx + 7], 0x676e6972
mov byte [rbx + 0xb], 0
lea r8, [rsp + 0xa0]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x1401620c2
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 8
movabs rax, 0x6e6f697369766552
mov qword [rbx], rax
mov byte [rbx + 8], 0
lea r8, [rsp + 0x80]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x1401620ff
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 6
mov dword [rbx], 0x76616c46
mov word [rbx + 4], 0x726f
mov byte [rbx + 6], 0
lea r8, [rsp + 0x60]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x140162138
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
lea rbx, [rsp + 0x40]
mov byte [rbx + 0x17], 0xc
movabs rax, 0x6365746968637241
mov qword [rbx], rax
mov dword [rbx + 8], 0x65727574
mov byte [rbx + 0xc], 0
lea r8, [rsp + 0x100]
mov rcx, rsi
mov rdx, rbx
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x14016217c
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
movzx edx, di
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140098fa2
lea rbx, [rsp + 0x28]
mov byte [rbx + 0x17], 4
mov dword [rbx], 0x4449434c
mov byte [rbx + 4], 0
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140162fb2
cmp byte [rbx + 0x17], 0
jns 0x1401621bd
mov rcx, qword [rsp + 0x28]
call fcn.1400c9cac
cmp byte [rsp + 0x57], 0
jns 0x1401621ce
mov rcx, qword [rsp + 0x40]
call fcn.1400c9cac
mov rcx, rsi
call fcn.140160046
cmp byte [rsp + 0x77], 0
jns 0x1401621e7
mov rcx, qword [rsp + 0x60]
call fcn.1400c9cac
cmp byte [rsp + 0x97], 0
jns 0x1401621fe
mov rcx, qword [rsp + 0x80]
call fcn.1400c9cac
cmp byte [rsp + 0xb7], 0
jns 0x140162215
mov rcx, qword [rsp + 0xa0]
call fcn.1400c9cac
cmp byte [rsp + 0xd7], 0
jns 0x14016222c
mov rcx, qword [rsp + 0xc0]
call fcn.1400c9cac
cmp byte [rsp + 0xf7], 0
jns 0x140162243
mov rcx, qword [rsp + 0xe0]
call fcn.1400c9cac
cmp byte [rsp + 0x117], 0
jns 0x14016225a
mov rcx, qword [rsp + 0x100]
call fcn.1400c9cac
cmp byte [rsp + 0x137], 0
jns 0x140162271
mov rcx, qword [rsp + 0x120]
call fcn.1400c9cac
cmp byte [rsp + 0x157], 0
jns 0x140162288
mov rcx, qword [rsp + 0x140]
call fcn.1400c9cac
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400ccfe0
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r14
ret
mov byte [rsp + 0xf7], 1
mov word [rsp + 0xe0], 0x20
test r8b, r8b
jns 0x1401622ce
mov r8, qword [rbx + 0x40]
mov rbx, qword [rbx + 0x38]
jmp 0x1401622d2
add rbx, 0x38
lea rcx, [rsp + 0xe0]
mov rdx, rbx
call fcn.140075026
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
jns 0x14016231b
mov r9, qword [rsp + 0x100]
jmp 0x140162323
lea r9, [rsp + 0x100]
lea rdx, str._i_s
lea rcx, [rsp + 0x120]
mov r8d, edi
call fcn.140070f80
cmp byte [rsp + 0x117], 0
jns 0x140162351
mov rcx, qword [rsp + 0x100]
call fcn.1400c9cac
cmp byte [rsp + 0xf7], 0
jns 0x140161ea4
mov rcx, qword [rsp + 0xe0]
call fcn.1400c9cac
jmp 0x140161ea4