Function at 0x4be9e9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x310]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x414]
mov esi, ebx
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004c37f0
xor eax, eax
lea edi, [ebp - 0x62c]
stosd dword es:[edi], eax
push 0x544314
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x63c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
call fcn.0046aa0e
mov edi, dword [ebp + 8]
add esp, 0x44
test edi, edi
jne 0x4beac1
call fcn.004b729a
sub eax, dword [0x665048]
cmp eax, 0x493e0
jb 0x4beb29
call fcn.004b729a
push 0x7530
mov dword [0x665048], eax
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.0041f093
add esp, 0xc
mov ebx, eax
call fcn.004bf5ba
test eax, eax
je 0x4beb18
call fcn.004b729a
push 0x92
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
mov dword [0x665048], eax
call fcn.00450ac2
push 0x94
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
call fcn.0044f4b7
add esp, 0x18
test eax, eax
jne 0x4beb47
push 0x97
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push eax
call fcn.00450ac2
add esp, 0xc
test eax, eax
je 0x4beb3a
push eax
push str.:7:ApplyUpdates___FAILED:_Could_not_logon_to_the_TAMS_server:_LogonToTAMS_NO_SYNC__returned__d
call fcn.0041c80a
pop ecx
pop ecx
test ebx, ebx
je 0x4beb29
lea eax, [ebp - 0x310]
push eax
call fcn.0041f9e1
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
push str.:9:ApplyUpdates___encountered_something_strange:_LockTAMSServer_LTS_UPDATEFILES__FAILED__but_LogonToTAMS_NO_SYNC__succeeded_
call fcn.0041cce9
pop ecx
jmp 0x4beb4a
xor esi, esi
inc esi
push 0x104
lea eax, [ebp - 0x61c]
push str.Live2.ark
push eax
call fcn.0048dd2a
push 1
call fcn.004bf744
add esp, 0x10
test eax, eax
jne 0x4beb94
test edi, edi
jne 0x4beb7b
push 0x20
call fcn.004552b3
jmp 0x4beb17
push 0x104
lea eax, [ebp - 0x61c]
push str.LiveBranch2.ark
push eax
call fcn.0048dd2a
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00451c70
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004ccf60
xor edi, edi
push edi
push edi
call fcn.0046aa0e
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0048c896
push 1
push edi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041e169
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x30
test eax, eax
jne 0x4beca1
test esi, esi
je 0x4bec03
push 0x20
call fcn.004552b3
pop ecx
push 0x190
xor esi, esi
call edi
lea eax, [ebp - 0x414]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x4becad
push 0x2710
call edi
push 0xc2
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
call fcn.0044f4b7
add esp, 0xc
test eax, eax
jne 0x4bec4d
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy.
call fcn.0041cce9
pop ecx
jmp 0x4bec50
xor esi, esi
inc esi
push 1
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041e169
add esp, 0x10
test eax, eax
jne 0x4bec96
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x414]
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.0041c80a
add esp, 0xc
test esi, esi
je 0x4beb18
jmp 0x4beb72
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.0041cce9
pop ecx
test esi, esi
je 0x4becad
push 0x20
call fcn.004552b3
pop ecx
lea eax, [ebp - 0x108]
xor esi, esi
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x4bf0e7
push 0x104
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.004c37f0
push esi
push esi
call fcn.0046aa0e
push eax
lea eax, [ebp - 0x20c]
push str._sUpdtTest_
push eax
call fcn.00403dd1
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
add esp, 0x24
test eax, eax
je 0x4bed16
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f8c8
pop ecx
push 0x96
call edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041edcd
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fbe3
add esp, 0xc
test eax, eax
jne 0x4bed4a
lea eax, [ebp - 0x20c]
push eax
push str.:7:ApplyUpdates___encountered_a_problem:_CreateDirectorySuper___s___has_FAILED:_The_directory_does_not_exist.
call fcn.0041c80a
pop ecx
pop ecx
push 0
push 1
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004026cf
add esp, 0x14
test eax, eax
jne 0x4bee0f
push 0x2710
call edi
push 0xf3
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
call fcn.0044f4b7
add esp, 0xc
test eax, eax
jne 0x4bed9a
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy_2.
call fcn.0041cce9
pop ecx
jmp 0x4bed9d
xor esi, esi
inc esi
push 1
xor edi, edi
lea eax, [ebp - 0x108]
push edi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041e169
add esp, 0x10
test esi, esi
je 0x4bedc4
push 0x20
call fcn.004552b3
pop ecx
push edi
push 1
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004026cf
add esp, 0x14
test eax, eax
jne 0x4bee02
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
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.0041c80a
add esp, 0xc
jmp 0x4beb18
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.0041cce9
pop ecx
jmp 0x4bee11
xor edi, edi
push str.Revision.dat
lea eax, [ebp - 0x20c]
mov esi, 0x4ea498
push eax
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.00403dd1
push edi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00420e6b
add esp, 0x1c
test eax, eax
jne 0x4bee9d
push str.BETTY.exe
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.00403dd1
push edi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00420e6b
add esp, 0x1c
test eax, eax
jne 0x4bee9d
mov eax, dword [0x66504c]
inc eax
mov dword [0x66504c], eax
cmp eax, 5
jg 0x4beb18
push eax
push str.:7:__d_of_5:_ApplyUpdates___FAILED:_The_update_is_invalid_because_it_does_not_contain_a_revision_date_
jmp 0x4beb11
push str.BETTY.exe
push edi
push edi
call fcn.0046a855
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.00403dd1
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00420e6b
add esp, 0x1c
test eax, eax
jne 0x4beedf
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.0041cce9
pop ecx
sub esp, 0x10
lea esi, [ebp - 0x63c]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x62c]
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.004b715e
add esp, 0x20
test eax, eax
jns 0x4bef9a
movzx eax, word [ebp - 0x630]
push eax
movzx eax, word [ebp - 0x632]
push eax
movzx eax, word [ebp - 0x634]
push eax
movzx eax, word [ebp - 0x63c]
push eax
movzx eax, word [ebp - 0x636]
push eax
movzx eax, word [ebp - 0x63a]
push eax
movzx eax, word [ebp - 0x620]
push eax
movzx eax, word [ebp - 0x622]
push eax
movzx eax, word [ebp - 0x624]
push eax
movzx eax, word [ebp - 0x62c]
push eax
movzx eax, word [ebp - 0x626]
push eax
movzx eax, word [ebp - 0x62a]
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.0041cce9
lea eax, [ebp - 0x108]
push eax
call fcn.004bfb8e
add esp, 0x38
test ebx, ebx
je 0x4bf278
lea eax, [ebp - 0x310]
push eax
jmp 0x4bf272
sub esp, 0x10
lea esi, [ebp - 0x63c]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x62c]
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.004b5fdb
add esp, 0x20
test eax, eax
jne 0x4bf049
lea edi, [ebp - 0x64c]
xor esi, esi
stosd dword es:[edi], eax
push str.Revision.dat
push esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0046aa0e
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x518]
push 0x4ea498
push eax
call fcn.00403dd1
push esi
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00420e6b
add esp, 0x1c
test eax, eax
je 0x4bf049
sub esp, 0x10
lea esi, [ebp - 0x64c]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x62c]
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.004b5fdb
add esp, 0x20
test eax, eax
je 0x4bf049
lea esi, [ebp - 0x64c]
lea edi, [ebp - 0x63c]
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, [ebp - 0x63c]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x62c]
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.004b5fdb
add esp, 0x20
test eax, eax
je 0x4bf0e7
call fcn.0040d376
test eax, eax
je 0x4bf0dc
xor eax, eax
lea edi, [ebp - 0x64c]
stosd dword es:[edi], eax
push 0x142
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x64c]
push eax
call fcn.004b5bf0
add esp, 0xc
cmp word [ebp - 0x648], 0
je 0x4bf0ca
push 6
pop eax
cmp word [ebp - 0x648], ax
je 0x4bf0ca
cmp word [ebp - 0x644], 0xe
jae 0x4bf0ca
cmp word [ebp - 0x644], ax
jae 0x4bf0dc
lea eax, [ebp - 0x108]
push eax
call fcn.004bfb8e
pop ecx
jmp 0x4bef86
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.0041cce9
pop ecx
lea eax, [ebp - 0x108]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x4beb18
push 0x4bf280
push 1
push 1
push 0xea60
xor esi, esi
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041e939
add esp, 0x18
test eax, eax
jns 0x4bf14a
push esi
push esi
call fcn.0046a855
push eax
lea eax, [ebp - 0x20c]
push eax
push str.:9:ApplyUpdates___encountered_an_IMPOSSIBLE_EXCEPTION:_CopyNewerFiles___s_____s___FAILED_to_apply_an_already_tested_update_
call fcn.0041c80a
add esp, 0x14
jmp 0x4beb18
call fcn.0042f01b
lea eax, [ebp - 0x108]
push eax
call fcn.004bfb8e
lea eax, [ebp - 0x108]
push eax
call fcn.004208fc
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
add esp, 0xc
test eax, eax
je 0x4bf187
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f8c8
pop ecx
mov edi, str.Revision.dat
push edi
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x414]
push 0x4ea498
push eax
call fcn.00403dd1
lea eax, [ebp - 0x414]
push eax
call fcn.0041fc00
add esp, 0x14
test eax, eax
je 0x4bf1e1
push esi
push edi
push esi
call fcn.0046aa0e
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0042078a
lea eax, [ebp - 0x414]
push eax
call fcn.004208fc
add esp, 0x10
push 1
call fcn.00484fb1
movzx eax, word [ebp - 0x630]
push eax
movzx eax, word [ebp - 0x632]
push eax
movzx eax, word [ebp - 0x634]
push eax
movzx eax, word [ebp - 0x63c]
push eax
movzx eax, word [ebp - 0x636]
push eax
movzx eax, word [ebp - 0x63a]
push eax
movzx eax, word [ebp - 0x620]
push eax
movzx eax, word [ebp - 0x622]
push eax
movzx eax, word [ebp - 0x624]
push eax
movzx eax, word [ebp - 0x62c]
push eax
movzx eax, word [ebp - 0x626]
push eax
movzx eax, word [ebp - 0x62a]
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.0041cce9
push str.UpdtFileLst.txt
push esi
call fcn.0046a855
add esp, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebx, ebx
je 0x4bf278
lea ecx, [ebp - 0x310]
push ecx
call fcn.0041f9e1
pop ecx
xor eax, eax
inc eax
jmp 0x4beb2b