Function at 0x404412
Capabilities:
Get file version info

Disassembly:
mov eax, 0x479334
call fcn.0045c5c4
sub esp, 0x434
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
call fcn.00404ac3
push dword [ebp + 8]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push eax
lea eax, [ebp - 0x240]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x404465
xor eax, eax
jmp 0x404ab2
lea eax, [esi + 1]
push eax
call fcn.0046b66c
push dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
add esp, 0xc
lea eax, [ebp - 0x240]
push ebx
push esi
push dword [ebp - 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
mov esi, 0x49f918
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x1c], 0
je 0x4044fd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x14], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x18], ecx
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x1c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [edi + 0x20], ecx
mov ecx, dword [eax + 0x20]
mov dword [edi + 0x24], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x28], ecx
mov ecx, dword [eax + 0x28]
mov dword [edi + 0x2c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edi + 0x30], ecx
mov eax, dword [eax + 0x30]
mov dword [edi + 0x34], eax
push dword [0x49f7f8]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x1c], 0
je 0x404563
lea eax, [ebp - 0x440]
push 0x1ff
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call sub.VERSION.dll_VerLanguageNameA
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
lea eax, [ebp - 0x440]
mov dword [edi + 0x38], ecx
push eax
lea ecx, [edi + 0x3c]
call fcn.0046c5c5
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x40456f
mov eax, 0x40904e4
push eax
lea eax, [ebp - 0x3c]
push str._08.8lX
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push esi
call fcn.0046c4f6
push dword [0x49f7fc]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046c6d1
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0046c6d1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.0046c6d1
push esi
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.0046c6d1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.0046c488
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0046c488
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0046c488
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0046c488
mov eax, dword [0x4a94a4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str.Comments
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40466b
push dword [ebp - 0x10]
lea ecx, [edi + 0x40]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.CompanyName
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4046cb
push dword [ebp - 0x10]
lea ecx, [edi + 0x44]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.FileDescription
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40472b
push dword [ebp - 0x10]
lea ecx, [edi + 0x48]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.FileVersion
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40478b
push dword [ebp - 0x10]
lea ecx, [edi + 0x4c]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.InternalName
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4047eb
push dword [ebp - 0x10]
lea ecx, [edi + 0x50]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.LegalCopyright
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40484b
push dword [ebp - 0x10]
lea ecx, [edi + 0x54]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.LegalTrademarks
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4048ab
push dword [ebp - 0x10]
lea ecx, [edi + 0x58]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.OriginalFilename
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40490b
push dword [ebp - 0x10]
lea ecx, [edi + 0x5c]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.PrivateBuild
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40496b
push dword [ebp - 0x10]
lea ecx, [edi + 0x60]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.ProductName
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4049cb
push dword [ebp - 0x10]
lea ecx, [edi + 0x64]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.ProductVersion
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404a2b
push dword [ebp - 0x10]
lea ecx, [edi + 0x68]
call fcn.0046c5c5
lea eax, [ebp - 0x20]
push str.SpecialBuild
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d4a0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404a8b
push dword [ebp - 0x10]
lea ecx, [edi + 0x6c]
call fcn.0046c5c5
xor esi, esi
push ebx
inc esi
mov dword [edi + 0x70], esi
call fcn.0046b695
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0046c488
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0046c488
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4