Function at 0x4e0b64
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 0x4e0e25
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418da0]
call fcn.00403adc
mov ebx, eax
mov edx, 0x4e0e3c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0e50
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0e68
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0e7c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0e94
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0eac
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0ec8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e0edc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x121]
call fcn.0040a270
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x121]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4e0dff
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e0df8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [esi + 0xa]
call fcn.004027bc
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 0x4e0eec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4e0c92
call fcn.00404344
jmp 0x4e0dff
lea edx, [ebp - 0x256]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.00402a3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e0ef0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4e0cc7
call fcn.00404344
jmp 0x4e0dff
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.00402a3c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e0de2
inc eax
mov dword [ebp - 0x20], eax
xor esi, esi
push 0x4e0f14
lea ecx, [ebp - 0x25c]
movzx eax, word [ebp - 0x18]
mov edx, 4
call fcn.00409854
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x260]
movzx eax, word [ebp - 0x16]
mov edx, 4
call fcn.00409854
push dword [ebp - 0x260]
push 0x4e0f30
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.00404c60
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
call fcn.0040a270
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 0x4e0d7f
call fcn.00404344
jmp 0x4e0dff
cmp dword [ebp - 8], 0
jbe 0x4e0dd8
lea edx, [ebp - 0x222]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.00402a3c
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 + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x26c]
lea eax, [ebp - 0x222]
call fcn.0040a3c4
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x20]
jne 0x4e0ceb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0dff
mov eax, dword [ebp - 0x10]
call fcn.004027dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0e2c
lea eax, [ebp - 0x26c]
mov edx, 5
call fcn.00404904
lea eax, [ebp - 0x1c]
call fcn.004048e0
ret