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

Disassembly:
mov eax, dword [0x48d97c]
sub esp, 0x620
push ebx
push ebp
push esi
push edi
test eax, eax
jg 0x41054e
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x208
push ebx
push eax
mov dword [0x48d97c], ebx
call fcn.0041c3f0
mov esi, 0x100
lea eax, [esp + 0x24]
push esi
mov edi, 0x206
mov ebp, str.SoftwareMicrosoftInternet_Explorer
push edi
push eax
push str.svcUpdateVersion
mov edx, ebp
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403acb
add esp, 0x1c
test al, al
je 0x410385
lea eax, [esp + 0x18]
push eax
call fcn.00429d81
imul eax, eax, 0x64
push 0x2e
mov dword [0x48d97c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0041b9dd
add esp, 0xc
test eax, eax
je 0x410378
add eax, 2
push eax
call fcn.00429d81
pop ecx
cdq
push 0x64
pop ecx
idiv ecx
mov eax, dword [0x48d97c]
add eax, edx
mov dword [0x48d97c], eax
jmp 0x41037d
mov eax, dword [0x48d97c]
test eax, eax
jg 0x41054e
push esi
push edi
lea eax, [esp + 0x20]
mov edx, ebp
push eax
push str.svcVersion
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403acb
add esp, 0x10
test al, al
je 0x4103f4
lea eax, [esp + 0x18]
push eax
call fcn.00429d81
imul eax, eax, 0x64
push 0x2e
mov dword [0x48d97c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0041b9dd
add esp, 0xc
test eax, eax
je 0x4103e7
add eax, 2
push eax
call fcn.00429d81
pop ecx
cdq
push 0x64
pop ecx
idiv ecx
mov eax, dword [0x48d97c]
add eax, edx
mov dword [0x48d97c], eax
jmp 0x4103ec
mov eax, dword [0x48d97c]
test eax, eax
jg 0x41054e
push esi
push edi
lea eax, [esp + 0x20]
mov edx, ebp
push eax
push str.Version
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403acb
add esp, 0x10
test al, al
je 0x410463
lea eax, [esp + 0x18]
push eax
call fcn.00429d81
imul eax, eax, 0x64
push 0x2e
mov dword [0x48d97c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0041b9dd
add esp, 0xc
test eax, eax
je 0x410456
add eax, 2
push eax
call fcn.00429d81
pop ecx
cdq
push 0x64
pop ecx
idiv ecx
mov eax, dword [0x48d97c]
add eax, edx
mov dword [0x48d97c], eax
jmp 0x41045b
mov eax, dword [0x48d97c]
test eax, eax
jg 0x41054e
mov esi, 0x208
lea eax, [esp + 0x428]
push esi
push ebx
push eax
call fcn.0041c3f0
push esi
lea eax, [esp + 0x230]
push ebx
push eax
call fcn.0041c3f0
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.0041028a
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 0x41054c
push 0x45a8ac
push edi
call fcn.0041a51d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41054c
push esi
push edi
push ebx
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x410545
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0x467ef4
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x410545
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x410545
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 [0x48d97c], edx
call fcn.0041a526
mov eax, dword [0x48d97c]
pop ecx
jmp 0x41054e
push esi
call fcn.0041a526
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x620
ret