Function at 0x1400e18d0
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 [0x14019d018]
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.140139be0
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.1400e1c40
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 0x1400e19a7
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e19a7
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400e1b40
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139be0
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.1400e1c40
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 0x1400e1a29
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1a29
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400e1b40
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139be0
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.1400e1c40
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 0x1400e1ab0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1ab0
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400e1b40
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139be0
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.1400e1c40
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 0x1400e1c10
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400e1c10
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x1400e1c10
add r8d, 0xffffffff
movzx r9d, byte [r15 + 0x17]
test r9b, r9b
js 0x1400e1b5b
cmp r8d, 0xa
jbe 0x1400e1b9e
mov edx, 0xa
jmp 0x1400e1b76
movabs rdx, 0x7fffffffffffffff
and rdx, qword [r15 + 0x10]
add rdx, 0xffffffffffffffff
cmp rdx, r8
jae 0x1400e1ba8
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.14004b4f0
mov sil, 1
jmp 0x1400e1c12
mov rcx, r15
test r8, r8
jne 0x1400e1bb0
jmp 0x1400e1bf0
mov rcx, qword [r15]
test r8, r8
je 0x1400e1bf0
cmp rcx, rax
jae 0x1400e1bd3
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 0x1400e1bc0
jmp 0x1400e1bf0
jbe 0x1400e1bf0
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 0x1400e1be0
mov word [rcx + r8*2], 0
cmp byte [r15 + 0x17], 0
js 0x1400e1c07
mov byte [r15 + 0x17], r8b
mov sil, 1
jmp 0x1400e1c12
mov qword [r15 + 8], r8
mov sil, 1
jmp 0x1400e1c12
xor esi, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret