Function at 0x480480
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x501cdb
mov eax, dword fs:[0]
push eax
mov eax, 0x2020
call fcn.004f3c00
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x2018], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x2034]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2044]
lea eax, [esp + 0x1c]
push eax
push str.360zipVer.dll
mov edi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4806c1
cmp eax, 0x1fff
ja 0x4806c1
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0
push str.360zipVer.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4806c1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0x511ddc
lea ecx, [esp + 0x38]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x480546
mov eax, dword [esp + 0x24]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
call fcn.00404890
add esp, 0x14
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
test ecx, 0xfffffffc
je 0x4806ba
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push str.VarFileInfoTranslation
lea ecx, [esp + 0x38]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4806ba
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x203c], 0
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_
lea edi, [esp + 0x20]
call fcn.00404890
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp esi, dword [ebp + 0x10]
jbe 0x4805c6
call fcn.004e48f7
mov ebx, dword [ebp]
mov edi, esi
jmp 0x4805d0
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
jbe 0x4805dd
call fcn.004e48f7
mov eax, dword [ebp]
test ebx, ebx
je 0x4805e8
cmp ebx, eax
je 0x4805ed
call fcn.004e48f7
cmp edi, esi
je 0x48068f
test ebx, ebx
jne 0x480684
call fcn.004e48f7
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x48060e
call fcn.004e48f7
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0041d700
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48065a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x480667
mov edx, dword [esp + 0x1c]
call fcn.00401600
test ebx, ebx
jne 0x48068b
call fcn.004e48f7
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x48067c
call fcn.004e48f7
add edi, 4
jmp 0x4805d0
mov eax, dword [ebx]
jmp 0x480604
mov eax, dword [ebx]
jmp 0x480672
mov dword [esp + 0x203c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4806ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4806c3
xor eax, eax
mov ecx, dword [esp + 0x2034]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2018]
xor ecx, esp
call fcn.004e3edb
add esp, 0x202c
ret