Function at 0x14004ed60
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 9], rcx
xor r15d, r15d
mov dword [rbp - 0x39], r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
mov dword [rbp - 0x39], 1
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
cmp qword [rdx + 0x18], 8
jb 0x14004edd3
mov rdx, qword [rdx]
lea r8, [rbp + 0xf]
mov ecx, 1
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov esi, eax
test eax, eax
je 0x14004ef79
mov edx, esi
lea r8, [rbp + 0x17]
lea rcx, [rbp + 0x17]
call fcn.14002bef0
cmp qword [rdi + 0x18], 8
jb 0x14004ee05
mov rdi, qword [rdi]
mov rax, qword [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, rdi
lea ecx, [r8 + 1]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
je 0x14004ef79
mov qword [rbp + 7], r15
lea r9, [rbp - 1]
lea r8, [rbp + 7]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14004eeb7
mov rax, qword [rbp + 7]
test rax, rax
je 0x14004eebb
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp - 1]
mov r8, rax
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x31]
call fcn.14004e9b0
mov rdx, rax
mov rcx, rbx
call fcn.14001c770
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14004eeb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eeb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004efdb
call fcn.140148ec0
mov rax, qword [rbp + 7]
cmp qword [rbx + 0x10], 0
jne 0x14004ef79
test rax, rax
je 0x14004eee1
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
mov rax, qword [rbp + 7]
cmp word [rax], cx
je 0x14004ef79
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rbp + 0xf], ax
mov eax, 0x4b0
mov word [rbp + 0x11], ax
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp - 1]
lea r8, [rbp + 0xf]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x31]
call fcn.14004e9b0
mov rdi, rax
cmp rbx, rax
je 0x14004ef3c
mov rcx, rbx
call fcn.14001fb60
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14004ef79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ef73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004efe1
call fcn.140148ec0
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14004efaf
mov rdx, qword [rbp + 0x27]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004efaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004efd5
call fcn.140148ec0
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140149290
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14016ae5c
nop
call fcn.14016ae5c
int3
call fcn.14016ae5c
int3