Function at 0x4399c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x218
mov eax, dword [0x4ac588]
push ebx
mov ebx, ecx
mov dword [esp + 0x218], eax
mov eax, dword [ebx + 0x23c]
lea edx, [esp + 0x114]
push edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4399e5
mov ecx, ebx
call fcn.00439900
push 0
lea eax, [esp + 0x11c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jg 0x439a22
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x214]
call fcn.0044af18
add esp, 0x218
ret
push esi
push edi
call fcn.0046705b
mov esi, eax
add esp, 4
test esi, esi
jne 0x439a4a
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x214]
call fcn.0044af18
add esp, 0x218
ret
push esi
push edi
push 0
lea ecx, [esp + 0x128]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x439a32
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439a32
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xComments
lea eax, [esp + 0x28]
push 0x100
push eax
call fcn.0044e0b9
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439ac5
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [ebx + 0xc8]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xInternalName
lea ecx, [esp + 0x28]
push 0x100
push ecx
call fcn.0044e0b9
add esp, 0x14
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439b12
mov edx, dword [esp + 0xc]
push edx
lea ecx, [ebx + 0xcc]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xProductName
lea eax, [esp + 0x28]
push 0x100
push eax
call fcn.0044e0b9
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439b5f
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [ebx + 0xd0]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xCompanyName
lea ecx, [esp + 0x28]
push 0x100
push ecx
call fcn.0044e0b9
add esp, 0x14
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439bac
mov edx, dword [esp + 0xc]
push edx
lea ecx, [ebx + 0xd4]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xLegalCopyright
lea eax, [esp + 0x28]
push 0x100
push eax
call fcn.0044e0b9
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439bf9
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [ebx + 0xd8]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xProductVersion
lea ecx, [esp + 0x28]
push 0x100
push ecx
call fcn.0044e0b9
add esp, 0x14
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439c46
mov edx, dword [esp + 0xc]
push edx
lea ecx, [ebx + 0xdc]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [esp + 0x28]
push 0x100
push eax
call fcn.0044e0b9
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439c93
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [ebx + 0xe0]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xFileVersion
lea ecx, [esp + 0x28]
push 0x100
push ecx
call fcn.0044e0b9
add esp, 0x14
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439ce0
mov edx, dword [esp + 0xc]
push edx
lea ecx, [ebx + 0xe4]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xPrivateBuild
lea eax, [esp + 0x28]
push 0x100
push eax
call fcn.0044e0b9
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439d2d
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [ebx + 0xe8]
call fcn.00401a80
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xOriginalFilename
lea ecx, [esp + 0x28]
push 0x100
push ecx
call fcn.0044e0b9
add esp, 0x14
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x439d7a
mov edx, dword [esp + 0xc]
push edx
lea ecx, [ebx + 0xec]
call fcn.00401a80
push esi
call fcn.00467056
mov ecx, dword [esp + 0x224]
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
call fcn.0044af18
add esp, 0x218
ret