Function at 0x480c28
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x480ec1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004070bc
mov edx, ebx
mov eax, 0x480edc
call fcn.0040830c
test eax, eax
jle 0x480d04
mov dl, 1
mov eax, dword [0x4343dc]
call fcn.004400cc
mov dword [ebp - 0x34], eax
mov edx, ebx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 4]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx eax, byte [0x480ee4]
push eax
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 0x480ef4
mov eax, dword [ebp - 4]
call fcn.0042241c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.004074e4
movzx eax, byte [0x480ee4]
push eax
lea eax, [ebp - 0x58]
push eax
xor ecx, ecx
mov edx, 0x480f08
mov eax, dword [ebp - 4]
call fcn.0042241c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 4]
call fcn.004074e4
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040749c
mov eax, dword [ebp - 0x34]
call fcn.004058bc
jmp 0x480e99
lea eax, [ebp - 0x28]
push eax
mov eax, ebx
call fcn.00407e0c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x480e5b
mov eax, dword [ebp - 0x20]
call fcn.004044a0
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x480e54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x480dfd
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x480f0c
mov eax, dword [ebp - 0x2c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x480dbd
mov ebx, dword [ebp - 0x30]
push esi
mov eax, dword [ebx + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
movzx eax, word [ebx + 8]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
mov eax, dword [ebx + 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
movzx eax, word [ebx + 0xc]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x78]
mov ecx, 3
mov eax, 0x480f1c
call fcn.0041c724
jmp 0x480e3b
lea eax, [ebp - 8]
mov edx, 0x480f40
call fcn.004074e4
mov eax, ebx
call fcn.0041b990
call fcn.0041c20c
fstp qword [ebp - 0x40]
wait
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
mov edx, dword [0x48dbc8]
mov eax, dword [ebp - 8]
call fcn.0041f1c8
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040749c
jmp 0x480e3b
lea eax, [ebp - 0x10]
mov edx, 0x480f40
call fcn.004074e4
mov eax, ebx
call fcn.0041b990
call fcn.0041c20c
fstp qword [ebp - 0x48]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x14]
mov edx, dword [0x48dbc8]
mov eax, dword [ebp - 0x10]
call fcn.0041f1c8
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.0040749c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480e99
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
call fcn.004044bc
ret
lea eax, [ebp - 0x18]
mov edx, 0x480f40
call fcn.004074e4
mov eax, ebx
call fcn.0041b990
call fcn.0041c20c
fstp qword [ebp - 0x50]
wait
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
mov edx, dword [0x48dbc8]
mov eax, dword [ebp - 0x18]
call fcn.0041f1c8
mov eax, esi
mov edx, dword [ebp - 0x1c]
call fcn.0040749c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ec8
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0040711c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040711c
ret