Function at 0x4f35c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x14], 0x8e28
mov eax, 0xee
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x14], 0xd825
ja 0x4f360e
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x31], cl
cmp dword [ebp - 0x14], 0xef8a
jne 0x4f3604
movzx edx, byte [ebp + 0x10]
movzx eax, byte [ebp + 0x14]
sub edx, eax
mov byte [ebp - 0x31], dl
mov dword [ebp + 8], 0x4ab6
jmp 0x4f360c
mov cx, word [ebp + 0xc]
mov word [ebp - 8], cx
jmp 0x4f362a
movzx edx, word [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x14]
push eax
movzx ecx, byte [ebp - 0x31]
push ecx
movzx edx, word [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004294a0
movzx ecx, word [ebp - 8]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x4f3664
cmp dword [ebp - 0x40], 0x88a
je 0x4f3642
jmp 0x4f367c
mov dx, word [ebp - 8]
mov word [ebp + 0xc], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x31]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x1c], eax
jmp 0x4f367c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov dx, word [ebp - 0x30]
mov word [ebp - 0xc], dx
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x60f6
cmp edx, dword [ebp - 0x38]
jae 0x4f3732
mov eax, dword [ebp - 0x28]
movsx ecx, word [eax]
movsx edx, word [ebp - 0x30]
and ecx, edx
movsx eax, word [ebp - 0xc]
cmp ecx, eax
je 0x4f36c8
mov cl, byte [ebp + 0x14]
mov byte [ebp + 0x10], cl
mov dl, byte [ebp - 0x31]
mov byte [ebp + 0x10], dl
mov eax, dword [ebp - 0x28]
movsx edx, word [eax]
movsx ecx, word [ebp - 0xc]
sar edx, cl
mov eax, dword [ebp - 0x28]
mov word [eax], dx
jmp 0x4f3732
movzx ecx, word [ebp - 8]
or ecx, 0x7c4
movzx edx, word [ebp + 0xc]
cmp ecx, edx
jle 0x4f3719
lea eax, [ebp - 0x1d]
push eax
push 0x5b
push 0xd0
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 4], eax
movsx edx, word [ebp - 0x30]
movsx ecx, word [ebp - 0xc]
shl edx, cl
mov eax, dword [ebp - 0x28]
mov word [eax], dx
mov ecx, dword [ebp - 0x14]
push ecx
movzx edx, word [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00428a30
jmp 0x4f3732
mov edx, dword [ebp - 0x38]
xor edx, 0x90e4
cmp edx, dword [ebp - 0x14]
jb 0x4f3732
mov eax, dword [ebp - 0x38]
add eax, 0x85f1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
movsx edx, byte [ebp - 0x1d]
cmp edx, 0x63
jge 0x4f3743
jmp 0x4f376e
movzx eax, byte [ebp - 0x31]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f35c0
add esp, 0x10
movsx ecx, word [ebp - 0xc]
mov edx, dword [ebp - 0x28]
movsx eax, word [edx]
add ecx, eax
mov word [ebp - 0x30], cx
movzx ecx, byte [ebp + 0x10]
movzx edx, byte [ebp + 0x14]
and ecx, edx
mov byte [ebp - 0x31], cl
movzx eax, word [ebp + 0xc]
add eax, 0x952
mov word [ebp - 8], ax
movzx ecx, byte [ebp - 0x31]
push ecx
movzx edx, byte [ebp - 0x31]
push edx
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004f35c0
add esp, 0x10
mov edx, dword [ebp - 0x28]
movsx eax, word [edx]
movsx ecx, word [ebp - 0xc]
sub eax, ecx
mov edx, dword [ebp - 0x28]
mov word [edx], ax
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x28]
movsx edx, word [ecx]
movsx eax, word [ebp - 0xc]
sub edx, eax
mov ecx, dword [ebp - 0x28]
mov word [ecx], dx
mov eax, 0xf0
mov esp, ebp
pop ebp
ret