Function at 0x467bb0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x242c]
mov eax, 0x242c
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x525510
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x2428], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x2434]
mov dword [ebp - 0x18], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0xd
lea esi, [ebp]
call fcn.00495e90
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
push 0x535a4c
lea ecx, [ebp - 0x1c]
call fcn.00405c00
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
cmp ebx, edi
je 0x467f82
lea esi, [ebx + 0x2c00]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x467c40
sub eax, edx
sar eax, 1
je 0x467f82
push 0x800
push edi
lea ecx, [ebp + 0x1c28]
push ecx
call fcn.004fd670
add esp, 0xc
lea edx, [ebx + 0x2400]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467c75
sub eax, edi
sar eax, 1
je 0x467ca1
push str.Extract
push edx
push 0x535a74
lea edx, [ebp + 0x1c28]
call fcn.00404380
add esp, 0xc
jmp 0x467d0c
push 0x800
push 0
lea edx, [ebp + 0x1428]
push edx
call fcn.004fd670
add esp, 0xc
lea eax, [ebp + 0x1428]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x467d0c
mov ecx, 0x536d5c
lea edx, [ebp + 0x1428]
call fcn.00494c80
push str.Extract
push ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0x2450
push ecx
push str.SmartUpdate
lea edx, [ebp + 0x1428]
push edx
push str._s_s_s_s_s
lea edx, [ebp + 0x1c28]
call fcn.00404380
add esp, 0x18
lea eax, [ebp + 0x1c28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467d2d
push 1
lea ecx, [ebp + 0x1c28]
call fcn.0049c660
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, eax
test edi, edi
je 0x467e20
push str..MSI
push edi
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x467d75
mov edi, dword [ebp - 0x18]
push edi
mov ecx, esi
call fcn.00467ff0
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x467f0a
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.004680c0
jmp 0x467e2a
push str..zip
push edi
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x467e20
xor ecx, ecx
lea edi, [ebp + 0x1c28]
call fcn.004a5510
test al, al
je 0x467f0a
push 0x800
push 0
lea ecx, [ebp + 0x1428]
push ecx
call fcn.004fd670
push ebx
push str.InstallingComponents
push 0x535a74
lea edx, [ebp + 0x1428]
call fcn.00404380
push 0
push str.Update_Temp_Dir
lea edx, [ebp + 0x1428]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x244c]
push ecx
mov ecx, edi
call fcn.00419c20
mov edx, edi
push edx
push esi
push str.Succeed_in_zip_extracting___s__package_to___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x34
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00495f20
xor eax, eax
jmp 0x467f5b
mov ecx, esi
call fcn.004682f0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x467f0a
push esi
push str.__s__package_by_EDM
mov ecx, 0x649e50
call fcn.004918f0
push 0x800
push 0
lea eax, [ebp + 0xc28]
push eax
call fcn.004fd670
lea ecx, [ebp + 0x1c28]
push ecx
push esi
push str._s__T__s
lea edx, [ebp + 0xc28]
call fcn.00404380
lea edx, [ebp + 0xc28]
push edx
push str.Start_to_extract___s_....
mov ecx, 0x649e50
call fcn.004918f0
push 0xffffffffffffffff
push 0
xor edx, edx
lea ecx, [ebp + 0xc28]
call fcn.00493a40
add esp, 0x30
test eax, eax
jne 0x467f02
push 0x800
push eax
lea eax, [ebp + 0x1428]
push eax
call fcn.004fd670
push ebx
push str.InstallingComponents
push 0x535a74
lea edx, [ebp + 0x1428]
call fcn.00404380
push 0
push str.Update_Temp_Dir
lea ecx, [ebp + 0x1428]
push ecx
mov edx, dword [edi + 0x244c]
push edx
lea ecx, [ebp + 0x1c28]
call fcn.00419c20
lea eax, [ebp + 0x1c28]
push eax
push esi
push str.Succeed_in_EDM_extracting___s__package_to___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x34
jmp 0x467f1d
push esi
push str.Fail_in_extracting___s__package
jmp 0x467f10
push esi
push str.__s__package_was_NOT_created_by_EDM
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x467f36
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00495f20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2428]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x242c
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00495f20
mov eax, 0x57
jmp 0x467f5b