Function at 0x410aac
Capabilities:
Delete directory
Delete file
Get disk size
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1bc
mov word [ebp - 0x6a], 0xfffe
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x20], 0
mov word [ebp - 0xbe], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x1c], 1
jmp 0x4112b6
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x674503
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x410b7a
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__debug
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410b8b
mov dword [esp], 1
call fcn.004208bc
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x67450e
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x410bd5
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__udid
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410c4b
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
je 0x410c0b
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x28
je 0x410c27
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0xbc], eax
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x674518
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x410c95
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__source
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410d08
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
je 0x410ccb
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x28
je 0x410ce7
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x20], eax
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x674524
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x410d52
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__help
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410d6e
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0
jmp 0x413746
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.backup
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410d9f
mov dword [ebp - 0x24], 0
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.restore
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410dd0
mov dword [ebp - 0x24], 1
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__system
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410dfe
or dword [ebp - 0x28], 2
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__reboot
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410e2c
or dword [ebp - 0x28], 4
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__copy
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410e5a
or dword [ebp - 0x28], 8
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__settings
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410e88
or dword [ebp - 0x28], 0x10
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__remove
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410eb6
or dword [ebp - 0x28], 0x20
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.__password
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410f41
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
jne 0x410f0f
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
cmp dword [ebp - 0x38], 0
je 0x410f20
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x38], eax
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x674575
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410f7c
mov dword [ebp - 0x24], 2
mov dword [0x6f6080], 0
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x67457a
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410fb7
mov dword [ebp - 0x24], 3
mov dword [0x6f6080], 0
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.unback
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410fe8
mov dword [ebp - 0x24], 4
jmp 0x4112b3
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x674586
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41117a
mov dword [ebp - 0x24], 5
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
jne 0x411058
mov dword [esp], str.No_argument_given_for_encryption_command__requires_either_on_or_off.
call sub.msvcrt.dll_puts
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x6745dd
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x411083
or dword [ebp - 0x28], 0x40
jmp 0x4110d2
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], 0x6745e0
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4110b1
or dword [ebp - 0x28], 0x80
jmp 0x4110d2
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str.Invalid_argument__s_for_encryption_command__must_be_either_on_or_off._n
call sub.msvcrt.dll_printf
cmp dword [ebp - 0x3c], 0
je 0x4110ea
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0
je 0x411102
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x38], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
je 0x4112af
mov eax, dword [ebp - 0x28]
and eax, 0x40
test eax, eax
je 0x411149
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x3c], eax
jmp 0x4112af
mov eax, dword [ebp - 0x28]
and eax, 0x80
test eax, eax
je 0x4112af
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x38], eax
jmp 0x4112af
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], str.changepw
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x411277
mov dword [ebp - 0x24], 5
or dword [ebp - 0x28], 0x100
cmp dword [ebp - 0x3c], 0
je 0x4111c9
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0
je 0x4111e1
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x38], 0
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
je 0x4112b2
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
jne 0x411259
mov dword [esp], str.Old_and_new_passwords_have_to_be_passed_as_arguments_for_the_changepw_command
call sub.msvcrt.dll_puts
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x3c], eax
jmp 0x4112b2
cmp dword [ebp - 0x34], 0
jne 0x411293
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jmp 0x4112b3
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
nop
jmp 0x4112b3
nop
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jl 0x410b30
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4112f0
mov dword [esp], str.No_command_specified.
call sub.msvcrt.dll_puts
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
cmp dword [ebp - 0x24], 5
jne 0x411307
mov dword [esp], str..this_folder_is_not_present_on_purpose
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x34], eax
jmp 0x41136b
cmp dword [ebp - 0x34], 0
jne 0x411335
mov dword [esp], str.No_target_backup_directory_specified.
call sub.msvcrt.dll_puts
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00410944
mov eax, 0xffffffff
jmp 0x413746
lea eax, [ebp - 0xe4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.msvcrt.dll__stat
test eax, eax
je 0x41136b
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], str.ERROR:_Backup_directory___s__does_not_exist__n
call sub.msvcrt.dll_printf
mov eax, 0xffffffff
jmp 0x413746
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4113f4
mov dword [ebp - 0x40], 5
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00417872
mov word [ebp - 0x6a], ax
mov eax, dword [ebp - 0xf0]
test eax, eax
jne 0x4113cc
mov dword [esp], 0x3e8
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov eax, dword [ebp - 0x40]
not eax
shr eax, 0x1f
dec dword [ebp - 0x40]
test al, al
jne 0x411386
jmp 0x4113cd
nop
cmp word [ebp - 0x6a], 0
je 0x411443
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], eax
mov dword [esp], str.No_device_found_with_udid__s__is_it_plugged_in__n
call sub.msvcrt.dll_printf
mov eax, 0xffffffff
jmp 0x413746
mov dword [esp + 4], 0
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00417872
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
je 0x41142b
mov dword [esp], str.No_device_found__is_it_plugged_in_
call sub.msvcrt.dll_puts
mov eax, 0xffffffff
jmp 0x413746
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xbc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00417da4
cmp dword [ebp - 0x20], 0
jne 0x41145a
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x71], 0
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x24], 5
je 0x411487
mov eax, dword [0x6f6080]
test eax, eax
jle 0x411487
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], str.Backup_directory_is___s__n
call sub.msvcrt.dll_printf
cmp byte [ebp - 0x71], 0
je 0x411503
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4114a2
mov dword [esp], str.This_is_an_encrypted_backup.
call sub.msvcrt.dll_puts
cmp dword [ebp - 0x38], 0
jne 0x411503
mov dword [esp + 4], 0
mov dword [esp], str.Enter_backup_password
call fcn.0041077f
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4114ce
mov eax, dword [ebp - 0x38]
mov al, byte [eax]
test al, al
jne 0x411503
cmp dword [ebp - 0x38], 0
je 0x4114df
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.004178cb
mov dword [esp], str.ERROR:_a_backup_password_is_required_to_restore_an_encrypted_backup._Cannot_continue.
call sub.msvcrt.dll_puts
mov eax, 0xffffffff
jmp 0x413746
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf0]
mov dword [esp + 8], str.idevicebackup
lea edx, [ebp - 0xf4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00419f03
test ax, ax
je 0x41154a
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.004178cb
mov eax, 0xffffffff
jmp 0x413746
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xbe]
mov dword [esp + 8], edx
mov dword [esp + 4], str.com.apple.mobile.notification_proxy
mov dword [esp], eax
call fcn.0041a129
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
jne 0x411605
mov ax, word [ebp - 0xbe]
test ax, ax
je 0x411605
mov ax, word [ebp - 0xbe]
movzx edx, ax
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf8]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041fb71
mov eax, dword [ebp - 0xf8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40dec0
mov dword [esp], eax
call fcn.0041ff49
lea edx, [ebp - 0x114]
mov ebx, 0x5f426c
mov eax, 5
mov edi, edx
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0x114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041ff0b
jmp 0x411619
mov dword [esp + 4], str.com.apple.mobile.notification_proxy
mov dword [esp], str.ERROR:_Could_not_start_service__s._n
call sub.msvcrt.dll_printf
mov dword [ebp - 0xfc], 0
cmp dword [ebp - 0x24], 0
jne 0x41168f
mov word [ebp - 0xbe], 0
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xbe]
mov dword [esp + 8], edx
mov dword [esp + 4], str.com.apple.afc
mov dword [esp], eax
call fcn.0041a129
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
jne 0x41168f
mov ax, word [ebp - 0xbe]
test ax, ax
je 0x41168f
mov ax, word [ebp - 0xbe]
movzx edx, ax
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xfc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041e028
mov dword [ebp - 0x100], 0
mov word [ebp - 0xbe], 0
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xbe]
mov dword [esp + 8], edx
mov dword [esp + 4], str.com.apple.mobilebackup2
mov dword [esp], eax
call fcn.0041a129
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
jne 0x413616
mov ax, word [ebp - 0xbe]
test ax, ax
je 0x413616
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41170c
mov ax, word [ebp - 0xbe]
movzx eax, ax
mov dword [esp + 8], eax
mov dword [esp + 4], str.com.apple.mobilebackup2
mov dword [esp], str.Started___s__service_on_port__d._n
call sub.msvcrt.dll_printf
mov ax, word [ebp - 0xbe]
movzx edx, ax
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0x100]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004200c7
lea edx, [ebp - 0x128]
mov ebx, 0x5f4280
mov eax, 4
mov edi, edx
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov eax, 0
mov edx, 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0x130]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 2
lea edx, [ebp - 0x128]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004203fa
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x4117b5
movsx eax, word [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], str.Could_not_perform_backup_protocol_version_exchange__error_code__d_n
call sub.msvcrt.dll_printf
mov dword [ebp - 0x24], 6
jmp 0x411ac9
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4117de
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], str.Negotiated_Protocol_Version__.1f_n
call sub.msvcrt.dll_printf
mov eax, dword [0x6f6084]
test eax, eax
jle 0x411808
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4117fc
mov dword [esp], str.Aborting_as_requested_by_user...
call sub.msvcrt.dll_puts
mov dword [ebp - 0x24], 6
jmp 0x411ac9
cmp dword [ebp - 0x44], 0
je 0x411870
lea eax, [ebp - 0xe4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sub.msvcrt.dll__stat
test eax, eax
jne 0x411870
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41183c
mov dword [esp], str.Reading_Info.plist_from_backup.
call sub.msvcrt.dll_puts
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0040e99a
mov eax, dword [ebp - 0xec]
test eax, eax
jne 0x41187d
mov dword [esp], str.Could_not_read_Info.plist
call sub.msvcrt.dll_puts
mov dword [ebp - 0x2c], 1
jmp 0x41187d
cmp dword [ebp - 0x24], 1
je 0x41187d
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x24], 0
jne 0x4118d5
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncWillStart
mov dword [esp], eax
call fcn.0040ec05
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0x138]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 2
mov dword [esp + 4], str._com.apple.itunes.lock_sync
mov dword [esp], eax
call fcn.0041e76f
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
or eax, edx
test eax, eax
je 0x411a44
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncLockRequest
mov dword [esp], eax
call fcn.0040ec05
mov dword [ebp - 0x1c], 0
jmp 0x4119cf
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 0xc], 6
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0041ef8a
mov word [ebp - 0x76], ax
cmp word [ebp - 0x76], 0
jne 0x41195a
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncDidStart
mov dword [esp], eax
call fcn.0040ec05
jmp 0x4119d9
cmp word [ebp - 0x76], 0x13
jne 0x41196f
mov dword [esp], 0x30d40
call fcn.00598bd0
jmp 0x4119cc
movsx eax, word [ebp - 0x76]
mov dword [esp + 8], eax
mov dword [esp + 4], str.ERROR:_could_not_lock_file__error_code:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0041ee77
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x24], 6
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x31
jle 0x41190d
cmp dword [ebp - 0x1c], 0x32
jne 0x411a44
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp], str.ERROR:_timeout_while_locking_for_sync_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0041ee77
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x24], 6
mov byte [ebp - 0x139], 0
mov dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xe8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.WillEncrypt
mov dword [esp + 4], str.com.apple.mobile.backup
mov dword [esp], eax
call fcn.00418860
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x411ac9
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.00422c6c
test eax, eax
jne 0x411ab1
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0x139]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00422ddc
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.00422520
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0x24], 5
ja 0x41240e
mov eax, dword [ebp - 0x24]
shl eax, 2
add eax, 0x6755f0
mov eax, dword [eax]
jmp eax
nop
jmp 0x41241e
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x412440
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.0041909f
mov dword [ebp - 0xf4], 0
cmp dword [ebp - 0x24], 6
je 0x413582
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
jmp 0x41247d
nop
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x41249f
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0x144]
mov dword [esp + 8], edx
lea edx, [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004202b3
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x4124d5
mov eax, dword [ebp - 0x144]
test eax, eax
jne 0x4124fe
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4124ea
mov dword [esp], str.Device_is_not_ready_yet._Going_to_try_again_in_2_seconds...
call sub.msvcrt.dll_puts
mov dword [esp], 0x7d0
call sub.KERNEL32.dll_Sleep
sub esp, 4
jmp 0x41328d
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageDownloadFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412554
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ef3b
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040f6b3
jmp 0x413224
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageUploadFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4125ad
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ef3b
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040f9d2
add dword [ebp - 0x4c], eax
jmp 0x413224
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageGetFreeDiskSpace
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412657
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x58], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x150]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.KERNEL32.dll_GetDiskFreeSpaceExA
sub esp, 0x10
test eax, eax
je 0x412619
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004223b8
mov edx, dword [ebp - 0x100]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00420734
jmp 0x413224
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLContentsOfDirectory
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412695
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ffca
jmp 0x413224
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageCreateDirectory
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4126d3
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00410286
jmp 0x413224
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageMoveFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41270b
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageMoveItems
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412a41
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ef3b
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00422580
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.004226e4
mov dword [ebp - 0xb0], eax
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41278b
cmp dword [ebp - 0xb0], 1
jne 0x41276c
mov eax, 0x67518d
jmp 0x412771
mov eax, 0x67518e
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov dword [esp], str.Moving__d_file_s_n
call sub.msvcrt.dll_printf
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.00422710
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4129da
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x15c]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x158]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.00422744
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x4129bc
mov eax, dword [ebp - 0x15c]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 3
jne 0x4129bc
mov dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00422d34
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x4129a4
mov eax, dword [ebp - 0x160]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.004086a1
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x158]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.004086a1
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call sub.msvcrt.dll__stat
test eax, eax
jne 0x4128f7
mov ax, word [ebp - 0x196]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x4000
jne 0x4128f7
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call sub.KERNEL32.dll_RemoveDirectoryA
sub esp, 4
jmp 0x412908
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
call sub.msvcrt.dll_rename
test eax, eax
jns 0x412988
call sub.msvcrt.dll__errno
mov ebx, dword [eax]
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 4], eax
mov dword [esp], str.Renameing__s_to__s_failed:__s___d__n
call sub.msvcrt.dll_printf
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0040f0ed
mov dword [ebp - 0x50], eax
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [ebp - 0x54], eax
jmp 0x4129ca
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x158]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x15c]
test eax, eax
jne 0x4127dd
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call fcn.005a0e48
jmp 0x4129f4
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x54], str.Could_not_create_dict_iterator
mov dword [esp], str.Could_not_create_dict_iterator
call sub.msvcrt.dll_puts
call fcn.004222a4
mov edx, dword [ebp - 0x100]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00420734
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x413220
movsx eax, word [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], str.Could_not_send_status_response__error__d_n
call sub.msvcrt.dll_printf
jmp 0x413220
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageRemoveFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x412a79
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageRemoveItems
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412d3e
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ef3b
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00422580
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00422558
mov dword [ebp - 0x98], eax
mov eax, dword [0x6f6080]
test eax, eax
jle 0x412af9
cmp dword [ebp - 0x98], 1
jne 0x412ada
mov eax, 0x67518d
jmp 0x412adf
mov eax, 0x67518e
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], eax
mov dword [esp], str.Removing__d_file_s_n
call sub.msvcrt.dll_printf
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
jmp 0x412ce2
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00422580
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 3
jne 0x412cdf
mov dword [ebp - 0x164], 0
lea eax, [ebp - 0x164]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.00422d34
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x412cdf
mov eax, dword [ebp - 0x164]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0xa0], 0
je 0x412bca
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [esp + 4], str.Manifest.mbdx
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412bca
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x164]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.004086a1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sub.msvcrt.dll__stat
test eax, eax
jne 0x412c4a
mov ax, word [ebp - 0x196]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x4000
jne 0x412c4a
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sub.KERNEL32.dll_RemoveDirectoryA
sub esp, 4
mov dword [ebp - 0x64], eax
jmp 0x412c5e
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x412cd1
call sub.KERNEL32.dll_GetLastError
mov dword [esp], eax
call fcn.0040f114
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0x60], 0
jne 0x412caf
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov edx, dword [ebp - 0xa8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], eax
mov dword [esp], str.Could_not_remove__s:__s___d__n
call sub.msvcrt.dll_printf
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call fcn.0040f0ed
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call fcn.005a0e48
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x98]
jb 0x412b1a
call fcn.004222a4
mov edx, dword [ebp - 0x100]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00420734
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x413223
movsx eax, word [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], str.Could_not_send_status_response__error__d_n
call sub.msvcrt.dll_printf
jmp 0x413223
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageCopyItem
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412fb1
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00422580
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00422580
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 3
jne 0x412f64
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 3
jne 0x412f64
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x16c], 0
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call fcn.00422d34
lea eax, [ebp - 0x16c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.00422d34
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x412f48
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x412f48
mov eax, dword [ebp - 0x168]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.004086a1
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.004086a1
mov dword [ebp - 0x8c], eax
mov eax, dword [0x6f6080]
test eax, eax
jle 0x412e96
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x168]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.Copying__s_to__s_n
call sub.msvcrt.dll_printf
lea eax, [ebp - 0xe4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call sub.msvcrt.dll__stat
test eax, eax
jne 0x412ee2
mov ax, word [ebp - 0xde]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x4000
jne 0x412ee2
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.004104dc
jmp 0x412f2c
lea eax, [ebp - 0xe4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call sub.msvcrt.dll__stat
test eax, eax
jne 0x412f2c
mov ax, word [ebp - 0xde]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x8000
jne 0x412f2c
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.004103df
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.005a0e48
call fcn.004222a4
mov edx, dword [ebp - 0x100]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00420734
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x413224
movsx eax, word [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], str.Could_not_send_status_response__error__d_n
call sub.msvcrt.dll_printf
jmp 0x413224
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0x675258
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41329c
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0x67526c
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x413224
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00422580
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 5
je 0x413028
mov dword [esp], str.Unknown_message_received_
call sub.msvcrt.dll_puts
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], 0x67529e
mov dword [esp], eax
call fcn.00422960
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4130c0
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 1
jne 0x4130c0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x178]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00422e5c
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x4130b8
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0
jmp 0x4130c0
mov eax, dword [ebp - 0x68]
neg eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.ErrorDescription
mov dword [esp], eax
call fcn.00422960
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x170], 0
cmp dword [ebp - 0x90], 0
je 0x41311a
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 3
jne 0x41311a
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00422d34
cmp dword [ebp - 0x68], 0
je 0x41316b
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.0041088b
test eax, eax
jne 0x41316b
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x413158
mov eax, dword [ebp - 0x170]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
mov dword [esp], str.ErrorCode__d:__s_n
call sub.msvcrt.dll_printf
jmp 0x41316b
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
mov dword [esp], str.ErrorCode__d:__Unknown__n
call sub.msvcrt.dll_printf
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x413183
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.Content
mov dword [esp], eax
call fcn.00422960
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x41329d
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00422c6c
cmp eax, 3
jne 0x41329d
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00422d34
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4131fa
mov dword [esp], str.Content:
call sub.msvcrt.dll_puts
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], eax
mov dword [esp], 0x6752f5
call sub.msvcrt.dll_printf
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call fcn.005a0e48
jmp 0x41329d
nop
jmp 0x413224
nop
fld qword [0x6f6090]
fldz
fxch st(1)
fucompp
fnstsw ax
test ah, 0x45
jne 0x41326b
mov eax, dword [0x6f6090]
mov edx, dword [0x6f6094]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040ecb3
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41326b
mov dword [esp], str._Finished
call sub.msvcrt.dll_puts
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x413283
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.00422520
mov dword [ebp - 0x140], 0
mov eax, dword [0x6f6084]
test eax, eax
jle 0x41247c
jmp 0x41329d
nop
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x4134c1
cmp eax, 1
jg 0x4132b7
test eax, eax
je 0x4132ce
jmp 0x413521
cmp eax, 4
je 0x41337b
cmp eax, 5
je 0x4133d5
jmp 0x413521
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4132ea
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], str.Received__d_files_from_device._n
call sub.msvcrt.dll_printf
cmp dword [ebp - 0x48], 0
je 0x413328
mov eax, dword [ebp - 0xbc]
mov dword [esp + 8], str.finished
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.0040eb02
test eax, eax
je 0x413328
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413376
mov dword [esp], str.Backup_Successful.
call sub.msvcrt.dll_puts
jmp 0x413376
mov eax, dword [0x6f6084]
test eax, eax
je 0x41334f
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413575
mov dword [esp], str.Backup_Aborted.
call sub.msvcrt.dll_puts
jmp 0x413575
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413575
mov eax, dword [ebp - 0x30]
neg eax
mov dword [esp + 4], eax
mov dword [esp], str.Backup_Failed__Error_Code__d_._n
call sub.msvcrt.dll_printf
jmp 0x413575
jmp 0x413575
mov eax, dword [0x6f6084]
test eax, eax
je 0x4133a2
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413578
mov dword [esp], str.Unback_Aborted.
call sub.msvcrt.dll_puts
jmp 0x413578
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4133b7
mov dword [esp], str.The_files_can_now_be_found_in_the___unback___directory.
call sub.msvcrt.dll_puts
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413578
mov dword [esp], str.Unback_Successful.
call sub.msvcrt.dll_puts
jmp 0x413578
mov eax, dword [ebp - 0x28]
and eax, 0x40
test eax, eax
je 0x413421
cmp dword [ebp - 0x48], 0
je 0x413403
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357b
mov dword [esp], str.Backup_encryption_has_been_enabled_successfully.
call sub.msvcrt.dll_puts
jmp 0x41357b
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357b
mov dword [esp], str.Could_not_enable_backup_encryption.
call sub.msvcrt.dll_puts
jmp 0x41357b
mov eax, dword [ebp - 0x28]
and eax, 0x80
test eax, eax
je 0x41346f
cmp dword [ebp - 0x48], 0
je 0x413451
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357b
mov dword [esp], str.Backup_encryption_has_been_disabled_successfully.
call sub.msvcrt.dll_puts
jmp 0x41357b
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357b
mov dword [esp], str.Could_not_disable_backup_encryption.
call sub.msvcrt.dll_puts
jmp 0x41357b
mov eax, dword [ebp - 0x28]
and eax, 0x100
test eax, eax
je 0x41357b
cmp dword [ebp - 0x48], 0
je 0x4134a3
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357b
mov dword [esp], str.Backup_encryption_password_has_been_changed_successfully.
call sub.msvcrt.dll_puts
jmp 0x41357b
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357b
mov dword [esp], str.Could_not_change_backup_encryption_password.
call sub.msvcrt.dll_puts
jmp 0x41357b
mov eax, dword [ebp - 0x28]
and eax, 4
test eax, eax
je 0x4134e0
mov eax, dword [0x6f6080]
test eax, eax
jle 0x4134e0
mov dword [esp], str.The_device_should_reboot_now.
call sub.msvcrt.dll_puts
cmp dword [ebp - 0x48], 0
je 0x413501
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357e
mov dword [esp], str.Restore_Successful.
call sub.msvcrt.dll_puts
jmp 0x41357e
mov eax, dword [0x6f6080]
test eax, eax
jle 0x41357e
mov eax, dword [ebp - 0x30]
neg eax
mov dword [esp + 4], eax
mov dword [esp], str.Restore_Failed__Error_Code__d_._n
call sub.msvcrt.dll_printf
jmp 0x41357e
mov eax, dword [0x6f6084]
test eax, eax
je 0x413541
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413581
mov dword [esp], str.Operation_Aborted.
call sub.msvcrt.dll_puts
jmp 0x413581
cmp dword [ebp - 0x24], 6
jne 0x41355e
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413581
mov dword [esp], str.Operation_Failed.
call sub.msvcrt.dll_puts
jmp 0x413581
mov eax, dword [0x6f6080]
test eax, eax
jle 0x413581
mov dword [esp], str.Operation_Successful.
call sub.msvcrt.dll_puts
jmp 0x413581
nop
jmp 0x413582
nop
jmp 0x413582
nop
jmp 0x413582
nop
jmp 0x413582
nop
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
or eax, edx
test eax, eax
je 0x413644
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 0xc], 0xc
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0041ef8a
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0041ee77
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x24], 0
jne 0x413644
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncDidFinish
mov dword [esp], eax
call fcn.0040ec05
jmp 0x413644
mov dword [esp + 4], str.com.apple.mobilebackup2
mov dword [esp], str.ERROR:_Could_not_start_service__s._n
call sub.msvcrt.dll_printf
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.0041909f
mov dword [ebp - 0xf4], 0
jmp 0x413645
nop
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x413667
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.0041909f
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x413689
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.0042007a
mov dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4136ab
mov eax, dword [ebp - 0xfc]
mov dword [esp], eax
call fcn.0041e0a5
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x4136cd
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call fcn.0041fbe0
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.004178cb
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x413707
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0x20], 0
je 0x41371f
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x30]
neg eax
mov dword [esp], eax
call fcn.0041088b
test eax, eax
je 0x413737
mov dword [ebp - 0x30], 0
mov dword [esp], 0
call fcn.004108d1
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret