Function at 0x42e4a0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44b822
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x45e0a0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x240], esi
mov eax, dword [0x45fb34]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fb34
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x18]
push eax
push 0x20019
push esi
push str.SOFTWAREApple_Computer__Inc.iPodRegisteredApps4
mov byte [esp + 0x250], 1
push closesocket
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42e5ce
mov eax, dword [ebx - 8]
mov ebp, dword [esp + 0x18]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x208
or eax, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], 0x208
jge 0x42e563
mov eax, 0x208
lea ecx, [esp + 0x1c]
call fcn.004033eb
mov ebx, dword [esp + 0x1c]
push str.path
lea ecx, [esp + 0x28]
push ecx
lea esi, [esp + 0x28]
mov edi, ebx
call fcn.00404e4d
test ebx, ebx
jne 0x42e580
xor eax, eax
jmp 0x42e591
push ebx
call fcn.00434f36
add esp, 4
test eax, eax
jl 0x42e6ac
cmp eax, dword [ebx - 8]
jg 0x42e6ac
push str..dll
push str..exe
lea edx, [esp + 0x24]
mov dword [ebx - 0xc], eax
push edx
mov word [ebx + eax*2], 0
call fcn.0040a3b1
test ebp, ebp
je 0x42e5ca
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e713
mov eax, dword [0x45fb34]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fb34
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x206
lea eax, [esp + 0x32]
push 0
mov byte [esp + 0x248], 2
push eax
mov word [esp + 0x38], 0
call fcn.00434800
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0x34]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push str._sThinkSkyiToolsDriver
push eax
call fcn.00402dc0
mov ebp, dword [esp + 0x24]
add esp, 0xc
push 0
push ebp
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esp + 0x20]
push str.iTunes.dll
push ecx
lea ecx, [esp + 0x20]
call fcn.00401d56
add esp, 8
mov byte [esp + 0x240], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x42e6c7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42e6b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42e6b6
call fcn.00402e21
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42e6a3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x42e6c7
push 0x80070057
call fcn.00403502
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00402e84
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x240], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e6ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e713
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e757
add ebx, 0xfffffff0
mov byte [esp + 0x240], al
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e741
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42e750
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42e8f6
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov byte [esp + 0x240], 6
mov eax, dword [0x45fb34]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fb34
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
lea eax, [esp + 0x28]
push eax
push 0x20019
push ebp
push str.SOFTWAREApple_Inc.Apple_Mobile_Device_SupportShared
mov byte [esp + 0x250], 7
push closesocket
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e833
mov eax, dword [edi - 8]
mov ebp, dword [esp + 0x28]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x208
or eax, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], 0x208
jge 0x42e7e0
mov eax, 0x208
lea ecx, [esp + 0x20]
call fcn.004033eb
mov edi, dword [esp + 0x20]
push str.AirTrafficHostDLL
lea ecx, [esp + 0x1c]
push ecx
lea esi, [esp + 0x30]
call fcn.00404e4d
test edi, edi
jne 0x42e7fb
xor eax, eax
jmp 0x42e80c
push edi
call fcn.00434f36
add esp, 4
test eax, eax
jl 0x42e6ac
cmp eax, dword [edi - 8]
jg 0x42e6ac
test ebp, ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
je 0x42e839
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x42e839
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add edi, 0xfffffff0
test eax, eax
mov byte [esp + 0x240], 6
jne 0x42e8a2
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42e868
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
test ebp, ebp
je 0x42e86f
push ebp
call esi
add ebx, 0xfffffff0
mov byte [esp + 0x240], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e893
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42e89e
push eax
call esi
xor eax, eax
jmp 0x42e8f6
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e8bb
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
test ebp, ebp
je 0x42e8c2
push ebp
call esi
add ebx, 0xfffffff0
mov byte [esp + 0x240], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e8e6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42e8f1
push eax
call esi
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004347e5
add esp, 0x230
ret