Function at 0x1400e1c10
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 r15, r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx r14d, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov ebp, eax
movzx ebx, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x50], eax
call rsi
mov word [rsp + 0x4e], ax
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
mov qword [rsp + 0x30], r13
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, rsi
call fcn.1400e1f80
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, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e1ce7
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1ce7
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400e1e80
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
movzx eax, bp
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.1400e1f80
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, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e1d69
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1d69
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400e1e80
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
mov qword [rsp + 0x30], r13
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, rsi
call fcn.1400e1f80
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, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e1df0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1df0
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400e1e80
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
movzx eax, word [rsp + 0x4e]
mov qword [rsp + 0x30], r13
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, rsi
call fcn.1400e1f80
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, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e1f50
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1f50
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x1400e1f50
add r8d, 0xffffffff
movzx r9d, byte [r15 + 0x17]
test r9b, r9b
js 0x1400e1e9b
cmp r8d, 0xa
jbe 0x1400e1ede
mov edx, 0xa
jmp 0x1400e1eb6
movabs rdx, 0x7fffffffffffffff
and rdx, qword [r15 + 0x10]
add rdx, 0xffffffffffffffff
cmp rdx, r8
jae 0x1400e1ee8
mov r9, qword [r15 + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
sub r8, rdx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, r15
call fcn.14004b5c0
mov sil, 1
jmp 0x1400e1f52
mov rcx, r15
test r8, r8
jne 0x1400e1ef0
jmp 0x1400e1f30
mov rcx, qword [r15]
test r8, r8
je 0x1400e1f30
cmp rcx, rax
jae 0x1400e1f13
xor edx, edx
nop word [rax + rax]
movzx ebp, word [rax + rdx*2]
mov word [rcx + rdx*2], bp
add rdx, 1
cmp r8, rdx
jne 0x1400e1f00
jmp 0x1400e1f30
jbe 0x1400e1f30
mov rdx, r8
nop dword [rax + rax]
movzx ebp, word [rax + rdx*2 - 2]
mov word [rcx + rdx*2 - 2], bp
add rdx, 0xffffffffffffffff
jne 0x1400e1f20
mov word [rcx + r8*2], 0
cmp byte [r15 + 0x17], 0
js 0x1400e1f47
mov byte [r15 + 0x17], r8b
mov sil, 1
jmp 0x1400e1f52
mov qword [r15 + 8], r8
mov sil, 1
jmp 0x1400e1f52
xor esi, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret