Function at 0x463b36
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x2c0]
sub esp, 0x2c0
push 0xffffffffffffffff
push 0x6d1b1f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7df5fc]
xor eax, ebp
mov dword [ebp + 0x2bc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2c8]
lea ecx, [ebp]
mov ebx, dword [ebp + 0x2cc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
call fcn.00462554
xor edi, edi
lea ecx, [ebp + 0x84]
mov dword [ebp - 4], edi
call fcn.00462554
add ebx, 4
mov byte [ebp - 4], 1
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x463baa
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x463db8
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.00463e14
mov edi, dword [ebp - 0x24]
add esi, edi
push esi
push edi
call fcn.0045e9f5
mov dword [ebp - 0x20], esi
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 3
jb 0x463bee
mov ebx, dword [ebx]
push edi
push dword [ebp - 0x10]
xor esi, esi
push esi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x463c19
push str.GetFileVersionInfo_failed
lea ecx, [ebp + 0xa0]
call fcn.004624ef
mov byte [ebp - 4], 4
push esi
jmp 0x463dcd
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463c3a
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x463c3d
mov eax, dword [ebp - 0x14]
movzx ebx, ax
shr eax, 0x10
push eax
push ebx
push str.StringFileInfo_04x_04xProductName
lea eax, [ebp + 0xbc]
push 0x100
push eax
call fcn.00463680
add esp, 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xbc]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463cc3
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp word [eax], cx
je 0x463cc3
cmp esi, dword [ebp - 0x2c]
jae 0x463cc3
lea ecx, [eax + esi*2]
mov edx, 0x3bc
movzx eax, word [ecx]
cmp ax, dx
je 0x463ca3
mov edx, 0xb5
cmp ax, dx
je 0x463ca3
push ecx
jmp 0x463cae
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x75
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
inc esi
xor ecx, ecx
cmp word [eax + esi*2], cx
jne 0x463c81
movzx eax, word [ebp - 0x12]
push eax
push ebx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp + 0xbc]
push 0x100
push eax
call fcn.00463680
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0xbc]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x463d2b
push dword [ebp - 0x30]
lea ecx, [ebp + 0xa0]
call fcn.00462532
add eax, 4
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 0x88]
call fcn.004480a2
lea ecx, [ebp + 0xa0]
mov byte [ebp - 4], 3
call fcn.00462599
mov esi, dword [ebp - 0x34]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00462450
lea eax, [ebp + 0x84]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x1c]
call fcn.00462450
test edi, edi
je 0x463d7e
mov eax, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x463d75
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push eax
push edi
call fcn.0068976d
pop ecx
pop ecx
lea ecx, [ebp + 0x84]
call fcn.00462599
lea ecx, [ebp]
call fcn.00462599
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2bc]
xor ecx, ebp
call fcn.00689f2f
add ebp, 0x2c0
leave
ret 8
push str.GetFileVersionInfoSize_failed
lea ecx, [ebp + 0xa0]
call fcn.004624ef
mov byte [ebp - 4], 2
push edi
lea eax, [ebp + 0xa0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0046a9e9
push 0x78aac8
lea eax, [ebp + 0x1c]
push eax
call fcn.0068b1d5
int3