Function at 0x484b60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3e08
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], 0x52d59c
call fcn.00407e90
mov ecx, eax
test ecx, ecx
jne 0x484bac
push 0x80004005
call fcn.00406c60
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x52d59c], eax
mov dword [ebp - 4], 0
call fcn.00407e90
mov ecx, eax
test ecx, ecx
jne 0x484bd7
push 0x80004005
call fcn.00406c60
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x52d5a0], eax
mov byte [ebp - 4], 1
call fcn.00407e90
mov ecx, eax
test ecx, ecx
jne 0x484bff
push 0x80004005
call fcn.00406c60
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [0x52d5a4], eax
push 0x1c
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
push eax
push 0x52d59c
movups xmmword [ebp - 0x154], xmm0
movq qword [ebp - 0x144], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
je 0x484c52
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x484f0e
push dword [ebp - 0x154]
lea eax, [ebp - 0x114]
push eax
call fcn.00484f30
add esp, 8
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov eax, dword [ebp - 0x114]
cmp dword [eax - 0xc], 0
je 0x484cec
push 0x5c
push eax
call fcn.004958be
add esp, 8
test eax, eax
jne 0x484c8d
or eax, edi
jmp 0x484c97
sub eax, dword [ebp - 0x114]
sar eax, 1
je 0x484cdb
inc eax
lea ecx, [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0044ef80
push eax
mov ecx, 0x52d5a0
mov byte [ebp - 4], 4
call fcn.0044f7c0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x120]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x484cdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x114]
mov ecx, 0x52d59c
push eax
call fcn.0044f7c0
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0
push eax
push dword [0x52d59c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x484d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x114]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x484f0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x484f0e
mov edx, eax
lea ecx, [ebp - 0x120]
call fcn.00486620
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x120]
push esi
push dword [ebp - 0x124]
push 0
push dword [0x52d59c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x484dac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x484d84
push esi
call fcn.004a2e5c
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x114]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x484f0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x484f0e
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0
push eax
lea eax, [ebp - 0x12c]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x484edc
cmp dword [ebp - 0x118], 4
jb 0x484edc
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00496490
mov ecx, dword [ebp - 0x12c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x110]
push str.StringFileInfo_04x_04xFileVersion
push eax
call fcn.00486790
add esp, 0x1c
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x484e4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x484ec2
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x484ec2
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x138]
push ecx
push 0x4f8184
push eax
call fcn.00402f40
add esp, 0x18
cmp eax, 4
jne 0x484eb2
push dword [ebp - 0x124]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push str._u._u._u._u
push 0x52d5a4
call fcn.00486600
add esp, 0x18
jmp 0x484ec2
push dword [ebp - 0x11c]
mov ecx, 0x52d5a4
call fcn.00486870
test esi, esi
je 0x484ecf
push esi
call fcn.004a2e5c
add esp, 4
lea ecx, [ebp - 0x114]
call fcn.0044f000
jmp 0x484f0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x484eef
push esi
call fcn.004a2e5c
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x484f0e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 0x52d59c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret 4