Function at 0x4a3555
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
mov eax, dword [0x5065d0]
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 + 0x155]
push ebx
push eax
mov byte [esp + 0x15c], bl
call fcn.004ab5d0
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.004ab5d0
add esp, 0xc
push esi
lea eax, [esp + 0x4d]
push ebx
push eax
mov byte [esp + 0x54], bl
call fcn.004ab5d0
add esp, 0xc
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.004ab5d0
add esp, 0xc
push esi
lea eax, [esp + 0x575]
push ebx
push eax
mov byte [esp + 0x57c], bl
call fcn.004ab5d0
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
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x44], bx
lea edi, [esp + 0x46]
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 + 0x150]
push str.ApplUdt.lck
push eax
mov dword [esp + 0x18], ebx
call fcn.0045ac28
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
jne 0x4a3666
call fcn.0049c471
sub eax, dword [0x61856c]
cmp eax, 0x493e0
jb 0x4a36c0
call fcn.0049c471
mov dword [0x61856c], eax
lea eax, [esp + 0x150]
call fcn.0041b7b6
mov dword [esp + 0x10], eax
call fcn.004a4168
test eax, eax
je 0x4a36ac
call fcn.0049c471
push 0x92
mov edi, str..UpdatePAULA2.c
push edi
push 0x20
mov dword [0x61856c], eax
call fcn.00441f38
add esp, 0xc
push 0x94
push edi
push 0x20
call fcn.004449ae
add esp, 0xc
test eax, eax
jne 0x4a36d7
push 0x97
push edi
push ebx
call fcn.00441f38
add esp, 0xc
test eax, eax
je 0x4a36df
cmp dword [esp + 0x10], ebx
je 0x4a36c0
lea eax, [esp + 0x150]
push eax
call fcn.0041b867
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aaeb5
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], 1
mov edi, 0x104
push str.Live.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.00476b6c
pop ecx
push 1
call fcn.004a3eae
test eax, eax
pop ecx
jne 0x4a3727
cmp dword [ebp + 8], ebx
jne 0x4a3713
push 0x20
call fcn.00445606
pop ecx
jmp 0x4a36ac
push str.LiveBranch.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.00476b6c
pop ecx
lea eax, [esp + 0x570]
push eax
lea edi, [esp + 0x364]
call fcn.004411d9
pop ecx
lea eax, [esp + 0x570]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004aa9a0
push ebx
push ebx
call fcn.0045ac28
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.004770f6
push 1
lea edx, [esp + 0x5c]
mov ecx, edi
call fcn.0041a1eb
add esp, 0x14
test eax, eax
jne 0x4a37f2
cmp dword [esp + 0x14], ebx
je 0x4a3782
push 0x20
call fcn.00445606
pop ecx
push 0x190
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x360]
call fcn.0041a629
test eax, eax
je 0x4a3800
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc2
push str..UpdatePAULA2.c
push 0x20
call fcn.004449ae
add esp, 0xc
test eax, eax
je 0x4a37cc
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x364]
call fcn.0041a1eb
test eax, eax
pop ecx
jne 0x4a37f2
cmp dword [esp + 0x14], ebx
je 0x4a36ac
jmp 0x4a3709
cmp dword [esp + 0x14], ebx
je 0x4a3800
push 0x20
call fcn.00445606
pop ecx
lea edi, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.0041a629
test eax, eax
je 0x4a3b25
push esi
lea eax, [esp + 0x46d]
push ebx
push eax
mov byte [esp + 0x474], bl
call fcn.004ab5d0
add esp, 0xc
push ebx
push ebx
call fcn.0045ac28
push eax
lea eax, [esp + 0x264]
push str._sUpdtTest_
push eax
call fcn.004ab54e
add esp, 0x14
lea edi, [esp + 0x258]
call fcn.0041a629
test eax, eax
je 0x4a386d
mov ecx, edi
call fcn.00419547
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea ecx, [esp + 0x25c]
call fcn.0041a9b8
pop ecx
lea eax, [esp + 0x258]
push eax
call fcn.0041a6da
pop ecx
push ebx
push ebx
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004013d0
add esp, 0x10
test eax, eax
jne 0x4a390f
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf3
push str..UpdatePAULA2.c
push 0x20
call fcn.004449ae
add esp, 0xc
test eax, eax
je 0x4a38cf
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x364]
call fcn.0041a1eb
cmp dword [esp + 0x18], ebx
pop ecx
je 0x4a38f0
push 0x20
call fcn.00445606
pop ecx
push ebx
push ebx
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004013d0
add esp, 0x10
test eax, eax
je 0x4a36ac
push str.Revision.dat
lea eax, [esp + 0x25c]
push eax
mov esi, 0x4ca4a0
lea eax, [esp + 0x470]
push esi
push eax
call fcn.004ab54e
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.004186f2
add esp, 0x18
test eax, eax
mov edi, str.PAULA.exe
jne 0x4a398c
push edi
lea eax, [esp + 0x25c]
push eax
lea eax, [esp + 0x470]
push esi
push eax
call fcn.004ab54e
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.004186f2
add esp, 0x18
test eax, eax
jne 0x4a398c
inc dword [0x618570]
jmp 0x4a36ac
push edi
push ebx
push ebx
call fcn.0045aa3a
pop ecx
pop ecx
push eax
lea eax, [esp + 0x470]
push esi
push eax
call fcn.004ab54e
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.004186f2
pop ecx
pop ecx
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 + 0x48]
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.0049bbbe
add esp, 0x20
test eax, eax
jge 0x4a3a03
lea ecx, [esp + 0x48]
call fcn.004a42ce
cmp dword [esp + 0x10], ebx
je 0x4a39fb
lea eax, [esp + 0x150]
push eax
call fcn.0041b867
pop ecx
xor eax, eax
inc eax
jmp 0x4a36c2
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 + 0x48]
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.0049b687
add esp, 0x20
test eax, eax
jne 0x4a3aa5
mov word [esp + 0x18], bx
lea edi, [esp + 0x1a]
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.0045ac28
pop ecx
pop ecx
push eax
lea eax, [esp + 0x470]
push 0x4ca4a0
push eax
call fcn.004ab54e
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x47c]
push eax
xor ecx, ecx
call fcn.004186f2
add esp, 0x18
test eax, eax
je 0x4a3aa5
sub esp, 0x10
mov edi, esp
lea esi, [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
lea esi, [esp + 0x48]
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.0049b687
add esp, 0x20
test eax, eax
je 0x4a3aa5
lea esi, [esp + 0x18]
lea edi, [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
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 + 0x48]
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.0049b687
add esp, 0x20
test eax, eax
je 0x4a3b25
call fcn.0040ef1b
test eax, eax
je 0x4a3b25
xor eax, eax
lea edi, [esp + 0x1a]
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 + 0x1c]
push str..UpdatePAULA2.c
push eax
call fcn.0049ce66
add esp, 0xc
cmp word [esp + 0x1c], bx
je 0x4a39de
cmp word [esp + 0x1c], 6
je 0x4a39de
cmp word [esp + 0x20], 0xe
jae 0x4a39de
cmp word [esp + 0x20], 6
jb 0x4a39de
lea edi, [esp + 0x48]
call fcn.0041a629
test eax, eax
je 0x4a36ac
push 0x4a3c04
push 1
push 1
push 0xea60
push ebx
push ebx
call fcn.0045aa3a
pop ecx
pop ecx
push eax
lea eax, [esp + 0x26c]
push eax
call fcn.004196f4
add esp, 0x18
test eax, eax
jl 0x4a36ac
call fcn.004247ca
mov ecx, edi
call fcn.004a42ce
mov eax, edi
call fcn.0041a140
lea edi, [esp + 0x258]
call fcn.0041a629
test eax, eax
je 0x4a3b90
mov ecx, edi
call fcn.00419547
mov esi, str.Revision.dat
push esi
push ebx
push ebx
call fcn.0045aa3a
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push 0x4ca4a0
push eax
call fcn.004ab54e
add esp, 0x10
lea edi, [esp + 0x360]
call fcn.0041a629
test eax, eax
je 0x4a3be2
push ebx
push esi
push ebx
call fcn.0045ac28
pop ecx
pop ecx
push eax
mov eax, edi
push eax
call fcn.00419fc7
add esp, 0xc
mov eax, edi
call fcn.0041a140
push 1
call fcn.004727f8
mov dword [esp], str.UpdtFileLst.txt
push ebx
call fcn.0045aa3a
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4a39e7