Function at 0x14005e2e0
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, 0x268
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14022c040]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp byte [r8 + 0x17], 0
js 0x14005e4ad
mov word [rsi], 0
mov byte [rsi + 0x17], 0
test rdi, rdi
je 0x14005e493
lea r8, [rsp + 0x50]
mov qword [r8], 0
lea r9, [rsp + 0x48]
mov dword [r9], 0
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005e493
lea r15, [rsp + 0x50]
mov rax, qword [r15]
movzx r13d, word [rax]
movzx ebp, word [rax + 2]
mov r12, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r12
mov r14d, eax
call r12
mov word [rsp + 0x42], ax
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.14016a6d0
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14005e39b
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r13d
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140054bb0
lea r12, [rsp + 0x48]
mov qword [r12], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, rdi
mov rdx, r15
mov r8, r12
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [r12]
test rdx, rdx
sete cl
or cl, al
cmp cl, 1
jne 0x14005e48b
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.14016a6d0
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14005e425
mov rax, qword [rbx]
movzx ecx, r14w
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ecx
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140054bb0
lea r14, [rsp + 0x48]
mov qword [r14], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, rdi
mov rdx, r15
mov r8, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [r14]
test rdx, rdx
sete cl
or cl, al
cmp cl, 1
je 0x14005e4d6
mov rcx, rsi
call fcn.1400396a0
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
cmp rcx, qword [0x14022c040]
je 0x14005e4c2
call fcn.1401363f0
int3
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
jmp 0x14005e322
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14016a6d0
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14005e4f7
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140054bb0
lea r15, [rsp + 0x48]
mov qword [r15], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, rdi
mov rdx, r14
mov r8, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [r15]
test rdx, rdx
sete cl
or cl, al
cmp cl, 1
jne 0x14005e48b
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14016a6d0
cmp byte [rbx + 0x17], 0
jns 0x14005e580
mov rbx, qword [rbx]
movzx eax, word [rsp + 0x42]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140054bb0
lea rbx, [rsp + 0x48]
mov qword [rbx], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [rbx]
test rdx, rdx
sete cl
or cl, al
cmp cl, 1
je 0x14005e493
jmp 0x14005e48b