Function at 0x4033a0
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
push ebp
call fcn.0044522e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x403631
mov edi, 0x489e9c
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x489e9c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x489e9c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x24]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x138]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x130]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403628
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x403628
mov eax, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push str.FileVersion
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
shl edx, 0x10
or ecx, edx
lea edx, [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ecx
push str.StringFileInfo_08lx_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4034e9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x128]
push eax
push 0x489e54
push ecx
call fcn.0044537b
add esp, 0xc
jmp 0x403510
mov edi, 0x489e50
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
push str.FileDescription
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push ecx
push str.StringFileInfo_08lx_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x12c]
push eax
push 0x489e54
push ecx
call fcn.0044537b
add esp, 0xc
jmp 0x403587
mov edi, 0x489e50
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x12c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
push str.CompanyName
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push ecx
push str.StringFileInfo_08lx_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4035eb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x130]
push eax
push 0x489e54
push ecx
call fcn.0044537b
add esp, 0xc
push ebx
call fcn.004451e6
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov edi, 0x489e50
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004451e6
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push ebx
call fcn.004451e6
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret