Function at 0x445cf5
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x2c0]
sub esp, 0x2c0
push 0xffffffffffffffff
push 0x6a987f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7b03fc]
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.00444578
xor edi, edi
lea ecx, [ebp + 0x84]
mov dword [ebp - 4], edi
call fcn.00444578
add ebx, 4
mov byte [ebp - 4], 1
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x445d69
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 0x445f77
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.00445fd3
mov edi, dword [ebp - 0x24]
add esi, edi
push esi
push edi
call fcn.00440685
mov dword [ebp - 0x20], esi
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 3
jb 0x445dad
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 0x445dd8
push str.GetFileVersionInfo_failed
lea ecx, [ebp + 0xa0]
call fcn.00444513
mov byte [ebp - 4], 4
push esi
jmp 0x445f8c
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 0x445df9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x445dfc
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.0044572f
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 0x445e82
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp word [eax], cx
je 0x445e82
cmp esi, dword [ebp - 0x2c]
jae 0x445e82
lea ecx, [eax + esi*2]
mov edx, 0x3bc
movzx eax, word [ecx]
cmp ax, dx
je 0x445e62
mov edx, 0xb5
cmp ax, dx
je 0x445e62
push ecx
jmp 0x445e6d
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 0x445e40
movzx eax, word [ebp - 0x12]
push eax
push ebx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp + 0xbc]
push 0x100
push eax
call fcn.0044572f
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 0x445eea
push dword [ebp - 0x30]
lea ecx, [ebp + 0xa0]
call fcn.00444556
add eax, 4
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 0x88]
call fcn.00427946
lea ecx, [ebp + 0xa0]
mov byte [ebp - 4], 3
call fcn.004445f4
mov esi, dword [ebp - 0x34]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00444474
lea eax, [ebp + 0x84]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x1c]
call fcn.00444474
test edi, edi
je 0x445f3d
mov eax, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x445f34
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push eax
push edi
call fcn.006643a9
pop ecx
pop ecx
lea ecx, [ebp + 0x84]
call fcn.004445f4
lea ecx, [ebp]
call fcn.004445f4
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.00664b5f
add ebp, 0x2c0
leave
ret 8
push str.GetFileVersionInfoSize_failed
lea ecx, [ebp + 0xa0]
call fcn.00444513
mov byte [ebp - 4], 2
push edi
lea eax, [ebp + 0xa0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0044cb5f
push 0x75cd10
lea eax, [ebp + 0x1c]
push eax
call fcn.00665dc5
int3