Function at 0x409fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b170
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x496684]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x496684]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea ebx, [esp + 0x34]
call fcn.00407800
xor ebx, ebx
mov dword [esp + 0x60], ebx
push 1
mov eax, 0x488730
lea ecx, [esp + 0x38]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
mov esi, 0xf
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405160
mov byte [esp + 0x60], 1
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499790], eax
cmp eax, ebx
je 0x40a093
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x499790]
cmp dword [esp + 0x10], ebx
je 0x40a235
push 0x17
mov eax, str.itunes64_AppSupport.zip
lea ecx, [esp + 0x1c]
call fcn.00402d60
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x40a0bc
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
je 0x40a11f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x7c], 2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x98], 3
mov byte [esp + 0x98], 1
call fcn.0040ab20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405160
push 0x1d
mov eax, str.itunes64_AppMobileSupport.zip
lea ecx, [esp + 0x1c]
call fcn.00402d60
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x40a14f
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x40a1ac
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x7c], 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x98], 5
mov byte [esp + 0x98], 1
call fcn.0040ab20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405160
push 0xd
mov eax, str.Bonjour64.zip
lea ecx, [esp + 0x1c]
call fcn.00402d60
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x40a1dc
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x40a3e2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x7c], 6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x98], 7
jmp 0x40a3d5
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405160
push 0x1d
mov eax, str.itunes32_AppMobileSupport.zip
lea ecx, [esp + 0x1c]
call fcn.00402d60
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x40a265
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
je 0x40a2c8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x7c], 8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x98], 9
mov byte [esp + 0x98], 1
call fcn.0040ab20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405160
push 0x17
mov eax, str.itunes32_AppSupport.zip
lea ecx, [esp + 0x1c]
call fcn.00402d60
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x40a2f8
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x40a355
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x7c], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x98], 0xb
mov byte [esp + 0x98], 1
call fcn.0040ab20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405160
push 0xb
mov eax, str.Bonjour.zip
lea ecx, [esp + 0x1c]
call fcn.00402d60
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x40a385
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x40a3e2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x7c], 0xc
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [esp + 0x98], 0xd
mov byte [esp + 0x98], 1
call fcn.0040ab20
mov byte [esp + 0x60], bl
mov edi, 0x10
cmp dword [esp + 0x2c], edi
jb 0x40a3fe
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x40a425
mov edx, dword [esp + 0x34]
push edx
call fcn.0042ca67
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0042ca72
mov esp, ebp
pop ebp
ret