Function at 0x4b5eb4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd94
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b6175
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40fd08]
call fcn.0040308c
mov ebx, eax
mov edx, 0x4b618c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b61a0
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b61b8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b61cc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b61e4
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b61fc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b6218
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4b622c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x121]
call fcn.00409b44
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x121]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4b614f
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b6148
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [esi + 0xa]
call fcn.004027b4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push esi
push 0
lea eax, [ebp - 0x121]
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b623c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4b5fe2
call fcn.004038f4
jmp 0x4b614f
lea edx, [ebp - 0x256]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.004029e0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b6240
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4b6017
call fcn.004038f4
jmp 0x4b614f
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.004029e0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4b6132
inc eax
mov dword [ebp - 0x20], eax
xor esi, esi
push 0x4b6264
lea ecx, [ebp - 0x25c]
movzx eax, word [ebp - 0x18]
mov edx, 4
call fcn.00409390
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x260]
movzx eax, word [ebp - 0x16]
mov edx, 4
call fcn.00409390
push dword [ebp - 0x260]
push 0x4b6280
lea ecx, [ebp - 0x264]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x264]
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404164
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
call fcn.00409b44
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x121]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4b60cf
call fcn.004038f4
jmp 0x4b614f
cmp dword [ebp - 8], 0
jbe 0x4b6128
lea edx, [ebp - 0x222]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.004029e0
lea ecx, [ebp - 0x268]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x26c]
lea eax, [ebp - 0x222]
call fcn.00409cc8
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec dword [ebp - 0x20]
jne 0x4b603b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b614f
mov eax, dword [ebp - 0x10]
call fcn.004027cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b617c
lea eax, [ebp - 0x26c]
mov edx, 5
call fcn.00403e48
lea eax, [ebp - 0x1c]
call fcn.00403e24
ret