Function at 0x4ac4b5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [esp + 0x365]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x36c], bl
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [esp + 0x4d]
push ebx
push eax
mov byte [esp + 0x54], bl
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [esp + 0x155]
push ebx
push eax
mov byte [esp + 0x15c], bl
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [esp + 0x575]
push ebx
push eax
mov byte [esp + 0x57c], bl
call fcn.004b53e0
xor eax, eax
mov word [esp + 0x24], bx
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x34], bx
lea edi, [esp + 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
lea eax, [esp + 0x258]
push str.ApplUdt.lck
push eax
mov dword [esp + 0x18], ebx
call fcn.0045e8df
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
jne 0x4ac5ca
call fcn.004a4ba8
sub eax, dword [0x646284]
cmp eax, 0x493e0
jb 0x4ac631
call fcn.004a4ba8
mov dword [0x646284], eax
lea eax, [esp + 0x258]
call fcn.0041c30e
mov dword [esp + 0x10], eax
call fcn.004ad43a
test eax, eax
je 0x4ac61d
call fcn.004a4ba8
push 0x92
mov edi, str..UpdatePAULA2.c
push edi
push 0x20
mov dword [0x646284], eax
call fcn.00443703
add esp, 0xc
push 0x94
push edi
push 0x20
call fcn.004463fb
add esp, 0xc
test eax, eax
jne 0x4ac655
push 0x97
push edi
push ebx
call fcn.00443703
add esp, 0xc
cmp eax, ebx
je 0x4ac648
push eax
push str.:7:ApplyUpdates___FAILED:_Could_not_logon_to_the_TAMS_server:_LogonToTAMS_NO_SYNC__returned__d
call fcn.004178df
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4ac631
lea eax, [esp + 0x258]
push eax
call fcn.0041c3cd
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret
push str.:9:ApplyUpdates___encountered_something_strange:_LockTAMSServer_LTS_UPDATEFILES__FAILED__but_LogonToTAMS_NO_SYNC__succeeded_
call fcn.00417db7
pop ecx
jmp 0x4ac65d
mov dword [esp + 0x14], 1
mov edi, 0x104
push str.Live2.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.0047c3fc
pop ecx
push 1
call fcn.004ad00b
test eax, eax
pop ecx
jne 0x4ac6a4
cmp dword [ebp + 8], ebx
jne 0x4ac690
push 0x20
call fcn.00447288
jmp 0x4ac61c
push str.LiveBranch2.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.0047c3fc
pop ecx
lea eax, [esp + 0x570]
push eax
lea edi, [esp + 0x364]
call fcn.0044286c
pop ecx
lea eax, [esp + 0x570]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004b4780
push ebx
push ebx
call fcn.0045e8df
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0047c986
push 1
lea edx, [esp + 0x5c]
mov ecx, edi
call fcn.0041aab4
add esp, 0x14
test eax, eax
jne 0x4ac7a9
cmp dword [esp + 0x14], ebx
je 0x4ac703
push 0x20
call fcn.00447288
pop ecx
push 0x190
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x360]
call fcn.0041b048
test eax, eax
je 0x4ac7b7
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc2
push str..UpdatePAULA2.c
push 0x20
call fcn.004463fb
add esp, 0xc
test eax, eax
jne 0x4ac756
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy.
call fcn.00417db7
pop ecx
jmp 0x4ac75e
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x364]
call fcn.0041aab4
test eax, eax
pop ecx
jne 0x4ac79e
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x364]
push eax
push str.:9:ApplyUpdates___has_encountered_a_problem:_The_servers_update_archive___s__exists_but_cannot_be_copied_to___s_.__The_PAULA_Update_cannot_be_applied_
call fcn.004178df
add esp, 0xc
cmp dword [esp + 0x14], ebx
je 0x4ac61d
jmp 0x4ac687
push str.:7:ApplyUpdates___failed_to_copy_the_TAMS_servers_update_archive_on_the_first_attempt_but_succeeded_on_the_second_backup_attempt.
call fcn.00417db7
pop ecx
cmp dword [esp + 0x14], ebx
je 0x4ac7b7
push 0x20
call fcn.00447288
pop ecx
lea edi, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.0041b048
test eax, eax
je 0x4acbb5
push esi
lea eax, [esp + 0x46d]
push ebx
push eax
mov byte [esp + 0x474], bl
call fcn.004b53e0
add esp, 0xc
push ebx
push ebx
call fcn.0045e8df
push eax
lea eax, [esp + 0x15c]
push str._sUpdtTest_
push eax
call fcn.004b532e
add esp, 0x14
lea edi, [esp + 0x150]
call fcn.0041b048
test eax, eax
je 0x4ac824
mov ecx, edi
call fcn.00419d16
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea ecx, [esp + 0x154]
call fcn.0041b401
pop ecx
lea eax, [esp + 0x150]
push eax
call fcn.0041b0f5
test eax, eax
pop ecx
jne 0x4ac858
lea eax, [esp + 0x150]
push eax
push str.:7:ApplyUpdates___encountered_a_problem:_CreateDirectorySuper___s___has_FAILED:_The_directory_does_not_exist.
call fcn.004178df
pop ecx
pop ecx
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00401059
test eax, eax
pop ecx
pop ecx
jne 0x4ac90f
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf3
push str..UpdatePAULA2.c
push 0x20
call fcn.004463fb
add esp, 0xc
test eax, eax
jne 0x4ac8a4
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy_2.
call fcn.00417db7
pop ecx
jmp 0x4ac8ac
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x364]
call fcn.0041aab4
cmp dword [esp + 0x18], ebx
pop ecx
je 0x4ac8cd
push 0x20
call fcn.00447288
pop ecx
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00401059
test eax, eax
pop ecx
pop ecx
jne 0x4ac904
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x4c]
push eax
push str.:9:ApplyUpdates___has_encountered_a_serious_problem:_The_update_archive_on_the_TAMS_server_is_corrupt:_ExpandArchive___s_____s___1__0__FAILED_
call fcn.004178df
add esp, 0xc
jmp 0x4ac61d
push str.:7:ApplyUpdates___encountered_a_problem.__The_first_time_the_update_archive_was_copied_from_the_TAMS_server__it_was_corrupt.__But_when_the_file_was_recopied_a_second_time__it_was_OK.
call fcn.00417db7
pop ecx
push str.Revision.dat
lea eax, [esp + 0x154]
push eax
mov esi, 0x4d5d50
lea eax, [esp + 0x470]
push esi
push eax
call fcn.004b532e
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.00418d5e
add esp, 0x18
test eax, eax
mov edi, str.BETTY.exe
jne 0x4ac9a4
push edi
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x470]
push esi
push eax
call fcn.004b532e
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.00418d5e
add esp, 0x18
test eax, eax
jne 0x4ac9a4
inc dword [0x646288]
cmp dword [0x646288], 5
jg 0x4ac61d
push dword [0x646288]
push str.:7:__d_of_5:_ApplyUpdates___FAILED:_The_update_is_invalid_because_it_does_not_contain_a_revision_date_
jmp 0x4ac616
push edi
push ebx
push ebx
call fcn.0045e70f
pop ecx
pop ecx
push eax
lea eax, [esp + 0x470]
push esi
push eax
call fcn.004b532e
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.00418d5e
add esp, 0x18
test eax, eax
jne 0x4ac9e3
push str.:7:ApplyUpdates___encountered_a_problem:_Could_not_determine_the_revision_date_of_the_current_PAULA_installation.__The_update_will_be_applied.
call fcn.00417db7
pop ecx
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a428c
add esp, 0x20
test eax, eax
jge 0x4aca83
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x3c]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x40]
push eax
movzx eax, word [esp + 0x3c]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x46]
push eax
push str.:3:ApplyUpdates___did_not_apply_the_update_from_the_TAMS_server_because_it_is_outdated.__The_update_was_revised__02d__02d__04d____02d:_02d._02d_but_the_current_revision_is__02d__02d__04d____02d:_02d._02d.
call fcn.00417db7
add esp, 0x34
lea ecx, [esp + 0x48]
call fcn.004ad5cf
cmp dword [esp + 0x10], ebx
je 0x4aca7b
lea eax, [esp + 0x258]
push eax
call fcn.0041c3cd
pop ecx
xor eax, eax
inc eax
jmp 0x4ac633
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3d55
add esp, 0x20
test eax, eax
jne 0x4acb25
mov word [esp + 0x38], bx
lea edi, [esp + 0x3a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.Revision.dat
stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
call fcn.0045e8df
pop ecx
pop ecx
push eax
lea eax, [esp + 0x470]
push 0x4d5d50
push eax
call fcn.004b532e
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.00418d5e
add esp, 0x18
test eax, eax
je 0x4acb25
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3d55
add esp, 0x20
test eax, eax
je 0x4acb25
lea esi, [esp + 0x38]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3d55
add esp, 0x20
test eax, eax
je 0x4acbb5
call fcn.0040eb4d
test eax, eax
je 0x4acbaa
xor eax, eax
mov word [esp + 0x38], bx
lea edi, [esp + 0x3a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x142
stosw word es:[edi], ax
lea eax, [esp + 0x3c]
push str..UpdatePAULA2.c
push eax
call fcn.004a57c9
add esp, 0xc
cmp word [esp + 0x3c], bx
je 0x4aca5e
cmp word [esp + 0x3c], 6
je 0x4aca5e
cmp word [esp + 0x40], 0xe
jae 0x4aca5e
cmp word [esp + 0x40], 6
jb 0x4aca5e
push str.:1:FYI:_An_update_is_about_to_be_reapplied.__This_may_not_be_necessary_but_has_been_left_for_safety.__Return_at_this_point_to_disable_this__feature_.
call fcn.00417db7
pop ecx
lea edi, [esp + 0x48]
call fcn.0041b048
test eax, eax
je 0x4ac61d
push 0x4acd0a
push 1
push 1
push 0xea60
push ebx
push ebx
call fcn.0045e70f
pop ecx
pop ecx
push eax
lea eax, [esp + 0x164]
push eax
call fcn.00419f13
add esp, 0x18
test eax, eax
jge 0x4acc14
push ebx
push ebx
call fcn.0045e70f
push eax
lea eax, [esp + 0x15c]
push eax
push str.:9:ApplyUpdates___encountered_an_IMPOSSIBLE_EXCEPTION:_CopyNewerFiles___s_____s___FAILED_to_apply_an_already_tested_update_
call fcn.004178df
add esp, 0x14
jmp 0x4ac61d
call fcn.0042550e
lea ecx, [esp + 0x48]
call fcn.004ad5cf
lea eax, [esp + 0x48]
call fcn.0041aa09
lea edi, [esp + 0x150]
call fcn.0041b048
test eax, eax
je 0x4acc42
mov ecx, edi
call fcn.00419d16
mov esi, str.Revision.dat
push esi
push ebx
push ebx
call fcn.0045e70f
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push 0x4d5d50
push eax
call fcn.004b532e
add esp, 0x10
lea edi, [esp + 0x360]
call fcn.0041b048
test eax, eax
je 0x4acc94
push ebx
push esi
push ebx
call fcn.0045e8df
pop ecx
pop ecx
push eax
mov eax, edi
push eax
call fcn.0041a890
add esp, 0xc
mov eax, edi
call fcn.0041aa09
push 1
call fcn.004777df
movzx eax, word [esp + 0x38]
pop ecx
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x3c]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x40]
push eax
movzx eax, word [esp + 0x3c]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x46]
push eax
push str.:0:_FYI:_An_update_has_been_processed.__Update_Revision____02d__02d__04d____02d:_02d._02d__Previous_Revision____02d__02d__04d____02d:_02d._02d.
call fcn.00417db7
add esp, 0x34
push str.UpdtFileLst.txt
push ebx
call fcn.0045e70f
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4aca67