Function at 0x408f48
Capabilities:
Get common file path
Get file version info

Disassembly:
mov eax, dword [0x47ec64]
sub esp, 0x620
test eax, eax
jg 0x4091b9
push ebx
push ebp
push esi
push edi
mov esi, 0x208
lea eax, [esp + 0x18]
xor ebx, ebx
push esi
push ebx
push eax
mov dword [0x47ec64], ebx
call fcn.004183a0
mov edi, 0x100
lea eax, [esp + 0x24]
push edi
push esi
push eax
mov ebp, str.SoftwareMicrosoftInternet_Explorer
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push str.svcUpdateVersion
mov edx, ebp
call fcn.00408e7e
add esp, 0x1c
test al, al
je 0x408ff1
lea eax, [esp + 0x18]
push eax
call fcn.00425442
imul eax, eax, 0x64
push 0x2e
mov dword [0x47ec64], eax
lea eax, [esp + 0x20]
push eax
call fcn.00417ac2
add esp, 0xc
test eax, eax
je 0x408fe4
add eax, 2
push eax
call fcn.00425442
pop ecx
cdq
push 0x64
pop ecx
idiv ecx
mov eax, dword [0x47ec64]
add eax, edx
mov dword [0x47ec64], eax
jmp 0x408fe9
mov eax, dword [0x47ec64]
test eax, eax
jg 0x4091b5
push edi
push esi
lea eax, [esp + 0x20]
mov edx, ebp
push eax
push str.svcVersion
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00408e7e
add esp, 0x10
test al, al
je 0x409060
lea eax, [esp + 0x18]
push eax
call fcn.00425442
imul eax, eax, 0x64
push 0x2e
mov dword [0x47ec64], eax
lea eax, [esp + 0x20]
push eax
call fcn.00417ac2
add esp, 0xc
test eax, eax
je 0x409053
add eax, 2
push eax
call fcn.00425442
pop ecx
cdq
push 0x64
pop ecx
idiv ecx
mov eax, dword [0x47ec64]
add eax, edx
mov dword [0x47ec64], eax
jmp 0x409058
mov eax, dword [0x47ec64]
test eax, eax
jg 0x4091b5
push edi
push esi
lea eax, [esp + 0x20]
mov edx, ebp
push eax
push str.Version
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00408e7e
add esp, 0x10
test al, al
je 0x4090cf
lea eax, [esp + 0x18]
push eax
call fcn.00425442
imul eax, eax, 0x64
push 0x2e
mov dword [0x47ec64], eax
lea eax, [esp + 0x20]
push eax
call fcn.00417ac2
add esp, 0xc
test eax, eax
je 0x4090c2
add eax, 2
push eax
call fcn.00425442
pop ecx
cdq
push 0x64
pop ecx
idiv ecx
mov eax, dword [0x47ec64]
add eax, edx
mov dword [0x47ec64], eax
jmp 0x4090c7
mov eax, dword [0x47ec64]
test eax, eax
jg 0x4091b5
push esi
lea eax, [esp + 0x42c]
push ebx
push eax
call fcn.004183a0
push esi
lea eax, [esp + 0x230]
push ebx
push eax
call fcn.004183a0
add esp, 0x18
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x428]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea eax, [esp + 0x428]
push eax
lea eax, [esp + 0x224]
push str._s_system32mshtml.dll
push eax
call fcn.00408efa
add esp, 0xc
lea eax, [esp + 0x220]
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, 1
jb 0x4091b3
push 0x44d836
push edi
call fcn.004166c6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4091b3
push esi
push edi
push ebx
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4091ac
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0x45dc94
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4091ac
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4091ac
movzx eax, word [ecx + 8]
xor edx, edx
push 0x64
pop edi
div edi
movzx eax, word [ecx + 0xa]
imul eax, eax, 0x64
push esi
add edx, eax
mov dword [0x47ec64], edx
call fcn.004166cf
mov eax, dword [0x47ec64]
pop ecx
jmp 0x4091b5
push esi
call fcn.004166cf
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x620
ret