Function at 0x4450fd
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x2bc
lea ebp, [esp - 4]
mov eax, dword [0x7bb3e8]
xor eax, ebp
mov dword [ebp + 0x2bc], eax
push 0x38
mov eax, 0x6ac54f
call fcn.00652366
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.00442f2b
lea ecx, [ebp + 0x84]
mov dword [ebp - 4], edi
call fcn.00442f2b
add esi, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x44515c
mov eax, dword [esi]
jmp 0x44515e
mov eax, esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x4451a0
push 0x6da56c
lea ecx, [ebp + 0xa0]
call fcn.00442ebe
mov byte [ebp - 4], 2
push edi
lea eax, [ebp + 0xa0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00453afb
push 0x7625d4
lea eax, [ebp + 0x1c]
push eax
call fcn.0066a234
push ebx
lea ecx, [ebp - 0x34]
call fcn.00444327
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x4451b5
mov esi, dword [esi]
push dword [ebp - 0x34]
push ebx
push edi
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4451da
push str.GetFileVersionInfo_failed
lea ecx, [ebp + 0xa0]
call fcn.00442ebe
mov byte [ebp - 4], 4
jmp 0x445182
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 0x4451fd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x445200
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.00444272
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 0x445286
mov eax, dword [ebp - 0x10]
mov esi, edi
cmp word [eax], di
je 0x445286
cmp esi, dword [ebp - 0x1c]
jae 0x445286
lea ecx, [eax + esi*2]
mov edx, 0x3bc
movzx eax, word [ecx]
cmp ax, dx
je 0x445268
mov edx, 0xb5
cmp ax, dx
je 0x445268
push ecx
jmp 0x445273
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 0x445246
movzx eax, word [ebp - 0x12]
push eax
push ebx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp + 0xbc]
push 0x100
push eax
call fcn.00444272
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 0x4452f4
push dword [ebp - 0x24]
lea ecx, [ebp + 0xa0]
call fcn.00442f07
mov byte [ebp - 4], 5
test eax, eax
je 0x4452d9
lea edi, [eax + 4]
push edi
lea ecx, [ebp + 0x88]
call fcn.00428217
lea ecx, [ebp + 0xa0]
mov byte [ebp - 4], 3
call fcn.00442f8c
mov esi, dword [ebp - 0x28]
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.004442bc
lea ecx, [ebp - 0x34]
call fcn.0060d827
lea ecx, [ebp + 0x84]
call fcn.00442f8c
lea ecx, [ebp]
call fcn.00442f8c
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.0065231e
lea esp, [ebp + 0x2c0]
pop ebp
ret 8