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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4283fd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x438348]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4143c3
push eax
call fcn.0041512b
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4143c3
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 4], 0
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4143d9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x42a7dc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414184
cmp dword [ebp - 0x14], 0x34
jne 0x4143c3
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [esi + 4], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x14], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x24], xmm0
mov eax, dword [eax + 0x30]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x42e378
push edi
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x18], 0
call edi
mov ecx, dword [ebp + 8]
movzx edx, ax
mov eax, dword [ebp - 0x14]
add eax, ecx
cmp ecx, eax
jae 0x4141c1
cmp word [ecx], dx
je 0x414217
add ecx, 4
cmp ecx, eax
jb 0x4141b5
push 1
lea eax, [ebp - 0x18]
push eax
call edi
movzx eax, ax
mov ecx, esi
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00414450
test eax, eax
jne 0x41421b
push 1
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00414450
test eax, eax
jne 0x41421b
push 1
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push 9
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00414450
test eax, eax
jne 0x41421b
mov eax, dword [ebp + 8]
mov edi, dword [eax]
jmp 0x41421e
mov edi, dword [ecx]
jmp 0x41421e
mov edi, dword [ebp - 0x18]
call fcn.00403a60
mov ecx, eax
test ecx, ecx
je 0x4143ee
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, edi
mov byte [ebp - 4], 1
shr eax, 0x10
push eax
movzx eax, di
push eax
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
call fcn.0040ab40
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x42e3e0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00409ac0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
push ecx
push dword [eax]
push dword [ebp - 0x20]
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov dword [ebp - 0x2c], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4142a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x414372
mov edi, dword [ebp + 8]
call fcn.00403a60
mov ecx, eax
test ecx, ecx
je 0x4143f8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x414301
test edi, 0xffff0000
jne 0x4142e8
movzx eax, di
lea ecx, [ebp - 0x18]
push eax
call fcn.00403fc0
jmp 0x41430d
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142f0
sub ecx, edx
sar ecx, 1
jmp 0x414303
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.00404080
mov eax, dword [ebp - 0x18]
lea edi, [esi + 0x38]
mov esi, dword [edi]
sub esi, 0x10
mov byte [ebp - 4], 3
lea edx, [eax - 0x10]
cmp edx, esi
je 0x414367
cmp dword [esi + 0xc], 0
jl 0x41435c
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x41435c
push edx
call fcn.00405dd0
add esp, 4
mov dword [ebp - 0x2c], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414355
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [edi], eax
jmp 0x414367
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00404080
lea ecx, [ebp - 0x18]
call fcn.00403d80
or edi, 0xffffffff
push dword [ebp - 0x20]
call fcn.00414f30
mov edx, dword [ebp - 0x1c]
add esp, 4
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x414399
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4367f4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
call fcn.00415d07
push 0x80004005
call fcn.004037a0
push 0x80004005
call fcn.004037a0
int3