Function at 0x4835a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4835a8
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x483880
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404ae4
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x48d53c]
mov eax, dword [eax]
call fcn.0047ee48
mov eax, dword [ebp - 0x14]
call fcn.00404fa4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x483865
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48385e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00402a90
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
lea edx, [ebp - 0x18]
mov eax, dword [0x48d53c]
mov eax, dword [eax]
call fcn.0047ee48
mov eax, dword [ebp - 0x18]
call fcn.00404fa4
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x483890
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
xor eax, eax
mov al, bl
cmp eax, 6
ja case.default.0x483660
jmp dword [eax*4 + 0x483667]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0040945c
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, 0x48389c
call fcn.00404df0
push dword [esi]
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040945c
push dword [ebp - 0x20]
push 0x48389c
mov eax, esi
mov edx, 3
call fcn.00404e64
push dword [esi]
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040945c
push dword [ebp - 0x24]
push 0x48389c
mov eax, esi
mov edx, 3
call fcn.00404e64
mov eax, dword [ebx + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.0040945c
mov edx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404dac
jmp case.default.0x483660
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.0040945c
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, 0x48389c
call fcn.00404df0
push dword [esi]
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0040945c
push dword [ebp - 0x30]
push 0x48389c
mov eax, esi
mov edx, 3
call fcn.00404e64
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.0040945c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00404dac
jmp case.default.0x483660
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.0040945c
mov edx, dword [ebp - 0x38]
mov eax, esi
mov ecx, 0x48389c
call fcn.00404df0
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.0040945c
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.00404dac
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.0040945c
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.00404dac
jmp case.default.0x483660
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040945c
jmp case.default.0x483660
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040945c
jmp case.default.0x483660
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040945c
jmp case.default.0x483660
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040945c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483865
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00402ac0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483887
lea eax, [ebp - 0x40]
mov edx, 0xc
call fcn.00404b08
ret