Function at 0x140049410
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 qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140114c60
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140049710
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, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [rsp + 0x58]
test rdx, rdx
sete cl
mov r8d, dword [rsp + 0x54]
test r8d, r8d
sete r9b
or r9b, cl
or r9b, al
je 0x1400496ca
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140114c60
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140049710
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, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [rsp + 0x58]
test rdx, rdx
sete cl
mov r8d, dword [rsp + 0x54]
test r8d, r8d
sete r9b
or r9b, cl
or r9b, al
cmp r9b, 1
jne 0x1400496ca
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140114c60
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140049710
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, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [rsp + 0x58]
test rdx, rdx
sete cl
mov r8d, dword [rsp + 0x54]
test r8d, r8d
sete r9b
or r9b, cl
or r9b, al
cmp r9b, 1
jne 0x1400496ca
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140114c60
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x30], rbx
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, r14
call fcn.140049710
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, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
mov rdx, qword [rsp + 0x58]
test rdx, rdx
sete cl
mov r8d, dword [rsp + 0x54]
test r8d, r8d
sete r9b
or r9b, cl
or r9b, al
cmp r9b, 1
jne 0x1400496ca
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
je 0x1400496ed
call fcn.1400e0180
int3
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.140049850
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x1400496c4
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret