Function at 0x1400de140
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 [0x14019c018]
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.140138090
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.1400de4b0
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 0x1400de217
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400de217
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400de3b0
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140138090
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.1400de4b0
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 0x1400de299
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400de299
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400de3b0
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140138090
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.1400de4b0
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 0x1400de320
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400de320
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400de3b0
lea rsi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140138090
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.1400de4b0
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 0x1400de480
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400de480
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x1400de480
add r8d, 0xffffffff
movzx r9d, byte [r15 + 0x17]
test r9b, r9b
js 0x1400de3cb
cmp r8d, 0xa
jbe 0x1400de40e
mov edx, 0xa
jmp 0x1400de3e6
movabs rdx, 0x7fffffffffffffff
and rdx, qword [r15 + 0x10]
add rdx, 0xffffffffffffffff
cmp rdx, r8
jae 0x1400de418
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.14004b3a0
mov sil, 1
jmp 0x1400de482
mov rcx, r15
test r8, r8
jne 0x1400de420
jmp 0x1400de460
mov rcx, qword [r15]
test r8, r8
je 0x1400de460
cmp rcx, rax
jae 0x1400de443
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 0x1400de430
jmp 0x1400de460
jbe 0x1400de460
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 0x1400de450
mov word [rcx + r8*2], 0
cmp byte [r15 + 0x17], 0
js 0x1400de477
mov byte [r15 + 0x17], r8b
mov sil, 1
jmp 0x1400de482
mov qword [r15 + 8], r8
mov sil, 1
jmp 0x1400de482
xor esi, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140135280
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret