Function at 0x483658
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x483660
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x483938
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404b04
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x48e53c]
mov eax, dword [eax]
call fcn.0047ee68
mov eax, dword [ebp - 0x14]
call fcn.00404fc4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x48391d
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x483916
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 [0x48e53c]
mov eax, dword [eax]
call fcn.0047ee68
mov eax, dword [ebp - 0x18]
call fcn.00404fc4
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x483948
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
xor eax, eax
mov al, bl
cmp eax, 6
ja case.default.0x483718
jmp dword [eax*4 + 0x48371f]
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.0040947c
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, 0x483954
call fcn.00404e10
push dword [esi]
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040947c
push dword [ebp - 0x20]
push 0x483954
mov eax, esi
mov edx, 3
call fcn.00404e84
push dword [esi]
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040947c
push dword [ebp - 0x24]
push 0x483954
mov eax, esi
mov edx, 3
call fcn.00404e84
mov eax, dword [ebx + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.0040947c
mov edx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404dcc
jmp case.default.0x483718
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.0040947c
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, 0x483954
call fcn.00404e10
push dword [esi]
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0040947c
push dword [ebp - 0x30]
push 0x483954
mov eax, esi
mov edx, 3
call fcn.00404e84
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.0040947c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00404dcc
jmp case.default.0x483718
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.0040947c
mov edx, dword [ebp - 0x38]
mov eax, esi
mov ecx, 0x483954
call fcn.00404e10
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.0040947c
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.00404dcc
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.0040947c
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.00404dcc
jmp case.default.0x483718
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.0040947c
jmp case.default.0x483718
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.0040947c
jmp case.default.0x483718
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.0040947c
jmp case.default.0x483718
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.0040947c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48391d
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 0x48393f
lea eax, [ebp - 0x40]
mov edx, 0xc
call fcn.00404b28
ret