Function at 0x140040e80
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 [0x140200d38]
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 0x140040ef3
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 0x140041099
mov edx, esi
lea r8, [rbp + 0x17]
lea rcx, [rbp + 0x17]
call fcn.140021af0
cmp qword [rdi + 0x18], 8
jb 0x140040f25
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 0x140041099
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 0x140040fd7
mov rax, qword [rbp + 7]
test rax, rax
je 0x140040fdb
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp - 1]
mov r8, rax
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x31]
call fcn.140040ad0
mov rdx, rax
mov rcx, rbx
call fcn.14001bb00
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140040fd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400410fb
call fcn.1401218ec
mov rax, qword [rbp + 7]
cmp qword [rbx + 0x10], 0
jne 0x140041099
test rax, rax
je 0x140041001
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
mov rax, qword [rbp + 7]
cmp word [rax], cx
je 0x140041099
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.140040ad0
mov rdi, rax
cmp rbx, rax
je 0x14004105c
mov rcx, rbx
call fcn.1400151d0
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 0x140041099
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041101
call fcn.1401218ec
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400410cf
mov rdx, qword [rbp + 0x27]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400410ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400410f5
call fcn.1401218ec
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140121cc0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401431fc
nop
call fcn.1401431fc
int3
call fcn.1401431fc
int3