Function at 0x410734
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 0x410f3e
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], 0x657be3
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x410802
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 0x410813
mov dword [esp], 1
call fcn.0041f65c
jmp 0x410f3b
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], 0x657bee
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41085d
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 0x4108d3
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 0x410893
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 0x4108af
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
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 0x410f3b
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], 0x657bf8
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41091d
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 0x410990
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 0x410953
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 0x41096f
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
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 0x410f3b
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], 0x657c04
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4109da
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 0x4109f6
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004105cc
mov eax, 0
jmp 0x4133ce
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 0x410a27
mov dword [ebp - 0x24], 0
jmp 0x410f3b
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 0x410a58
mov dword [ebp - 0x24], 1
jmp 0x410f3b
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 0x410a86
or dword [ebp - 0x28], 2
jmp 0x410f3b
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 0x410ab4
or dword [ebp - 0x28], 4
jmp 0x410f3b
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 0x410ae2
or dword [ebp - 0x28], 8
jmp 0x410f3b
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 0x410b10
or dword [ebp - 0x28], 0x10
jmp 0x410f3b
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 0x410b3e
or dword [ebp - 0x28], 0x20
jmp 0x410f3b
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 0x410bc9
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 0x410b97
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
cmp dword [ebp - 0x38], 0
je 0x410ba8
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0059fbf8
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 0x410f3b
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], 0x657c55
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410c04
mov dword [ebp - 0x24], 2
mov dword [0x6d9080], 0
jmp 0x410f3b
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], 0x657c5a
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410c3f
mov dword [ebp - 0x24], 3
mov dword [0x6d9080], 0
jmp 0x410f3b
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 0x410c70
mov dword [ebp - 0x24], 4
jmp 0x410f3b
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], 0x657c66
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410e02
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 0x410ce0
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.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
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], 0x657cbd
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410d0b
or dword [ebp - 0x28], 0x40
jmp 0x410d5a
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], 0x657cc0
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x410d39
or dword [ebp - 0x28], 0x80
jmp 0x410d5a
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 0x410d72
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0059fbf8
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0
je 0x410d8a
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0059fbf8
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 0x410f37
mov eax, dword [ebp - 0x28]
and eax, 0x40
test eax, eax
je 0x410dd1
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 0x410f37
mov eax, dword [ebp - 0x28]
and eax, 0x80
test eax, eax
je 0x410f37
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 0x410f37
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 0x410eff
mov dword [ebp - 0x24], 5
or dword [ebp - 0x28], 0x100
cmp dword [ebp - 0x3c], 0
je 0x410e51
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0059fbf8
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0
je 0x410e69
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0059fbf8
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 0x410f3a
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 0x410ee1
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.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
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 0x410f3a
cmp dword [ebp - 0x34], 0
jne 0x410f1b
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 0x410f3b
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
nop
jmp 0x410f3b
nop
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jl 0x4107b8
cmp dword [ebp - 0x24], 0xffffffff
jne 0x410f78
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.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
cmp dword [ebp - 0x24], 5
jne 0x410f8f
mov dword [esp], str..this_folder_is_not_present_on_purpose
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x34], eax
jmp 0x410ff3
cmp dword [ebp - 0x34], 0
jne 0x410fbd
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.004105cc
mov eax, 0xffffffff
jmp 0x4133ce
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 0x410ff3
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 0x4133ce
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x41107c
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.00416612
mov word [ebp - 0x6a], ax
mov eax, dword [ebp - 0xf0]
test eax, eax
jne 0x411054
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 0x41100e
jmp 0x411055
nop
cmp word [ebp - 0x6a], 0
je 0x4110cb
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 0x4133ce
mov dword [esp + 4], 0
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00416612
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
je 0x4110b3
mov dword [esp], str.No_device_found__is_it_plugged_in_
call sub.msvcrt.dll_puts
mov eax, 0xffffffff
jmp 0x4133ce
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xbc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00416b44
cmp dword [ebp - 0x20], 0
jne 0x4110e2
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 0x41110f
mov eax, dword [0x6d9080]
test eax, eax
jle 0x41110f
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 0x41118b
mov eax, dword [0x6d9080]
test eax, eax
jle 0x41112a
mov dword [esp], str.This_is_an_encrypted_backup.
call sub.msvcrt.dll_puts
cmp dword [ebp - 0x38], 0
jne 0x41118b
mov dword [esp + 4], 0
mov dword [esp], str.Enter_backup_password
call fcn.00410407
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x411156
mov eax, dword [ebp - 0x38]
mov al, byte [eax]
test al, al
jne 0x41118b
cmp dword [ebp - 0x38], 0
je 0x411167
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.0041666b
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 0x4133ce
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.00418ca3
test ax, ax
je 0x4111d2
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.0041666b
mov eax, 0xffffffff
jmp 0x4133ce
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.00418ec9
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
jne 0x41128d
mov ax, word [ebp - 0xbe]
test ax, ax
je 0x41128d
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.0041e911
mov eax, dword [ebp - 0xf8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40db48
mov dword [esp], eax
call fcn.0041ece9
lea edx, [ebp - 0x114]
mov ebx, 0x5f326c
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.0041ecab
jmp 0x4112a1
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 0x411317
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.00418ec9
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
jne 0x411317
mov ax, word [ebp - 0xbe]
test ax, ax
je 0x411317
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.0041cdc8
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.00418ec9
mov word [ebp - 0x6a], ax
cmp word [ebp - 0x6a], 0
jne 0x41329e
mov ax, word [ebp - 0xbe]
test ax, ax
je 0x41329e
mov eax, dword [0x6d9080]
test eax, eax
jle 0x411394
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.0041ee67
lea edx, [ebp - 0x128]
mov ebx, 0x5f3280
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.0041f19a
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x41143d
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 0x411751
mov eax, dword [0x6d9080]
test eax, eax
jle 0x411466
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 [0x6d9084]
test eax, eax
jle 0x411490
mov eax, dword [0x6d9080]
test eax, eax
jle 0x411484
mov dword [esp], str.Aborting_as_requested_by_user...
call sub.msvcrt.dll_puts
mov dword [ebp - 0x24], 6
jmp 0x411751
cmp dword [ebp - 0x44], 0
je 0x4114f8
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 0x4114f8
mov eax, dword [0x6d9080]
test eax, eax
jle 0x4114c4
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.0040e622
mov eax, dword [ebp - 0xec]
test eax, eax
jne 0x411505
mov dword [esp], str.Could_not_read_Info.plist
call sub.msvcrt.dll_puts
mov dword [ebp - 0x2c], 1
jmp 0x411505
cmp dword [ebp - 0x24], 1
je 0x411505
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x24], 0
jne 0x41155d
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncWillStart
mov dword [esp], eax
call fcn.0040e88d
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.0041d50f
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
or eax, edx
test eax, eax
je 0x4116cc
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncLockRequest
mov dword [esp], eax
call fcn.0040e88d
mov dword [ebp - 0x1c], 0
jmp 0x411657
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.0041dd2a
mov word [ebp - 0x76], ax
cmp word [ebp - 0x76], 0
jne 0x4115e2
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncDidStart
mov dword [esp], eax
call fcn.0040e88d
jmp 0x411661
cmp word [ebp - 0x76], 0x13
jne 0x4115f7
mov dword [esp], 0x30d40
call fcn.00597950
jmp 0x411654
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.0041dc17
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 0x411595
cmp dword [ebp - 0x1c], 0x32
jne 0x4116cc
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.0041dc17
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.00417600
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x411751
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.00421a0c
test eax, eax
jne 0x411739
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0x139]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00421b7c
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.004212c0
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0x24], 5
ja 0x412096
mov eax, dword [ebp - 0x24]
shl eax, 2
add eax, 0x658cd0
mov eax, dword [eax]
jmp eax
nop
jmp 0x4120a6
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x4120c8
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.00417e3f
mov dword [ebp - 0xf4], 0
cmp dword [ebp - 0x24], 6
je 0x41320a
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 0x412105
nop
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x412127
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.0059fbf8
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.0041f053
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x41215d
mov eax, dword [ebp - 0x144]
test eax, eax
jne 0x412186
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412172
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 0x412f15
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageDownloadFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4121dc
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ebc3
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.0040f33b
jmp 0x412eac
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageUploadFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412235
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ebc3
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.0040f65a
add dword [ebp - 0x4c], eax
jmp 0x412eac
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageGetFreeDiskSpace
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4122df
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 0x4122a1
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.00421158
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.0041f4d4
jmp 0x412eac
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLContentsOfDirectory
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41231d
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.0040fc52
jmp 0x412eac
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageCreateDirectory
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41235b
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.0040ff0e
jmp 0x412eac
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageMoveFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x412393
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageMoveItems
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4126c9
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ebc3
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00421320
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.00421484
mov dword [ebp - 0xb0], eax
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412413
cmp dword [ebp - 0xb0], 1
jne 0x4123f4
mov eax, 0x65886d
jmp 0x4123f9
mov eax, 0x65886e
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.004214b0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x412662
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.004214e4
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x412644
mov eax, dword [ebp - 0x15c]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 3
jne 0x412644
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.00421ad4
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x41262c
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.0040870d
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
call fcn.0059fbf8
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.0040870d
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 0x41257f
mov ax, word [ebp - 0x196]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x4000
jne 0x41257f
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call sub.KERNEL32.dll_RemoveDirectoryA
sub esp, 4
jmp 0x412590
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 0x412610
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.0040ed75
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 0x412652
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0x158]
mov dword [esp], eax
call fcn.0059fbf8
mov dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x15c]
test eax, eax
jne 0x412465
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call fcn.0059fbf8
jmp 0x41267c
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.00421044
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.0041f4d4
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x412ea8
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 0x412ea8
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageRemoveFiles
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x412701
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageRemoveItems
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4129c6
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040ebc3
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00421320
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.004212f8
mov dword [ebp - 0x98], eax
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412781
cmp dword [ebp - 0x98], 1
jne 0x412762
mov eax, 0x65886d
jmp 0x412767
mov eax, 0x65886e
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 0x41296a
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00421320
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 3
jne 0x412967
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.00421ad4
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x412967
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 0x412852
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 0x412852
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.0040870d
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call fcn.0059fbf8
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 0x4128d2
mov ax, word [ebp - 0x196]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x4000
jne 0x4128d2
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sub.KERNEL32.dll_RemoveDirectoryA
sub esp, 4
mov dword [ebp - 0x64], eax
jmp 0x4128e6
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 0x412959
call sub.KERNEL32.dll_GetLastError
mov dword [esp], eax
call fcn.0040ed9c
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0x60], 0
jne 0x412937
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.0040ed75
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.0059fbf8
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x98]
jb 0x4127a2
call fcn.00421044
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.0041f4d4
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x412eab
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 0x412eab
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.DLMessageCopyItem
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412c39
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00421320
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00421320
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.00421a0c
cmp eax, 3
jne 0x412bec
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 3
jne 0x412bec
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.00421ad4
lea eax, [ebp - 0x16c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.00421ad4
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x412bd0
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x412bd0
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.0040870d
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.0040870d
mov dword [ebp - 0x8c], eax
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412b1e
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 0x412b6a
mov ax, word [ebp - 0xde]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x4000
jne 0x412b6a
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00410164
jmp 0x412bb4
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 0x412bb4
mov ax, word [ebp - 0xde]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x8000
jne 0x412bb4
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00410067
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.0059fbf8
call fcn.00421044
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.0041f4d4
mov word [ebp - 0x74], ax
cmp word [ebp - 0x74], 0
je 0x412eac
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 0x412eac
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0x658938
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x412f24
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0x65894c
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x412eac
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00421320
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 5
je 0x412cb0
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], 0x65897e
mov dword [esp], eax
call fcn.00421700
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x412d48
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 1
jne 0x412d48
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.00421bfc
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x412d40
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0
jmp 0x412d48
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.00421700
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x170], 0
cmp dword [ebp - 0x90], 0
je 0x412da2
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 3
jne 0x412da2
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00421ad4
cmp dword [ebp - 0x68], 0
je 0x412df3
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.00410513
test eax, eax
jne 0x412df3
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x412de0
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 0x412df3
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 0x412e0b
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call fcn.0059fbf8
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], str.Content
mov dword [esp], eax
call fcn.00421700
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x412f25
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00421a0c
cmp eax, 3
jne 0x412f25
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.00421ad4
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412e82
mov dword [esp], str.Content:
call sub.msvcrt.dll_puts
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], eax
mov dword [esp], 0x6589d5
call sub.msvcrt.dll_printf
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call fcn.0059fbf8
jmp 0x412f25
nop
jmp 0x412eac
nop
fld qword [0x6d9090]
fldz
fxch st(1)
fucompp
fnstsw ax
test ah, 0x45
jne 0x412ef3
mov eax, dword [0x6d9090]
mov edx, dword [0x6d9094]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040e93b
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412ef3
mov dword [esp], str._Finished
call sub.msvcrt.dll_puts
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x412f0b
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.004212c0
mov dword [ebp - 0x140], 0
mov eax, dword [0x6d9084]
test eax, eax
jle 0x412104
jmp 0x412f25
nop
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x413149
cmp eax, 1
jg 0x412f3f
test eax, eax
je 0x412f56
jmp 0x4131a9
cmp eax, 4
je 0x413003
cmp eax, 5
je 0x41305d
jmp 0x4131a9
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412f72
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 0x412fb0
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.0040e78a
test eax, eax
je 0x412fb0
mov eax, dword [0x6d9080]
test eax, eax
jle 0x412ffe
mov dword [esp], str.Backup_Successful.
call sub.msvcrt.dll_puts
jmp 0x412ffe
mov eax, dword [0x6d9084]
test eax, eax
je 0x412fd7
mov eax, dword [0x6d9080]
test eax, eax
jle 0x4131fd
mov dword [esp], str.Backup_Aborted.
call sub.msvcrt.dll_puts
jmp 0x4131fd
mov eax, dword [0x6d9080]
test eax, eax
jle 0x4131fd
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 0x4131fd
jmp 0x4131fd
mov eax, dword [0x6d9084]
test eax, eax
je 0x41302a
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413200
mov dword [esp], str.Unback_Aborted.
call sub.msvcrt.dll_puts
jmp 0x413200
mov eax, dword [0x6d9080]
test eax, eax
jle 0x41303f
mov dword [esp], str.The_files_can_now_be_found_in_the___unback___directory.
call sub.msvcrt.dll_puts
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413200
mov dword [esp], str.Unback_Successful.
call sub.msvcrt.dll_puts
jmp 0x413200
mov eax, dword [ebp - 0x28]
and eax, 0x40
test eax, eax
je 0x4130a9
cmp dword [ebp - 0x48], 0
je 0x41308b
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413203
mov dword [esp], str.Backup_encryption_has_been_enabled_successfully.
call sub.msvcrt.dll_puts
jmp 0x413203
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413203
mov dword [esp], str.Could_not_enable_backup_encryption.
call sub.msvcrt.dll_puts
jmp 0x413203
mov eax, dword [ebp - 0x28]
and eax, 0x80
test eax, eax
je 0x4130f7
cmp dword [ebp - 0x48], 0
je 0x4130d9
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413203
mov dword [esp], str.Backup_encryption_has_been_disabled_successfully.
call sub.msvcrt.dll_puts
jmp 0x413203
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413203
mov dword [esp], str.Could_not_disable_backup_encryption.
call sub.msvcrt.dll_puts
jmp 0x413203
mov eax, dword [ebp - 0x28]
and eax, 0x100
test eax, eax
je 0x413203
cmp dword [ebp - 0x48], 0
je 0x41312b
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413203
mov dword [esp], str.Backup_encryption_password_has_been_changed_successfully.
call sub.msvcrt.dll_puts
jmp 0x413203
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413203
mov dword [esp], str.Could_not_change_backup_encryption_password.
call sub.msvcrt.dll_puts
jmp 0x413203
mov eax, dword [ebp - 0x28]
and eax, 4
test eax, eax
je 0x413168
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413168
mov dword [esp], str.The_device_should_reboot_now.
call sub.msvcrt.dll_puts
cmp dword [ebp - 0x48], 0
je 0x413189
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413206
mov dword [esp], str.Restore_Successful.
call sub.msvcrt.dll_puts
jmp 0x413206
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413206
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 0x413206
mov eax, dword [0x6d9084]
test eax, eax
je 0x4131c9
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413209
mov dword [esp], str.Operation_Aborted.
call sub.msvcrt.dll_puts
jmp 0x413209
cmp dword [ebp - 0x24], 6
jne 0x4131e6
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413209
mov dword [esp], str.Operation_Failed.
call sub.msvcrt.dll_puts
jmp 0x413209
mov eax, dword [0x6d9080]
test eax, eax
jle 0x413209
mov dword [esp], str.Operation_Successful.
call sub.msvcrt.dll_puts
jmp 0x413209
nop
jmp 0x41320a
nop
jmp 0x41320a
nop
jmp 0x41320a
nop
jmp 0x41320a
nop
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
or eax, edx
test eax, eax
je 0x4132cc
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.0041dd2a
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.0041dc17
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x24], 0
jne 0x4132cc
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], str.com.apple.itunes_mobdev.syncDidFinish
mov dword [esp], eax
call fcn.0040e88d
jmp 0x4132cc
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.00417e3f
mov dword [ebp - 0xf4], 0
jmp 0x4132cd
nop
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x4132ef
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call fcn.00417e3f
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x413311
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.0041ee1a
mov dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x413333
mov eax, dword [ebp - 0xfc]
mov dword [esp], eax
call fcn.0041ce45
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x413355
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call fcn.0041e980
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.0041666b
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x41338f
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call fcn.0059fbf8
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0x20], 0
je 0x4133a7
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0059fbf8
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x30]
neg eax
mov dword [esp], eax
call fcn.00410513
test eax, eax
je 0x4133bf
mov dword [ebp - 0x30], 0
mov dword [esp], 0
call fcn.00410559
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret