Function at 0x4043ee
Capabilities:
Get file version info

Disassembly:
mov eax, 0x478100
call fcn.0045c348
sub esp, 0x434
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
call fcn.00404aa0
push dword [ebp + 8]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404441
xor eax, eax
jmp 0x404a8f
lea eax, [esi + 1]
push eax
call fcn.0046a42d
push dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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, 0x49e93c
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x1c], 0
je 0x4044d9
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 [0x49e818]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404540
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]
mov ecx, dword [eax]
movzx eax, word [eax]
shr ecx, 0x10
shl eax, 0x10
or ecx, eax
lea eax, [ebp - 0x440]
mov dword [edi + 0x38], ecx
push eax
lea ecx, [edi + 0x3c]
call fcn.0046b386
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x40454c
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.0046b2b7
push dword [0x49e81c]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046b492
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0046b492
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.0046b492
push esi
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.0046b492
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.0046b249
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0046b249
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0046b249
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0046b249
mov eax, dword [0x4a84c4]
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.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404648
push dword [ebp - 0x10]
lea ecx, [edi + 0x40]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.CompanyName
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x4046a8
push dword [ebp - 0x10]
lea ecx, [edi + 0x44]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.FileDescription
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404708
push dword [ebp - 0x10]
lea ecx, [edi + 0x48]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.FileVersion
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404768
push dword [ebp - 0x10]
lea ecx, [edi + 0x4c]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.InternalName
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x4047c8
push dword [ebp - 0x10]
lea ecx, [edi + 0x50]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.LegalCopyright
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404828
push dword [ebp - 0x10]
lea ecx, [edi + 0x54]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.LegalTrademarks
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404888
push dword [ebp - 0x10]
lea ecx, [edi + 0x58]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.OriginalFilename
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x4048e8
push dword [ebp - 0x10]
lea ecx, [edi + 0x5c]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.PrivateBuild
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404948
push dword [ebp - 0x10]
lea ecx, [edi + 0x60]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.ProductName
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x4049a8
push dword [ebp - 0x10]
lea ecx, [edi + 0x64]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.ProductVersion
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404a08
push dword [ebp - 0x10]
lea ecx, [edi + 0x68]
call fcn.0046b386
lea eax, [ebp - 0x20]
push str.SpecialBuild
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046b492
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
push eax
call fcn.0045d0d0
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 0x404a68
push dword [ebp - 0x10]
lea ecx, [edi + 0x6c]
call fcn.0046b386
push 1
pop esi
push ebx
mov dword [edi + 0x70], esi
call fcn.0046a456
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0046b249
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4