Function at 0x4d24d2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x59a240]
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.004e4da0
push edi
lea eax, [ebp - 0x414]
mov esi, ebx
push ebx
push eax
call fcn.004e4da0
push edi
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004e4da0
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004e4da0
push edi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004e4da0
xor eax, eax
lea edi, [ebp - 0x62c]
stosd dword es:[edi], eax
push str.ApplUdt.lck
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.0047ced0
mov edi, dword [ebp + 8]
add esp, 0x44
test edi, edi
jne 0x4d25d1
call fcn.004ca9ca
sub eax, dword [0x6a13a4]
cmp eax, 0x493e0
jb 0x4d25c0
call fcn.004ca9ca
mov dword [0x6a13a4], eax
call fcn.0047d25f
test eax, eax
jg 0x4d25c0
push 0x7530
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.00428602
add esp, 0xc
mov ebx, eax
call fcn.004d8331
test eax, eax
jne 0x4d25da
test ebx, ebx
je 0x4d25c0
lea eax, [ebp - 0x310]
push eax
call fcn.00428f50
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
call fcn.0047d25f
test eax, eax
jg 0x4d25c0
call fcn.004ca9ca
push 0x2013
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push 0x20
mov dword [0x6a13a4], eax
call fcn.004625f2
push 0x2015
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push 0x20
call fcn.00460f18
add esp, 0x18
test eax, eax
jne 0x4d2643
push 0x2018
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push eax
call fcn.004625f2
add esp, 0xc
test eax, eax
je 0x4d2636
push eax
push str.:7:ApplyUpdates___FAILED:_Could_not_logon_to_the_TAMS_server:_LogonToTAMS_NO_SYNC__returned__d
call fcn.004255b9
pop ecx
pop ecx
jmp 0x4d25af
push str.:9:ApplyUpdates___encountered_something_strange:_LockTAMSServer_LTS_UPDATEFILES__FAILED__but_LogonToTAMS_NO_SYNC__succeeded_
call fcn.00425c08
pop ecx
jmp 0x4d2646
xor esi, esi
inc esi
push 0x104
lea eax, [ebp - 0x61c]
push str.Live.ark
push eax
call fcn.004a11a5
push 1
call fcn.004d884e
add esp, 0x10
test eax, eax
jne 0x4d2690
test edi, edi
jne 0x4d2677
push 0x20
call fcn.0046733c
jmp 0x4d2630
push 0x104
lea eax, [ebp - 0x61c]
push str.LiveBranch.ark
push eax
call fcn.004a11a5
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0046379e
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004ee4d0
xor edi, edi
push edi
push edi
call fcn.0047ced0
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0049fcaa
push 1
push edi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0042737d
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x30
test eax, eax
jne 0x4d279d
test esi, esi
je 0x4d26ff
push 0x20
call fcn.0046733c
pop ecx
push 0x190
xor esi, esi
call edi
lea eax, [ebp - 0x414]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x4d27a9
push 0x2710
call edi
push 0x2043
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push 0x20
call fcn.00460f18
add esp, 0xc
test eax, eax
jne 0x4d2749
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy.
call fcn.00425c08
pop ecx
jmp 0x4d274c
xor esi, esi
inc esi
push 1
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0042737d
add esp, 0x10
test eax, eax
jne 0x4d2792
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.004255b9
add esp, 0xc
test esi, esi
je 0x4d25af
jmp 0x4d266e
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.00425c08
pop ecx
test esi, esi
je 0x4d27a9
push 0x20
call fcn.0046733c
pop ecx
lea eax, [ebp - 0x108]
xor esi, esi
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x4d2be3
push 0x104
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.004e4da0
push esi
push esi
call fcn.0047ced0
push eax
lea eax, [ebp - 0x20c]
push str._sUpdtTest_
push eax
call fcn.00404f28
lea eax, [ebp - 0x20c]
push eax
call fcn.0042916f
add esp, 0x24
test eax, eax
je 0x4d2812
lea eax, [ebp - 0x20c]
push eax
call fcn.00428e37
pop ecx
push 0x96
call edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004280f8
lea eax, [ebp - 0x20c]
push eax
call fcn.00429152
add esp, 0xc
test eax, eax
jne 0x4d2846
lea eax, [ebp - 0x20c]
push eax
push str.:7:ApplyUpdates___encountered_a_problem:_CreateDirectorySuper___s___has_FAILED:_The_directory_does_not_exist.
call fcn.004255b9
pop ecx
pop ecx
push 0
push 1
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402962
add esp, 0x14
test eax, eax
jne 0x4d290b
push 0x2710
call edi
push 0x2074
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push 0x20
call fcn.00460f18
add esp, 0xc
test eax, eax
jne 0x4d2896
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy_2.
call fcn.00425c08
pop ecx
jmp 0x4d2899
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.0042737d
add esp, 0x10
test esi, esi
je 0x4d28c0
push 0x20
call fcn.0046733c
pop ecx
push edi
push 1
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402962
add esp, 0x14
test eax, eax
jne 0x4d28fe
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.004255b9
add esp, 0xc
jmp 0x4d25af
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.00425c08
pop ecx
jmp 0x4d290d
xor edi, edi
push str.Revision.dat
lea eax, [ebp - 0x20c]
mov esi, 0x50d2a0
push eax
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.00404f28
push edi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.0042b1a1
add esp, 0x1c
test eax, eax
jne 0x4d2999
push str.PAULA.exe
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.00404f28
push edi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.0042b1a1
add esp, 0x1c
test eax, eax
jne 0x4d2999
mov eax, dword [0x6a13a8]
inc eax
mov dword [0x6a13a8], eax
cmp eax, 5
jg 0x4d25af
push eax
push str.:7:__d_of_5:_ApplyUpdates___FAILED:_The_update_is_invalid_because_it_does_not_contain_a_revision_date_
jmp 0x4d262a
push str.PAULA.exe
push edi
push edi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.00404f28
push edi
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.0042b1a1
add esp, 0x1c
test eax, eax
jne 0x4d29db
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.00425c08
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.004ca88e
add esp, 0x20
test eax, eax
jns 0x4d2a96
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.00425c08
lea eax, [ebp - 0x108]
push eax
call fcn.004dd61b
add esp, 0x38
test ebx, ebx
je 0x4d2d74
lea eax, [ebp - 0x310]
push eax
jmp 0x4d2d6e
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.004c9649
add esp, 0x20
test eax, eax
jne 0x4d2b45
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.0047ced0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x518]
push 0x50d2a0
push eax
call fcn.00404f28
push esi
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.0042b1a1
add esp, 0x1c
test eax, eax
je 0x4d2b45
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.004c9649
add esp, 0x20
test eax, eax
je 0x4d2b45
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.004c9649
add esp, 0x20
test eax, eax
je 0x4d2be3
call fcn.0040eb06
test eax, eax
je 0x4d2bd8
xor eax, eax
lea edi, [ebp - 0x64c]
stosd dword es:[edi], eax
push 0x20c3
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x64c]
push eax
call fcn.004c9210
add esp, 0xc
cmp word [ebp - 0x648], 0
je 0x4d2bc6
push 6
pop eax
cmp word [ebp - 0x648], ax
je 0x4d2bc6
cmp word [ebp - 0x644], 0xe
jae 0x4d2bc6
cmp word [ebp - 0x644], ax
jae 0x4d2bd8
lea eax, [ebp - 0x108]
push eax
call fcn.004dd61b
pop ecx
jmp 0x4d2a82
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.00425c08
pop ecx
lea eax, [ebp - 0x108]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x4d25af
push 0x4d2f72
push 1
push 1
push 0xea60
xor esi, esi
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00427c64
add esp, 0x18
test eax, eax
jns 0x4d2c46
push esi
push esi
call fcn.0047cdb0
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.004255b9
add esp, 0x14
jmp 0x4d25af
call fcn.0043d46e
lea eax, [ebp - 0x108]
push eax
call fcn.004dd61b
lea eax, [ebp - 0x108]
push eax
call fcn.00429e69
lea eax, [ebp - 0x20c]
push eax
call fcn.0042916f
add esp, 0xc
test eax, eax
je 0x4d2c83
lea eax, [ebp - 0x20c]
push eax
call fcn.00428e37
pop ecx
mov edi, str.Revision.dat
push edi
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x414]
push 0x50d2a0
push eax
call fcn.00404f28
lea eax, [ebp - 0x414]
push eax
call fcn.0042916f
add esp, 0x14
test eax, eax
je 0x4d2cdd
push esi
push edi
push esi
call fcn.0047ced0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00429cf7
lea eax, [ebp - 0x414]
push eax
call fcn.00429e69
add esp, 0x10
push 1
call fcn.00497f11
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.00425c08
push str.UpdtFileLst.txt
push esi
call fcn.0047cdb0
add esp, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebx, ebx
je 0x4d2d74
lea ecx, [ebp - 0x310]
push ecx
call fcn.00428f50
pop ecx
xor eax, eax
inc eax
jmp 0x4d25c2