Function at 0x4a8369
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 + 0x34], ax
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], ax
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 + 0x258]
push str.ApplUdt.lck
push eax
mov dword [esp + 0x18], ebx
call fcn.004557a2
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
jne 0x4a847e
call fcn.0041a958
sub eax, dword [0x5f620c]
cmp eax, 0x493e0
jb 0x4a84ec
call fcn.0041a958
lea ecx, [esp + 0x258]
mov dword [0x5f620c], eax
call fcn.004905d4
mov dword [esp + 0x10], eax
call fcn.004a7cc1
test eax, eax
je 0x4a84da
call fcn.0041a958
push 0x94
push str.UpdatePAULA2.c
push 0x20
mov dword [0x5f620c], eax
call fcn.0046bf44
add esp, 0xc
test eax, eax
je 0x4a84a8
mov dword [esp + 0x14], 1
mov edi, 0x104
push str.Live.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.00438c78
pop ecx
push 1
call fcn.004a80c4
pop ecx
test eax, eax
jne 0x4a8517
cmp dword [ebp + 8], ebx
jne 0x4a8503
push 0x20
call fcn.0046821e
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4a84ec
lea ecx, [esp + 0x258]
call fcn.004904ac
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.00438c78
pop ecx
lea eax, [esp + 0x570]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00401ba0
push ebx
push ebx
call fcn.004557a2
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0043ac16
push 1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x47c]
call fcn.0048f001
add esp, 0x14
test eax, eax
jne 0x4a85d2
cmp dword [esp + 0x14], ebx
je 0x4a8562
push 0x20
call fcn.0046821e
pop ecx
push 0x190
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x468]
call fcn.0048e76e
test eax, eax
je 0x4a85e0
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc2
push str.UpdatePAULA2.c
push 0x20
call fcn.0046bf44
add esp, 0xc
test eax, eax
je 0x4a85ac
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x46c]
call fcn.0048f001
pop ecx
test eax, eax
jne 0x4a85d2
cmp dword [esp + 0x14], ebx
je 0x4a84da
jmp 0x4a84d2
cmp dword [esp + 0x14], ebx
je 0x4a85e0
push 0x20
call fcn.0046821e
pop ecx
lea edi, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.0048e76e
test eax, eax
je 0x4a8906
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.004557a2
push eax
lea eax, [esp + 0x15c]
push str._sUpdtTest_
push eax
call fcn.00401954
add esp, 0x14
lea edi, [esp + 0x150]
call fcn.0048e76e
test eax, eax
je 0x4a864d
mov ecx, edi
call fcn.0048f296
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea ecx, [esp + 0x154]
call fcn.0048e4b7
pop ecx
lea eax, [esp + 0x150]
push eax
call fcn.0048c9dd
pop ecx
push ebx
lea eax, [esp + 0x154]
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.0049a894
add esp, 0xc
test eax, eax
jne 0x4a86ed
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf3
push str.UpdatePAULA2.c
push 0x20
call fcn.0046bf44
add esp, 0xc
test eax, eax
je 0x4a86ae
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x46c]
call fcn.0048f001
pop ecx
cmp dword [esp + 0x14], ebx
je 0x4a86cf
push 0x20
call fcn.0046821e
pop ecx
push ebx
lea eax, [esp + 0x154]
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.0049a894
add esp, 0xc
test eax, eax
je 0x4a84da
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 + 0x38]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490cd1
add esp, 0x18
mov edi, str.PAULA.exe
test eax, eax
jne 0x4a876a
push edi
lea eax, [esp + 0x154]
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.00490cd1
add esp, 0x18
test eax, eax
jne 0x4a876a
inc dword [0x5f6210]
jmp 0x4a84da
push edi
push ebx
push ebx
call fcn.00455496
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push esi
push eax
call fcn.00401954
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490cd1
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.0041bff1
add esp, 0x20
test eax, eax
jns 0x4a87df
lea ecx, [esp + 0x48]
call fcn.004a7b9b
cmp dword [esp + 0x10], ebx
je 0x4a87d7
lea ecx, [esp + 0x258]
call fcn.004904ac
xor eax, eax
inc eax
jmp 0x4a84ee
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.0041afda
add esp, 0x20
test eax, eax
jne 0x4a8881
mov word [esp + 0x18], ax
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.004557a2
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push 0x4af44c
push eax
call fcn.00401954
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.00490cd1
add esp, 0x18
test eax, eax
je 0x4a8881
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.0041afda
add esp, 0x20
test eax, eax
je 0x4a8881
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.0041afda
add esp, 0x20
test eax, eax
je 0x4a8906
call fcn.00494c40
test eax, eax
je 0x4a8906
xor eax, eax
mov word [esp + 0x18], ax
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.0041cf84
add esp, 0xc
cmp word [esp + 0x1c], bx
je 0x4a87bc
cmp word [esp + 0x1c], 6
je 0x4a87bc
cmp word [esp + 0x20], 0xe
jae 0x4a87bc
cmp word [esp + 0x20], 6
jb 0x4a87bc
lea edi, [esp + 0x48]
call fcn.0048e76e
test eax, eax
je 0x4a84da
push 0x4a7e1a
push 1
push 1
push 0xea60
push ebx
push ebx
call fcn.00455496
pop ecx
pop ecx
push eax
lea eax, [esp + 0x164]
push eax
call fcn.0048f814
add esp, 0x18
test eax, eax
js 0x4a84da
call fcn.0048799b
mov ecx, edi
call fcn.004a7b9b
mov eax, edi
call fcn.0048e81f
lea edi, [esp + 0x150]
call fcn.0048e76e
test eax, eax
je 0x4a8971
mov ecx, edi
call fcn.0048f296
mov esi, str.Revision.dat
push esi
push ebx
push ebx
call fcn.00455496
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.0048e76e
test eax, eax
je 0x4a89c3
push ebx
push esi
push ebx
call fcn.004557a2
pop ecx
pop ecx
push eax
mov eax, edi
push eax
call fcn.0048e873
add esp, 0xc
mov eax, edi
call fcn.0048e81f
push 1
call fcn.0043d6ba
mov dword [esp], str.UpdtFileLst.txt
push ebx
call fcn.00455496
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4a87c5