Function at 0x4466aa
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x66abc7
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x759e6c]
xor eax, esp
mov dword [esp + 0x2f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x759e6c]
xor eax, esp
push eax
lea eax, [esp + 0x30c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x31c]
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x320]
xor ebx, ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebx
call fcn.004442cc
lea ecx, [esp + 0x84]
mov dword [esp + 0x314], 1
call fcn.004442cc
add esi, 4
mov byte [esp + 0x314], 2
cmp dword [esi + 0x14], 8
jb 0x446732
mov eax, dword [esi]
jmp 0x446734
mov eax, esi
lea ecx, [esp + 0x30]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x44677f
push 0x6920b8
lea ecx, [esp + 0x6c]
call fcn.00444274
push ebx
lea eax, [esp + 0x6c]
mov byte [esp + 0x318], 3
push eax
lea ecx, [esp + 0xa8]
call fcn.0045496e
push 0x70f0bc
lea eax, [esp + 0xa4]
push eax
call fcn.00631398
push edi
lea ecx, [esp + 0x44]
call fcn.00445780
cmp dword [esi + 0x14], 8
mov byte [esp + 0x314], 4
jb 0x446799
mov esi, dword [esi]
mov ebx, dword [esp + 0x40]
push ebx
push edi
xor edi, edi
push edi
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4467e2
push str.GetFileVersionInfo_failed
lea ecx, [esp + 0x6c]
call fcn.00444274
push edi
lea eax, [esp + 0x6c]
mov byte [esp + 0x318], 5
push eax
lea ecx, [esp + 0xa8]
call fcn.0045496e
push 0x70f0bc
lea eax, [esp + 0xa4]
jmp 0x446779
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x446807
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x44680b
mov eax, dword [esp + 0x18]
movzx edi, ax
shr eax, 0x10
push eax
push edi
push str.StringFileInfo_04x_04xProductName
lea eax, [esp + 0x114]
push 0x100
push eax
call fcn.004456cd
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x110]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44689e
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, ecx
cmp word [eax], cx
je 0x44689e
cmp esi, dword [esp + 0x1c]
jae 0x44689e
lea ecx, [eax + esi*2]
mov edx, 0x3bc
movzx eax, word [ecx]
cmp ax, dx
je 0x446879
mov edx, 0xb5
cmp ax, dx
je 0x446879
push ecx
jmp 0x446886
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x75
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x50]
call dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
inc esi
xor ecx, ecx
cmp word [eax + esi*2], cx
jne 0x446856
movzx eax, word [esp + 0x1a]
push eax
push edi
push str.StringFileInfo_04x_04xProductVersion
lea eax, [esp + 0x114]
push 0x100
push eax
call fcn.004456cd
add esp, 0x14
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x110]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x446919
push dword [esp + 0x24]
lea ecx, [esp + 0x6c]
call fcn.004442b1
mov byte [esp + 0x314], 6
test eax, eax
je 0x4468f9
add eax, 4
jmp 0x4468fb
xor eax, eax
push eax
lea ecx, [esp + 0x8c]
call fcn.00422f9e
lea ecx, [esp + 0x68]
mov byte [esp + 0x314], 4
call fcn.00444328
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x50]
push eax
push ebp
call fcn.00445715
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], 1
call fcn.0041abd3
lea ecx, [esp + 0x84]
mov byte [esp + 0x314], 1
call fcn.00444328
xor eax, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x314], al
call fcn.00444328
mov eax, ebp
mov ecx, dword [esp + 0x30c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f4]
xor ecx, esp
call fcn.00636364
add esp, 0x304
ret 8