Function at 0x448172
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x2bc
lea ebp, [esp - 4]
mov eax, dword [0x7990a8]
xor eax, ebp
mov dword [ebp + 0x2bc], eax
push 0x38
mov eax, 0x6951b0
call fcn.00637b86
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.00446045
lea ecx, [ebp + 0x84]
mov dword [ebp - 4], edi
call fcn.00446045
add esi, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x4481d1
mov eax, dword [esi]
jmp 0x4481d3
mov eax, esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x448215
push 0x6c03e0
lea ecx, [ebp + 0xa0]
call fcn.00445fd8
mov byte [ebp - 4], 2
push edi
lea eax, [ebp + 0xa0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00455a9b
push 0x74575c
lea eax, [ebp + 0x1c]
push eax
call fcn.0064fa34
push ebx
lea ecx, [ebp - 0x34]
call fcn.00545bd0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x44822a
mov esi, dword [esi]
push dword [ebp - 0x34]
push ebx
push edi
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x44824f
push str.GetFileVersionInfo_failed
lea ecx, [ebp + 0xa0]
call fcn.00445fd8
mov byte [ebp - 4], 4
jmp 0x4481f7
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 0x448272
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x448275
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.0044731b
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 0x4482fb
mov eax, dword [ebp - 0x10]
mov esi, edi
cmp word [eax], di
je 0x4482fb
cmp esi, dword [ebp - 0x1c]
jae 0x4482fb
lea ecx, [eax + esi*2]
mov edx, 0x3bc
movzx eax, word [ecx]
cmp ax, dx
je 0x4482dd
mov edx, 0xb5
cmp ax, dx
je 0x4482dd
push ecx
jmp 0x4482e8
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 0x4482bb
movzx eax, word [ebp - 0x12]
push eax
push ebx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp + 0xbc]
push 0x100
push eax
call fcn.0044731b
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 0x448369
push dword [ebp - 0x24]
lea ecx, [ebp + 0xa0]
call fcn.00446021
mov byte [ebp - 4], 5
test eax, eax
je 0x44834e
lea edi, [eax + 4]
push edi
lea ecx, [ebp + 0x88]
call fcn.00426283
lea ecx, [ebp + 0xa0]
mov byte [ebp - 4], 3
call fcn.004460a6
mov esi, dword [ebp - 0x28]
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.00447365
lea ecx, [ebp - 0x34]
call fcn.004370b2
lea ecx, [ebp + 0x84]
call fcn.004460a6
lea ecx, [ebp]
call fcn.004460a6
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.00637b3e
lea esp, [ebp + 0x2c0]
pop ebp
ret 8