Function at 0x4e1690
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004e69c0
push 0x104
xor esi, esi
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004e69c0
xorps xmm0, xmm0
lea eax, [ebp - 0x414]
push 0x565b4c
push eax
movups xmmword [ebp - 0x62c], xmm0
xor edi, edi
movups xmmword [ebp - 0x63c], xmm0
call fcn.0047dbc0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x44
cmp dword [ebp + 8], esi
jne 0x4e18f0
call fcn.004d9850
sub eax, dword [0x6837e4]
cmp eax, 0x493e0
jb 0x4e195b
call fcn.004d9850
push 0x7530
mov dword [0x6837e4], eax
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00427e00
push 0x104
mov edi, eax
mov dword [ebp - 0x650], esi
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x658], esi
push esi
push eax
mov dword [ebp - 0x654], esi
mov dword [ebp - 0x65c], esi
call fcn.004e69c0
lea eax, [ebp - 0x20c]
push str.Live2.ark
push eax
call fcn.00461800
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403d60
add esp, 0x2c
test eax, eax
je 0x4e1948
call fcn.004d9850
push esi
push esi
mov dword [ebp - 0x660], eax
call fcn.0047dbc0
push eax
lea eax, [ebp - 0x20c]
push str._sLUA.DAT
push eax
call fcn.00404200
add esp, 0x14
nop dword [eax]
nop dword [eax + eax]
push 0x2e6
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
lea eax, [ebp - 0x20c]
push 0x50a5d0
push eax
call fcn.0042c170
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4e1869
lea eax, [ebp - 0x20c]
push eax
call fcn.004289f0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
test eax, eax
je 0x4e18ee
push 0x96
call ebx
call fcn.004d9850
sub eax, dword [ebp - 0x660]
cmp eax, 0x157c
ja 0x4e18ee
inc esi
cmp esi, 0xf
jl 0x4e1800
jmp 0x4e18ee
push ebx
push 1
lea eax, [ebp - 0x65c]
push 4
push eax
call fcn.004e91b7
add esp, 0x10
cmp eax, 1
je 0x4e1896
lea eax, [ebp - 0x20c]
push eax
push str.:8:IsNewUpdateAvailable___encountered_a_problem:_fread___s___FAILED_to_read_the_archive_size_
call fcn.00424fd0
add esp, 8
push ebx
push 1
lea eax, [ebp - 0x654]
push 4
push eax
call fcn.004e91b7
add esp, 0x10
cmp eax, 1
je 0x4e18c3
lea eax, [ebp - 0x20c]
push eax
push str.:8:IsNewUpdateAvailable___encountered_a_problem:_fread___s___FAILED_to_read_the_archive_CheckSum_
call fcn.00424fd0
add esp, 8
push ebx
call fcn.0042bfc0
mov eax, dword [ebp - 0x650]
add esp, 4
cmp eax, dword [ebp - 0x654]
jne 0x4e18e8
mov eax, dword [ebp - 0x658]
cmp eax, dword [ebp - 0x65c]
je 0x4e1948
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
call fcn.004d9850
push 0x92
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
mov dword [0x6837e4], eax
call fcn.004606f0
push 0x94
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
call fcn.0045ec30
add esp, 0x18
test eax, eax
jne 0x4e197d
push 0x97
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push eax
call fcn.004606f0
add esp, 0xc
test eax, eax
je 0x4e196e
push eax
push str.:7:ApplyUpdates___FAILED:_Could_not_logon_to_the_TAMS_server:_LogonToTAMS_NO_SYNC__returned__d
call fcn.00424a90
add esp, 8
test edi, edi
je 0x4e195b
lea eax, [ebp - 0x414]
push eax
call fcn.00428850
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str.:9:ApplyUpdates___encountered_something_strange:_LockTAMSServer_LTS_UPDATEFILES__FAILED__but_LogonToTAMS_NO_SYNC__succeeded_
call fcn.00424fd0
add esp, 4
jmp 0x4e1982
mov esi, 1
push 0x104
lea eax, [ebp - 0x61c]
push str.Live2.ark
push eax
call fcn.004a9a20
push 1
call fcn.004e24a0
add esp, 0x10
test eax, eax
jne 0x4e19d0
cmp dword [ebp + 8], eax
jne 0x4e19b7
push 0x20
call fcn.004656c0
add esp, 4
jmp 0x4e1948
push 0x104
lea eax, [ebp - 0x61c]
push str.LiveBranch2.ark
push eax
call fcn.004a9a20
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00461800
add esp, 8
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x61c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x109], al
test al, al
jne 0x4e19f0
push 0
push 0
call fcn.0047dbc0
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004a7ad0
push 1
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00426810
add esp, 0x20
test eax, eax
jne 0x4e1afb
test esi, esi
je 0x4e1a4b
push 0x20
call fcn.004656c0
add esp, 4
push 0x190
xor esi, esi
call ebx
lea eax, [ebp - 0x518]
push eax
call fcn.004289f0
add esp, 4
test eax, eax
je 0x4e1b09
push 0x2710
call ebx
push 0xc2
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
call fcn.0045ec30
add esp, 0xc
test eax, eax
jne 0x4e1a99
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy.
call fcn.00424fd0
add esp, 4
jmp 0x4e1a9e
mov esi, 1
push 1
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00426810
add esp, 0x10
test eax, eax
jne 0x4e1aee
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
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.00424a90
add esp, 0xc
test esi, esi
je 0x4e1948
push 0x20
call fcn.004656c0
add esp, 4
jmp 0x4e1948
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.00424fd0
add esp, 4
test esi, esi
je 0x4e1b09
push 0x20
call fcn.004656c0
add esp, 4
lea eax, [ebp - 0x108]
push eax
call fcn.004289f0
add esp, 4
test eax, eax
je 0x4e1f50
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e69c0
push 0
push 0
call fcn.0047dbc0
push eax
lea eax, [ebp - 0x310]
push str._sUpdtTest_
push eax
call fcn.00404200
lea eax, [ebp - 0x310]
push eax
call fcn.004289f0
add esp, 0x24
test eax, eax
je 0x4e1b77
lea eax, [ebp - 0x310]
push eax
call fcn.004285e0
add esp, 4
push 0x96
call ebx
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00427800
lea eax, [ebp - 0x310]
push eax
call fcn.004289d0
add esp, 0xc
test eax, eax
jne 0x4e1bac
lea eax, [ebp - 0x310]
push eax
push str.:7:ApplyUpdates___encountered_a_problem:_CreateDirectorySuper___s___has_FAILED:_The_directory_does_not_exist.
call fcn.00424a90
add esp, 8
push 0
push 1
push 0
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402a50
add esp, 0x14
test eax, eax
jne 0x4e1c80
push 0x2710
call ebx
push 0xf3
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push 0x20
call fcn.0045ec30
add esp, 0xc
test eax, eax
jne 0x4e1c12
push str.:5:ApplyUpdates___encountered_a_problem:_LockTAMSServer_LTS_UPDATEFILES__FAILED_to_relock_while_retrying_update_archive_copy_2.
call fcn.00424fd0
push 1
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00426810
jmp 0x4e1c30
push 1
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00426810
push 0x20
call fcn.004656c0
add esp, 0x14
lea eax, [ebp - 0x310]
push 0
push 1
push 0
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402a50
add esp, 0x14
test eax, eax
jne 0x4e1c73
lea eax, [ebp - 0x310]
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.00424a90
add esp, 0xc
jmp 0x4e1948
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.00424fd0
add esp, 4
push str.Revision.dat
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push 0x50d2e0
push eax
call fcn.00404200
push 0
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a060
add esp, 0x1c
test eax, eax
jne 0x4e1d11
push str.BETTY.exe
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push 0x50d2e0
push eax
call fcn.00404200
push 0
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a060
add esp, 0x1c
test eax, eax
jne 0x4e1d11
mov eax, dword [0x6837e8]
inc eax
mov dword [0x6837e8], eax
cmp eax, 5
jg 0x4e1948
push eax
push str.:7:__d_of_5:_ApplyUpdates___FAILED:_The_update_is_invalid_because_it_does_not_contain_a_revision_date_
jmp 0x4e1940
push str.BETTY.exe
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
lea eax, [ebp - 0x20c]
push 0x50d2e0
push eax
call fcn.00404200
push 0
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a060
add esp, 0x1c
test eax, eax
jne 0x4e1d5d
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.00424fd0
add esp, 4
movups xmm0, xmmword [ebp - 0x63c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x62c]
movups xmmword [eax], xmm0
call fcn.004d96a0
add esp, 0x20
test eax, eax
jns 0x4e1e05
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.00424fd0
lea eax, [ebp - 0x108]
push eax
call fcn.004e2970
add esp, 0x38
jmp 0x4e20e1
movups xmm0, xmmword [ebp - 0x63c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x62c]
movups xmmword [eax], xmm0
call fcn.004d8250
add esp, 0x20
test eax, eax
jne 0x4e1eb4
push str.Revision.dat
push eax
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x64c], xmm0
call fcn.0047dbc0
add esp, 8
push eax
lea eax, [ebp - 0x20c]
push 0x50d2e0
push eax
call fcn.00404200
push 0
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a060
add esp, 0x1c
test eax, eax
je 0x4e1eb4
movups xmm0, xmmword [ebp - 0x64c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x62c]
movups xmmword [eax], xmm0
call fcn.004d8250
add esp, 0x20
test eax, eax
je 0x4e1eb4
movups xmm0, xmmword [ebp - 0x64c]
movups xmmword [ebp - 0x63c], xmm0
jmp 0x4e1ebb
movups xmm0, xmmword [ebp - 0x63c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x62c]
movups xmmword [eax], xmm0
call fcn.004d8250
add esp, 0x20
test eax, eax
je 0x4e1f50
call fcn.0040e960
test eax, eax
je 0x4e1f43
push 0x142
lea eax, [ebp - 0x64c]
xorps xmm0, xmm0
push str.C:UsersOfficeDocumentsVisual_StudioPAULAUpdatePAULA2.c
push eax
movups xmmword [ebp - 0x64c], xmm0
call fcn.004d7dc0
mov ax, word [ebp - 0x648]
add esp, 0xc
test ax, ax
je 0x4e1f2f
cmp ax, 6
je 0x4e1f2f
mov ax, word [ebp - 0x644]
cmp ax, 0xe
jae 0x4e1f2f
cmp ax, 6
jae 0x4e1f43
lea eax, [ebp - 0x108]
push eax
call fcn.004e2970
add esp, 4
jmp 0x4e20e1
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.00424fd0
add esp, 4
lea eax, [ebp - 0x108]
push eax
call fcn.004289f0
add esp, 4
test eax, eax
je 0x4e1948
push 0x4e2110
push 1
push 1
push 0xea60
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00427280
add esp, 0x18
test eax, eax
jns 0x4e1fb8
push 0
push 0
call fcn.0047d960
push eax
lea eax, [ebp - 0x310]
push eax
push str.:9:ApplyUpdates___encountered_an_IMPOSSIBLE_EXCEPTION:_CopyNewerFiles___s_____s___FAILED_to_apply_an_already_tested_update_
call fcn.00424a90
add esp, 0x14
jmp 0x4e1948
call fcn.0043a920
lea eax, [ebp - 0x108]
push eax
call fcn.004e2970
lea eax, [ebp - 0x108]
push eax
call fcn.00429a50
lea eax, [ebp - 0x310]
push eax
call fcn.004289f0
add esp, 0xc
test eax, eax
je 0x4e1ff7
lea eax, [ebp - 0x310]
push eax
call fcn.004285e0
add esp, 4
push str.Revision.dat
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
lea eax, [ebp - 0x518]
push 0x50d2e0
push eax
call fcn.00404200
lea eax, [ebp - 0x518]
push eax
call fcn.004289f0
add esp, 0x14
test eax, eax
je 0x4e205a
push 0
push str.Revision.dat
push 0
call fcn.0047dbc0
add esp, 8
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00429860
lea eax, [ebp - 0x518]
push eax
call fcn.00429a50
add esp, 0x10
push 1
call fcn.0049c130
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.00424fd0
push str.UpdtFileLst.txt
push 0
call fcn.0047d960
add esp, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
je 0x4e20f4
lea eax, [ebp - 0x414]
push eax
call fcn.00428850
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret