Function at 0x475b00
Capabilities:
Get file version info

Disassembly:
mov eax, 0x102c
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x1028], eax
mov ecx, dword [esp + 0x1044]
mov eax, dword [esp + 0x1040]
mov edx, dword [esp + 0x1048]
push ebx
mov ebx, dword [esp + 0x103c]
push ebp
mov ebp, dword [esp + 0x1044]
push esi
mov esi, dword [esp + 0x103c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x105c]
push edi
mov edi, dword [esp + 0x1044]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x105c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1064]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1068]
push ecx
push esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jne 0x475b9b
xor eax, eax
jmp 0x475d46
lea edx, [esp + 0x38]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x475b94
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x49ea0c
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
test edi, edi
mov eax, dword [esp + 0x10]
je 0x475bd4
movzx ecx, word [eax + 0xa]
mov dword [edi], ecx
test ebx, ebx
je 0x475bde
movzx edx, word [eax + 8]
mov dword [ebx], edx
test ebp, ebp
je 0x475be9
movzx ecx, word [eax + 0xe]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x475bf7
movzx edx, word [eax + 0xc]
mov dword [ecx], edx
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x475c2c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0ProductName
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x475c20
mov esi, dword [esp + 0x24]
test esi, esi
je 0x475c61
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0FileDescription
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x475c55
mov esi, dword [esp + 0x18]
test esi, esi
je 0x475c9c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0CompanyName
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, esi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x475c90
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x475cd1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0LegalCopyright
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x475cc5
mov esi, dword [esp + 0x20]
test esi, esi
je 0x475d0c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0LegalTrademarks
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, esi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x475d00
mov esi, dword [esp + 0x28]
test esi, esi
je 0x475d41
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0Comments
lea edx, [esp + 0x44]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x475d35
mov eax, 1
mov ecx, dword [esp + 0x1038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x102c
ret