Function at 0x484930
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x4c9144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [eax], 1
call fcn.00469860
cmp eax, 0xffffffff
jne 0x4849af
cmp byte [esi + 0x152], 0
je 0x48498c
cmp byte [esi + 0x151], 0
jne 0x48498c
mov byte [esi + 0x152], 0
mov byte [esi + 0x118], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 1
push 2
mov ecx, esi
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
xor ebx, ebx
push ecx
mov dword [ebp - 0x24], ebx
call fcn.0041b8b0
mov dword [ebp - 4], ebx
mov edx, dword [0x4d2dac]
push edx
push str._smsnmsgr.exe
lea edi, [ebp + 8]
call fcn.00417250
mov ecx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 0x18]
push eax
push ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
jbe 0x484b30
push edi
call fcn.00487e0b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x2c], ebx
push ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push edi
push edx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x484ad7
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041b8b0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.VarFileInfoTranslation
push ebx
mov dword [ebp - 0x1c], 0
call edi
test eax, eax
je 0x484a75
cmp dword [ebp - 0x10], 4
jb 0x484a75
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edx, eax
shr edx, 0x10
movzx eax, ax
push edx
push eax
push str.StringFileInfo_04X_04XFileDescription
lea edi, [ebp - 0x14]
call fcn.00417250
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
push eax
push ebx
mov dword [ebp - 0x28], 0
call edi
test eax, eax
je 0x484ab4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x4ab668
push ebx
mov dword [ebp - 0x20], 0
call edi
test eax, eax
je 0x484ab4
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0xa]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484ad7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
mov byte [ebp - 4], 0
call fcn.00488a62
add esp, 4
cmp dword [ebp - 0x24], 8
jne 0x484b30
push ecx
mov dword [ebp - 0x2c], esp
push esp
mov ecx, str.ImgSshots
call fcn.0041be20
mov edi, esi
call fcn.00471e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
push ecx
mov dword [ebp - 0x2c], esp
push esp
mov ecx, str.ImgSshots8
mov byte [eax + 8], 0
call fcn.0041be20
call fcn.00471e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov byte [eax + 8], 1
jmp 0x484b74
push ecx
mov dword [ebp - 0x2c], esp
push esp
mov ecx, str.ImgSshots
call fcn.0041be20
mov edi, esi
call fcn.00471e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
push ecx
mov dword [ebp - 0x2c], esp
push esp
mov ecx, str.ImgSshots8
mov byte [eax + 8], 1
call fcn.0041be20
call fcn.00471e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov byte [eax + 8], 0
push ecx
mov dword [ebp - 0x2c], esp
push esp
mov ecx, str.BtnNext
call fcn.0041be20
mov edi, dword [esi + 0x3bc]
lea ebx, [ebp - 0x2c]
call fcn.00471aa0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484bc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4