Function at 0x407a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ac31
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x496684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x110]
mov dword [ebp - 0x114], eax
call fcn.00407800
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x11c], 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 0x407a81
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x499790]
push 0xffffffffffffffff
lea edx, [ebp - 0x110]
push ebx
mov esi, 0xf
push edx
cmp dword [ebp - 0x11c], ebx
je 0x4081b1
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
call fcn.00405160
mov byte [ebp - 4], 1
push 1
mov eax, 0x488730
lea ecx, [ebp - 0xf4]
call fcn.00402d60
push 0x1b
mov eax, str.AppleApplicationSupport.msi
lea ecx, [ebp - 0xf4]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00405160
mov byte [ebp - 4], 2
push 0x18
mov eax, 0x48b7d4
lea ecx, [ebp - 0x84]
call fcn.00402d60
cmp dword [ebp - 0xe0], 0x10
mov eax, dword [ebp - 0xf4]
jae 0x407b2d
lea eax, [ebp - 0xf4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
jne 0x407c43
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
jae 0x407b50
lea eax, [ebp - 0x84]
push eax
call edi
test eax, eax
jne 0x407bb4
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x84]
cmp dword [ebp + 0xc], ebx
je 0x407b79
push str.http:__jn.d.appduoduo.com_pcd_patches_itunes64_AppSupport.zip
push ecx
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 3
jmp 0x407b8b
push str.http:__cs.d.appduoduo.com_pcd_patches_itunes64_AppSupport.zip
push ecx
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0040c920
push eax
lea edx, [ebp - 0x120]
push edx
push edi
call fcn.0040c4d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
call fcn.00408930
push 0x17
push str.itunes64_AppSupport.zip
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004054e0
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x114]
add edi, 0x10
lea ecx, [ebp - 0x4c]
call fcn.0040b9e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0x10
jb 0x407bf7
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0042ca67
add esp, 4
push 0x1b
push str.AppleApplicationSupport.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x114]
add edi, 0x20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x118], edi
call fcn.0040b9e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x407c8c
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x407c84
push 0x1b
push str.AppleApplicationSupport.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x114]
add edi, 0x20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x118], edi
call fcn.0040b9e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x407c8c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042ca67
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
call fcn.00405160
mov byte [ebp - 4], 8
push 1
mov eax, 0x488730
lea ecx, [ebp - 0xd8]
call fcn.00402d60
push 0x1e
mov eax, str.AppleMobileDeviceSupport64.msi
lea ecx, [ebp - 0xd8]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00405160
mov byte [ebp - 4], 9
push 0x1e
mov eax, 0x48b8a8
lea ecx, [ebp - 0x68]
call fcn.00402d60
cmp dword [ebp - 0xc4], 0x10
mov eax, dword [ebp - 0xd8]
jae 0x407d27
lea eax, [ebp - 0xd8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
jne 0x407e3c
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x407d44
lea eax, [ebp - 0x68]
push eax
call edi
test eax, eax
jne 0x407da5
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x68]
cmp dword [ebp + 0xc], ebx
je 0x407d6a
push str.http:__jn.d.appduoduo.com_pcd_patches_itunes64_AppMobileSupport.zip
push eax
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0xa
jmp 0x407d7c
push str.http:__cs.d.appduoduo.com_pcd_patches_itunes64_AppMobileSupport.zip
push eax
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0040c920
push eax
lea ecx, [ebp - 0x120]
push ecx
push edi
call fcn.0040c4d0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x30]
push edx
call fcn.00408930
push 0x1d
push str.itunes64_AppMobileSupport.zip
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x114]
add edi, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0x10
jb 0x407de8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042ca67
add esp, 4
push 0x1e
push str.AppleMobileDeviceSupport64.msi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004054e0
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x4c]
call fcn.0040b9e0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 0x10
jb 0x407e31
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x407e85
push 0x1e
push str.AppleMobileDeviceSupport64.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0x10
jb 0x407e7c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.00405160
mov byte [ebp - 4], 0xf
push 1
mov eax, 0x488730
lea ecx, [ebp - 0xbc]
call fcn.00402d60
push 0xd
mov eax, str.Bonjour64.msi
lea ecx, [ebp - 0xbc]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
call fcn.00405160
mov byte [ebp - 4], 0x10
push 0xe
mov eax, 0x48b984
lea ecx, [ebp - 0xa0]
call fcn.00402d60
cmp dword [ebp - 0xa8], 0x10
mov eax, dword [ebp - 0xbc]
jae 0x407f26
lea eax, [ebp - 0xbc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
jne 0x40805f
cmp dword [ebp - 0x8c], 0x10
mov eax, dword [ebp - 0xa0]
jae 0x407f4c
lea eax, [ebp - 0xa0]
push eax
call edi
test eax, eax
jne 0x407fbe
mov dword [ebp - 0x11c], ebx
lea edx, [ebp - 0x30]
cmp dword [ebp + 0xc], ebx
je 0x407f7b
push str.http:__jn.d.appduoduo.com_pcd_patches_Bonjour64.zip
push edx
lea edx, [ebp - 0xa0]
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x11
jmp 0x407f93
push str.http:__cs.d.appduoduo.com_pcd_patches_Bonjour64.zip
push edx
lea edx, [ebp - 0xa0]
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0040c920
push eax
lea eax, [ebp - 0x128]
push eax
push edi
call fcn.0040c4d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x30]
push ecx
call fcn.00408930
jmp 0x407fc8
mov dword [ebp - 0x11c], 1
push 0xd
push str.Bonjour64.zip
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x114]
add edi, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0x10
jb 0x40800b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ca67
add esp, 4
push 0xd
push str.Bonjour64.msi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x14
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x4c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x38], 0x10
jb 0x408054
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x4080b2
push 0xd
push str.Bonjour64.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x15
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0x10
jb 0x40809f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x11c], 1
mov byte [ebp - 4], 0xf
mov edi, 0x10
cmp dword [ebp - 0x8c], edi
jb 0x4080d2
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0xa8], edi
jb 0x4080ff
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov byte [ebp - 4], 8
cmp dword [ebp - 0x54], edi
jb 0x408126
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc4], edi
jb 0x40814a
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], edi
jb 0x408174
mov eax, dword [ebp - 0x84]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0xe0], edi
jb 0x40819a
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
jmp 0x4088d7
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.00405160
mov byte [ebp - 4], 0x16
push 1
mov eax, 0x488730
lea ecx, [ebp - 0xbc]
call fcn.00402d60
push 0x1b
mov eax, str.AppleApplicationSupport.msi
lea ecx, [ebp - 0xbc]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
call fcn.00405160
mov byte [ebp - 4], 0x17
push 0x18
mov eax, 0x48ba0c
lea ecx, [ebp - 0xa0]
call fcn.00402d60
cmp dword [ebp - 0xa8], 0x10
mov eax, dword [ebp - 0xbc]
jae 0x408248
lea eax, [ebp - 0xbc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
jne 0x408372
cmp dword [ebp - 0x8c], 0x10
mov eax, dword [ebp - 0xa0]
jae 0x40826e
lea eax, [ebp - 0xa0]
push eax
call edi
test eax, eax
jne 0x4082d2
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0xa0]
cmp dword [ebp + 0xc], ebx
je 0x408297
push str.http:__jn.d.appduoduo.com_pcd_patches_itunes32_AppSupport.zip
push ecx
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x18
jmp 0x4082a9
push str.http:__cs.d.appduoduo.com_pcd_patches_itunes32_AppSupport.zip
push ecx
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0040c920
push eax
lea edx, [ebp - 0x128]
push edx
push edi
call fcn.0040c4d0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x30]
push eax
call fcn.00408930
push 0x17
push str.itunes32_AppSupport.zip
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x1a
mov edi, dword [ebp - 0x114]
add edi, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x18], 0x10
jb 0x408315
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ca67
add esp, 4
push 0x1b
push str.AppleApplicationSupport.msi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x1b
mov edi, dword [ebp - 0x114]
add edi, 0x20
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x118], edi
call fcn.0040b9e0
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x38], 0x10
jb 0x408367
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x4083c4
push 0x1b
push str.AppleApplicationSupport.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x1c
mov edi, dword [ebp - 0x114]
add edi, 0x20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x118], edi
call fcn.0040b9e0
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x18], 0x10
jb 0x4083bb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
call fcn.00405160
mov byte [ebp - 4], 0x1d
push 1
mov eax, 0x488730
lea ecx, [ebp - 0xd8]
call fcn.00402d60
push 0x1c
mov eax, str.AppleMobileDeviceSupport.msi
lea ecx, [ebp - 0xd8]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00405160
mov byte [ebp - 4], 0x1e
push 0x1e
mov eax, 0x48bae0
lea ecx, [ebp - 0x68]
call fcn.00402d60
cmp dword [ebp - 0xc4], 0x10
mov eax, dword [ebp - 0xd8]
jae 0x408456
lea eax, [ebp - 0xd8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
jne 0x40856b
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x408473
lea eax, [ebp - 0x68]
push eax
call edi
test eax, eax
jne 0x4084d4
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x68]
cmp dword [ebp + 0xc], ebx
je 0x408499
push str.http:__jn.d.appduoduo.com_pcd_patches_itunes32_AppMobileSupport.zip
push eax
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x1f
jmp 0x4084ab
push str.http:__cs.d.appduoduo.com_pcd_patches_itunes32_AppMobileSupport.zip
push eax
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x20
mov edi, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0040c920
push eax
lea ecx, [ebp - 0x128]
push ecx
push edi
call fcn.0040c4d0
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x30]
push edx
call fcn.00408930
push 0x1d
push str.itunes32_AppMobileSupport.zip
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x21
mov edi, dword [ebp - 0x114]
add edi, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x18], 0x10
jb 0x408517
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042ca67
add esp, 4
push 0x1c
push str.AppleMobileDeviceSupport.msi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x22
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x4c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x38], 0x10
jb 0x408560
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x4085b4
push 0x1c
push str.AppleMobileDeviceSupport.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x23
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x18], 0x10
jb 0x4085ab
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
call fcn.00405160
mov byte [ebp - 4], 0x24
push 1
mov eax, 0x488730
lea ecx, [ebp - 0xf4]
call fcn.00402d60
push 0xb
mov eax, str.Bonjour.msi
lea ecx, [ebp - 0xf4]
call fcn.00402d60
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00405160
mov byte [ebp - 4], 0x25
push 0xc
mov eax, 0x48bbb8
lea ecx, [ebp - 0x84]
call fcn.00402d60
cmp dword [ebp - 0xe0], 0x10
mov eax, dword [ebp - 0xf4]
jae 0x40864f
lea eax, [ebp - 0xf4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
jne 0x408785
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
jae 0x408672
lea eax, [ebp - 0x84]
push eax
call edi
test eax, eax
jne 0x4086e4
mov dword [ebp - 0x11c], ebx
lea edx, [ebp - 0x30]
cmp dword [ebp + 0xc], ebx
je 0x4086a1
push str.http:__jn.d.appduoduo.com_pcd_patches_Bonjour.zip
push edx
lea edx, [ebp - 0x84]
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x26
jmp 0x4086b9
push str.http:__cs.d.appduoduo.com_pcd_patches_Bonjour.zip
push edx
lea edx, [ebp - 0x84]
call fcn.0040c3c0
add esp, 8
mov byte [ebp - 4], 0x27
mov edi, dword [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0040c920
push eax
lea eax, [ebp - 0x128]
push eax
push edi
call fcn.0040c4d0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x30]
push ecx
call fcn.00408930
jmp 0x4086ee
mov dword [ebp - 0x11c], 1
push 0xb
push str.Bonjour.zip
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x28
mov edi, dword [ebp - 0x114]
add edi, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x18], 0x10
jb 0x408731
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ca67
add esp, 4
push 0xb
push str.Bonjour.msi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x29
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x4c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x38], 0x10
jb 0x40877a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x4087d8
push 0xb
push str.Bonjour.msi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004054e0
mov byte [ebp - 4], 0x2a
mov edi, dword [ebp - 0x118]
lea ecx, [ebp - 0x2c]
call fcn.0040b9e0
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x18], 0x10
jb 0x4087c5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x11c], 1
mov byte [ebp - 4], 0x24
mov edi, 0x10
cmp dword [ebp - 0x70], edi
jb 0x4087f5
mov edx, dword [ebp - 0x84]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xe0], edi
jb 0x40881c
mov eax, dword [ebp - 0xf4]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x54], edi
jb 0x408843
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0xc4], edi
jb 0x408867
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x8c], edi
jb 0x408894
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa8], edi
jb 0x4088c0
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov esi, 0xf
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xfc], edi
jb 0x4088f5
mov edx, dword [ebp - 0x110]
push edx
call fcn.0042ca67
add esp, 4
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0x110], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ca72
mov esp, ebp
pop ebp
ret 8