Function at 0x4a8207
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
mov eax, dword [0x4e22e4]
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.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0x46d]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x474], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0x4d]
push ebx
push eax
mov byte [esp + 0x54], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0x155]
push ebx
push eax
mov byte [esp + 0x15c], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [esp + 0x575]
push ebx
push eax
mov byte [esp + 0x57c], bl
call fcn.00401f80
xor eax, eax
mov word [esp + 0x24], ax
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], ax
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.0045531b
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
jne 0x4a831c
call fcn.0041a877
sub eax, dword [0x5f61fc]
cmp eax, 0x493e0
jb 0x4a838a
call fcn.0041a877
lea ecx, [esp + 0x258]
mov dword [0x5f61fc], eax
call fcn.0049066c
mov dword [esp + 0x10], eax
call fcn.004a7b5f
test eax, eax
je 0x4a8378
call fcn.0041a877
push 0x94
push str.UpdatePAULA2.c
push 0x20
mov dword [0x5f61fc], eax
call fcn.0046b9b6
add esp, 0xc
test eax, eax
je 0x4a8346
mov dword [esp + 0x14], 1
mov edi, 0x104
push str.Live.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.00438aa8
pop ecx
push 1
call fcn.004a7f62
pop ecx
test eax, eax
jne 0x4a83b5
cmp dword [ebp + 8], ebx
jne 0x4a83a1
push 0x20
call fcn.00467de9
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4a838a
lea ecx, [esp + 0x258]
call fcn.00490544
xor eax, eax
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
push str.LiveBranch.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.00438aa8
pop ecx
lea eax, [esp + 0x570]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00401ba0
push ebx
push ebx
call fcn.0045531b
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0043aa46
push 1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x47c]
call fcn.0048f099
add esp, 0x14
test eax, eax
jne 0x4a8470
cmp dword [esp + 0x14], ebx
je 0x4a8400
push 0x20
call fcn.00467de9
pop ecx
push 0x190
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x468]
call fcn.0048e806
test eax, eax
je 0x4a847e
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc2
push str.UpdatePAULA2.c
push 0x20
call fcn.0046b9b6
add esp, 0xc
test eax, eax
je 0x4a844a
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x46c]
call fcn.0048f099
pop ecx
test eax, eax
jne 0x4a8470
cmp dword [esp + 0x14], ebx
je 0x4a8378
jmp 0x4a8370
cmp dword [esp + 0x14], ebx
je 0x4a847e
push 0x20
call fcn.00467de9
pop ecx
lea edi, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.0048e806
test eax, eax
je 0x4a8741
push esi
lea eax, [esp + 0x365]
push ebx
push eax
mov byte [esp + 0x36c], bl
call fcn.00401f80
add esp, 0xc
push ebx
push ebx
call fcn.0045531b
push eax
lea eax, [esp + 0x15c]
push str._sUpdtTest_
push eax
call fcn.00401954
add esp, 0x14
lea edi, [esp + 0x150]
call fcn.0048e806
test eax, eax
je 0x4a84eb
mov ecx, edi
call fcn.0048f32e
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea ecx, [esp + 0x154]
call fcn.0048e54f
pop ecx
lea eax, [esp + 0x150]
push eax
call fcn.0048ca6c
pop ecx
push ebx
lea eax, [esp + 0x154]
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.0049a750
add esp, 0xc
test eax, eax
jne 0x4a858b
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf3
push str.UpdatePAULA2.c
push 0x20
call fcn.0046b9b6
add esp, 0xc
test eax, eax
je 0x4a854c
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x46c]
call fcn.0048f099
pop ecx
cmp dword [esp + 0x14], ebx
je 0x4a856d
push 0x20
call fcn.00467de9
pop ecx
push ebx
lea eax, [esp + 0x154]
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.0049a750
add esp, 0xc
test eax, eax
je 0x4a8378
push str.Revision.dat
lea eax, [esp + 0x154]
push eax
mov esi, 0x4af44c
lea eax, [esp + 0x368]
push esi
push eax
call fcn.00401954
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490d69
add esp, 0x18
mov edi, str.PAULA.exe
test eax, eax
jne 0x4a8608
push edi
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x368]
push esi
push eax
call fcn.00401954
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490d69
add esp, 0x18
test eax, eax
jne 0x4a8608
inc dword [0x5f6200]
jmp 0x4a8378
push edi
push ebx
push ebx
call fcn.0045500f
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push esi
push eax
call fcn.00401954
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490d69
pop ecx
pop ecx
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.0041bf10
add esp, 0x20
test eax, eax
jns 0x4a867d
lea ecx, [esp + 0x48]
call fcn.004a7a39
cmp dword [esp + 0x10], ebx
je 0x4a8675
lea ecx, [esp + 0x258]
call fcn.00490544
xor eax, eax
inc eax
jmp 0x4a838c
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.0041aef9
add esp, 0x20
test eax, eax
jne 0x4a871f
mov word [esp + 0x38], ax
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.0045531b
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push 0x4af44c
push eax
call fcn.00401954
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490d69
add esp, 0x18
test eax, eax
je 0x4a871f
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.0041aef9
add esp, 0x20
test eax, eax
je 0x4a871f
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.0041aef9
add esp, 0x20
lea edi, [esp + 0x48]
call fcn.0048e806
test eax, eax
je 0x4a8378
push 0x4a7cb8
push 1
push 1
push 0xea60
push ebx
push ebx
call fcn.0045500f
pop ecx
pop ecx
push eax
lea eax, [esp + 0x164]
push eax
call fcn.0048f8ac
add esp, 0x18
test eax, eax
js 0x4a8378
call fcn.0048766e
mov ecx, edi
call fcn.004a7a39
mov eax, edi
call fcn.0048e8b7
lea edi, [esp + 0x150]
call fcn.0048e806
test eax, eax
je 0x4a87ac
mov ecx, edi
call fcn.0048f32e
mov esi, str.Revision.dat
push esi
push ebx
push ebx
call fcn.0045500f
pop ecx
pop ecx
push eax
lea eax, [esp + 0x470]
push 0x4af44c
push eax
call fcn.00401954
add esp, 0x10
lea edi, [esp + 0x468]
call fcn.0048e806
test eax, eax
je 0x4a87fe
push ebx
push esi
push ebx
call fcn.0045531b
pop ecx
pop ecx
push eax
mov eax, edi
push eax
call fcn.0048e90b
add esp, 0xc
mov eax, edi
call fcn.0048e8b7
push 1
call fcn.0043d33f
mov dword [esp], str.UpdtFileLst.txt
push ebx
call fcn.0045500f
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4a8663