Function at 0x49b6d4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x49b6dd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040478c
xor eax, eax
push ebp
push 0x49ba42
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040479c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x49ba17
mov eax, dword [ebp - 0xc]
call fcn.004027f4
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040479c
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x49ba10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x49ba54
push edi
call sub.version.dll_VerQueryValueA
push 0x49ba78
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.00408f14
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004075bc
movzx eax, ax
lea ecx, [ebp - 0x24]
mov edx, 4
call fcn.00408f14
push dword [ebp - 0x24]
push 0x49ba94
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040465c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x49baa0
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x28]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x49bab4
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x2c]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 4]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x49bacc
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x30]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 8]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x49bae0
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x34]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x49baf8
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x38]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x49bb10
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x3c]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x49bb28
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x40]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x49bb44
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x44]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x49bb58
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x48]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x49bb70
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x4c]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x49bb7c
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49b9d6
mov eax, dword [ebp - 0x10]
push esi
push edi
lea edi, [esi + 0x28]
mov esi, eax
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp dword [ebp - 8], 0
je 0x49ba10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.004045e8
mov eax, dword [ebp - 0x50]
call fcn.0040479c
push eax
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49ba10
lea eax, [esi + 0x5c]
mov edx, dword [ebp - 0x10]
call fcn.004044d4
mov eax, edi
call fcn.00402814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ba49
lea eax, [ebp - 0x50]
mov edx, 0xd
call fcn.004042f0
lea eax, [ebp - 0x18]
call fcn.004042cc
lea eax, [ebp - 8]
call fcn.004042cc
ret