Function at 0x473930
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x473b2e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.0040547c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
seta byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x473b00
mov eax, dword [ebp - 0x10]
call fcn.00402e98
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x473af9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x473b40
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1c]
and eax, 1
cmp eax, 1
sete al
and eax, 0x7f
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x473b4c
call fcn.0040a394
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1c]
and eax, 2
cmp eax, 2
sete al
and eax, 0x7f
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x473b60
call fcn.0040a394
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x473b70
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov esi, 0xa
mov ebx, 0x47ba68
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 2]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x54]
mov ecx, 2
mov eax, 0x473b94
call fcn.0040a394
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040547c
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 6
lea edx, [ebp - 0x68]
mov ecx, 1
mov eax, 0x473bbc
call fcn.0040a394
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add ebx, 4
dec esi
jne 0x473a4e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473b00
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00402ecc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473b35
lea eax, [ebp - 0x58]
call fcn.00404fec
lea eax, [ebp - 0x3c]
call fcn.00404fec
lea eax, [ebp - 0x30]
call fcn.00404fec
lea eax, [ebp - 4]
call fcn.00404fec
ret