Function at 0x40da80
Capabilities:
Execute command

Disassembly:
sub esp, 0xec
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0xf8]
push ebx
push ebp
push esi
push edi
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x28], 1
call fcn.0040d770
add esp, 0xc
test eax, eax
jne 0x40e0d1
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x124]
test eax, eax
push esi
je 0x40db5a
mov ecx, dword [esp + 0x114]
push 0
push 0
push 0
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push 0x418148
push eax
push edx
call sub.libsvn_subr_1.dll_svn_subst_translate_cstring2
add esp, 0x1c
test eax, eax
jne 0x40e0d1
push esi
push 0x4238f0
call sub.libsvn_subr_1.dll_svn_string_create
mov ebp, eax
mov eax, dword [esp + 0x128]
add esp, 8
test eax, eax
push esi
je 0x40db32
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebp
call sub.libsvn_subr_1.dll_svn_utf_cstring_from_utf8_ex2
add esp, 0x10
test eax, eax
je 0x40db48
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret
mov ecx, dword [esp + 0x28]
push ecx
push ebp
call sub.libsvn_subr_1.dll_svn_utf_cstring_from_utf8
add esp, 0xc
test eax, eax
jne 0x40e0d1
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 4], ecx
jmp 0x40db6c
mov edx, dword [esp + 0x114]
push edx
call sub.libsvn_subr_1.dll_svn_string_dup
add esp, 8
mov ebp, eax
push esi
lea eax, [esp + 0x30]
push 0x10
push eax
call dword [sym.imp.libapr_1.dll__apr_filepath_get_12]
mov edi, eax
test edi, edi
je 0x40dbb4
push 0x148
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
push str.Cant_get_working_directory
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
push eax
push edi
call sub.libsvn_subr_1.dll_svn_error_wrap_apr
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret
mov eax, dword [esp + 0x10c]
cmp byte [eax], 0
jne 0x40dbca
mov dword [esp + 0x20], 0x419878
jmp 0x40dbe1
push esi
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.libsvn_subr_1.dll_svn_path_cstring_from_utf8
add esp, 0xc
test eax, eax
jne 0x40e0d1
mov edx, dword [esp + 0x20]
push esi
push edx
call dword [sym.imp.libapr_1.dll__apr_filepath_set_8]
mov edi, eax
test edi, edi
je 0x40dc35
push 0x152
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
mov eax, dword [esp + 0x114]
add esp, 8
push eax
push str.Cant_change_working_directory_to__s
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
add esp, 8
push eax
push edi
call sub.libsvn_subr_1.dll_svn_error_wrap_apr
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret
mov ebx, dword [esp + 0x114]
push esi
push esi
push 0
push str..tmp
push ebx
lea ecx, [esp + 0x24]
push 0x4238f0
lea edx, [esp + 0x30]
push ecx
push edx
call sub.libsvn_subr_1.dll_svn_io_open_uniquely_named
mov edi, eax
add esp, 0x20
test edi, edi
je 0x40dd79
mov eax, dword [edi]
cmp eax, 0xd
je 0x40dcbd
cmp eax, 0xafc85
je 0x40dcbd
cmp eax, 0xafcd2
je 0x40dcbd
cmp eax, 0xafc90
je 0x40dcbd
cmp eax, 0xafcec
je 0x40dcbd
cmp eax, 0xafcd3
je 0x40dcbd
cmp eax, 0xafca1
je 0x40dcbd
cmp eax, 0xafd27
je 0x40dcbd
cmp eax, 0xafd1e
je 0x40dcbd
cmp eax, 0xafcc1
je 0x40dcbd
cmp eax, 0xafca0
je 0x40dcbd
cmp eax, 0x1e
jne 0x40dd71
push edi
call sub.libsvn_subr_1.dll_svn_error_clear
lea eax, [esp + 0x110]
push esi
push eax
call sub.libsvn_subr_1.dll_svn_io_temp_dir
add esp, 0xc
test eax, eax
jne 0x40e0d1
mov ecx, dword [esp + 0x10c]
push esi
lea edx, [esp + 0x34]
push ecx
push edx
call sub.libsvn_subr_1.dll_svn_path_cstring_from_utf8
add esp, 0xc
test eax, eax
jne 0x40e0d1
mov eax, dword [esp + 0x30]
push esi
push eax
call dword [sym.imp.libapr_1.dll__apr_filepath_set_8]
mov edi, eax
test edi, edi
je 0x40dd4e
push 0x16b
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
mov ecx, dword [esp + 0x114]
add esp, 8
push ecx
push str.Cant_change_working_directory_to__s
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
add esp, 8
push eax
push edi
call sub.libsvn_subr_1.dll_svn_error_wrap_apr
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret
push esi
push esi
push 0
push str..tmp
push ebx
lea edx, [esp + 0x24]
push 0x4238f0
lea eax, [esp + 0x30]
push edx
push eax
call sub.libsvn_subr_1.dll_svn_io_open_uniquely_named
add esp, 0x20
mov edi, eax
test edi, edi
jne 0x40e077
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.libapr_1.dll__apr_file_write_full_16]
mov edx, dword [esp + 0x18]
mov edi, eax
push edx
call dword [sym.imp.libapr_1.dll__apr_file_close_4]
test edi, edi
jne 0x40dda8
test eax, eax
mov edi, eax
je 0x40ddc9
push 0x187
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
mov eax, dword [esp + 0x18]
add esp, 8
push eax
push str.Cant_write_to__s
jmp 0x40de5d
mov ecx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x18]
push ecx
push edx
call sub.libsvn_subr_1.dll_svn_path_cstring_from_utf8
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40e054
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.libapr_1.dll__apr_stat_16]
push esi
push 0x10
lea ecx, [esp + 0x44]
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x40de08
push 0x196
jmp 0x40de46
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
sub eax, 0x7d0
sbb ecx, 0
push esi
push ecx
push eax
push edx
call dword [sym.imp.libapr_1.dll__apr_file_mtime_set_16]
mov eax, dword [esp + 0x14]
push esi
push 0x110
lea ecx, [esp + 0x44]
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x40de7c
push 0x1a5
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
mov edx, dword [esp + 0x18]
add esp, 8
push edx
push str.Cant_stat__s
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
add esp, 8
push eax
push edi
call sub.libsvn_subr_1.dll_svn_error_wrap_apr
add esp, 0xc
mov edi, eax
jmp 0x40e054
mov eax, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.libsvn_subr_1.dll_svn_utf_cstring_from_utf8
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40e054
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push edx
push eax
push str._s__s
push esi
call dword [sym.imp.libapr_1.dll_apr_psprintf]
mov ebx, eax
push ebx
call dword [sym.imp.MSVCRT.dll_system]
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x40defe
push 0x1b3
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
add esp, 8
push ebp
push ebx
push str.system__s__returned__d
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
add esp, 8
push eax
push edi
push 0x30d4c
call sub.libsvn_subr_1.dll_svn_error_createf
add esp, 0x14
mov edi, eax
jmp 0x40e054
mov ecx, dword [esp + 0x14]
push esi
push 0x110
lea edx, [esp + 0xa4]
push ecx
push edx
call dword [sym.imp.libapr_1.dll__apr_stat_16]
mov ebx, eax
test ebx, ebx
je 0x40df58
push 0x1bd
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
mov eax, dword [esp + 0x18]
add esp, 8
push eax
push str.Cant_stat__s
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
add esp, 8
push eax
push ebx
call sub.libsvn_subr_1.dll_svn_error_wrap_apr
add esp, 0xc
mov edi, eax
jmp 0x40e054
mov ebx, dword [esp + 0x104]
test ebx, ebx
je 0x40df7f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10c]
push esi
push ecx
push edx
call sub.libsvn_subr_1.dll_svn_path_join
add esp, 0xc
mov dword [ebx], eax
xor ebx, ebx
jmp 0x40df83
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0xdc]
cmp eax, ecx
jne 0x40dfd1
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0xe0]
cmp ecx, eax
jne 0x40dfd1
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0xc4]
cmp edx, eax
jne 0x40dfd1
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
jne 0x40dfd1
mov ecx, dword [esp + 0x100]
mov dword [ecx], 0
jmp 0x40e050
mov edx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x20]
push edx
push eax
call sub.libsvn_subr_1.dll_svn_stringbuf_from_file2
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40e050
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call sub.libsvn_subr_1.dll_svn_string_create_from_buf
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x124]
add esp, 8
test edx, edx
mov dword [ecx], eax
je 0x40e050
mov edx, dword [esp + 0x120]
push esi
push edx
push eax
push ecx
call sub.libsvn_subr_1.dll_svn_subst_translate_string
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40e050
push 0x1db
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
push str.Error_normalizing_edited_contents_to_internal_format
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
push eax
push edi
call sub.libsvn_subr_1.dll_svn_error_quick_wrap
add esp, 0x18
mov edi, eax
test ebx, ebx
je 0x40e077
mov eax, dword [esp + 0x10]
push esi
push eax
call sub.libsvn_subr_1.dll_svn_io_remove_file
add esp, 8
test edi, edi
jne 0x40e06e
test eax, eax
je 0x40e06e
mov edi, eax
jmp 0x40e077
push eax
call sub.libsvn_subr_1.dll_svn_error_clear
add esp, 4
mov ecx, dword [esp + 0x2c]
push esi
push ecx
call dword [sym.imp.libapr_1.dll__apr_filepath_set_8]
mov esi, eax
test esi, esi
je 0x40e0cf
push 0x1fb
push str.C:Projects_subversion_1.6.5_subversion_svnutil.c
call sub.libsvn_subr_1.dll_svn_error__locate
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add esp, 8
add edx, 0x40
push str.svn:
push 1
push edx
push str.Cant_restore_working_directory
push str.subversion
call dword [sym.imp.intl3_svn.dll_libintl_dgettext]
push eax
push esi
call sub.libsvn_subr_1.dll_svn_error_wrap_apr
add esp, 0x10
push eax
call sub.libsvn_subr_1.dll_svn_handle_error2
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret