Function at 0x449c39
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x2bc
lea ebp, [esp - 4]
mov eax, dword [0x7a6168]
xor eax, ebp
mov dword [ebp + 0x2bc], eax
push 0x38
mov eax, 0x69e041
call fcn.00640806
mov eax, dword [ebp + 0x2c8]
lea ecx, [ebp]
mov esi, dword [ebp + 0x2cc]
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edi
call fcn.00447acd
lea ecx, [ebp + 0x84]
mov dword [ebp - 4], edi
call fcn.00447acd
add esi, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x449c98
mov eax, dword [esi]
jmp 0x449c9a
mov eax, esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x449cdc
push 0x6ca800
lea ecx, [ebp + 0xa0]
call fcn.00447a60
mov byte [ebp - 4], 2
push edi
lea eax, [ebp + 0xa0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004576c2
push 0x7509e4
lea eax, [ebp + 0x1c]
push eax
call fcn.006586e4
push ebx
lea ecx, [ebp - 0x34]
call fcn.00448e78
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x449cf1
mov esi, dword [esi]
push dword [ebp - 0x34]
push ebx
push edi
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x449d16
push str.GetFileVersionInfo_failed
lea ecx, [ebp + 0xa0]
call fcn.00447a60
mov byte [ebp - 4], 4
jmp 0x449cbe
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x34]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449d39
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x449d3c
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.00448dc3
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xbc]
push eax
push dword [ebp - 0x34]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449dc2
mov eax, dword [ebp - 0x10]
mov esi, edi
cmp word [eax], di
je 0x449dc2
cmp esi, dword [ebp - 0x1c]
jae 0x449dc2
lea ecx, [eax + esi*2]
mov edx, 0x3bc
movzx eax, word [ecx]
cmp ax, dx
je 0x449da4
mov edx, 0xb5
cmp ax, dx
je 0x449da4
push ecx
jmp 0x449daf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x75
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
inc esi
cmp word [eax + esi*2], di
jne 0x449d82
movzx eax, word [ebp - 0x12]
push eax
push ebx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp + 0xbc]
push 0x100
push eax
call fcn.00448dc3
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xbc]
push eax
push dword [ebp - 0x34]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449e30
push dword [ebp - 0x24]
lea ecx, [ebp + 0xa0]
call fcn.00447aa9
mov byte [ebp - 4], 5
test eax, eax
je 0x449e15
lea edi, [eax + 4]
push edi
lea ecx, [ebp + 0x88]
call fcn.00427cb3
lea ecx, [ebp + 0xa0]
mov byte [ebp - 4], 3
call fcn.00447b2e
mov esi, dword [ebp - 0x28]
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.00448e0d
lea ecx, [ebp - 0x34]
call fcn.00450d5f
lea ecx, [ebp + 0x84]
call fcn.00447b2e
lea ecx, [ebp]
call fcn.00447b2e
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.006407be
lea esp, [ebp + 0x2c0]
pop ebp
ret 8