Function at 0x10007450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100160a0]
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 + 0xc]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], esi
test ecx, ecx
je 0x10007624
test edi, edi
je 0x10007624
test eax, eax
je 0x10007624
xor eax, eax
cmp edx, eax
je 0x10007624
cmp esi, eax
je 0x10007624
cmp dword [ebp - 0x30], eax
je 0x10007624
cmp ebx, eax
je 0x10007624
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.100072b0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1000750a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10007618
call dword [sym.imp.libplist2.dll_plist_new_dict]
push edi
mov esi, eax
call dword [sym.imp.libplist2.dll_plist_new_string]
mov edi, dword [sym.imp.libplist2.dll_plist_dict_set_item]
push eax
push str.HostID
push esi
call edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov ebx, dword [sym.imp.libplist2.dll_plist_new_data]
push 0
push eax
push ecx
call ebx
push eax
push str.DeviceCertificate
push esi
call edi
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push edx
push eax
call ebx
push eax
push str.HostCertificate
push esi
call edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
add esp, 0x40
push 0
push ecx
push edx
call ebx
push eax
push str.HostPrivateKey
push esi
call edi
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0
push ecx
push edx
call ebx
push eax
push str.RootCertificate
push esi
call edi
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0
push ecx
push edx
call ebx
push eax
push str.RootPrivateKey
push esi
call edi
mov eax, dword [ebp - 0x44]
mov ebx, dword [sym.imp.libplist2.dll_plist_copy]
add esp, 0x48
test eax, eax
je 0x100075cf
push eax
call ebx
push eax
push str.EscrowBag
push esi
call edi
add esp, 0x10
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.libplist2.dll_plist_new_string]
push eax
push str.SystemBUID
push esi
call edi
mov eax, dword [ebp - 0x40]
add esp, 0x10
test eax, eax
je 0x100075fb
push eax
call ebx
push eax
push str.WiFiMACAddress
push esi
call edi
add esp, 0x10
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x10007607
lea ecx, [ebp - 0x2c]
mov eax, esi
call fcn.10008870
push esi
call dword [sym.imp.libplist2.dll_plist_free]
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.10007ae0
xor eax, eax
jmp 0x10007627
or eax, 0xffffffff
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.1000d620
mov esp, ebp
pop ebp
ret