Function at 0x4a238e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x674
mov eax, dword [0x4d82d4]
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.004541af
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
jne 0x4a24a3
call fcn.0041b82a
sub eax, dword [0x5e8748]
cmp eax, 0x493e0
jb 0x4a2511
call fcn.0041b82a
lea ecx, [esp + 0x258]
mov dword [0x5e8748], eax
call fcn.0048e23d
mov dword [esp + 0x10], eax
call fcn.004a1ce6
test eax, eax
je 0x4a24ff
call fcn.0041b82a
push 0x94
push str.UpdatePAULA2.c
push 0x20
mov dword [0x5e8748], eax
call fcn.0046a2c9
add esp, 0xc
test eax, eax
je 0x4a24cd
mov dword [esp + 0x14], 1
mov edi, 0x104
push str.Live.ark
mov ecx, edi
lea eax, [esp + 0x574]
call fcn.00438b01
pop ecx
push 1
call fcn.004a20e9
pop ecx
test eax, eax
jne 0x4a253c
cmp dword [ebp + 8], ebx
jne 0x4a2528
push 0x20
call fcn.00466725
pop ecx
cmp dword [esp + 0x10], ebx
je 0x4a2511
lea ecx, [esp + 0x258]
call fcn.0048e115
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.00438b01
pop ecx
lea eax, [esp + 0x570]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00401ba0
push ebx
push ebx
call fcn.004541af
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0043aa27
push 1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x47c]
call fcn.0048cc6a
add esp, 0x14
test eax, eax
jne 0x4a25f7
cmp dword [esp + 0x14], ebx
je 0x4a2587
push 0x20
call fcn.00466725
pop ecx
push 0x190
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esp + 0x468]
call fcn.0048c243
test eax, eax
je 0x4a2605
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc2
push str.UpdatePAULA2.c
push 0x20
call fcn.0046a2c9
add esp, 0xc
test eax, eax
je 0x4a25d1
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x46c]
call fcn.0048cc6a
pop ecx
test eax, eax
jne 0x4a25f7
cmp dword [esp + 0x14], ebx
je 0x4a24ff
jmp 0x4a24f7
cmp dword [esp + 0x14], ebx
je 0x4a2605
push 0x20
call fcn.00466725
pop ecx
lea edi, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.0048c243
test eax, eax
je 0x4a28ca
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.004541af
push eax
lea eax, [esp + 0x15c]
push str._sUpdtTest_
push eax
call fcn.00401954
add esp, 0x14
lea edi, [esp + 0x150]
call fcn.0048c243
test eax, eax
je 0x4a2672
mov ecx, edi
call fcn.0048ceff
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea ecx, [esp + 0x154]
call fcn.0048bf8c
pop ecx
lea eax, [esp + 0x150]
push eax
call fcn.0048a4a9
pop ecx
push ebx
push ebx
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004991a8
add esp, 0x10
test eax, eax
jne 0x4a2714
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf3
push str.UpdatePAULA2.c
push 0x20
call fcn.0046a2c9
add esp, 0xc
test eax, eax
je 0x4a26d4
mov dword [esp + 0x14], 1
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x46c]
call fcn.0048cc6a
pop ecx
cmp dword [esp + 0x14], ebx
je 0x4a26f5
push 0x20
call fcn.00466725
pop ecx
push ebx
push ebx
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004991a8
add esp, 0x10
test eax, eax
je 0x4a24ff
push str.Revision.dat
lea eax, [esp + 0x154]
push eax
mov esi, 0x4a8ed8
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.0048e93a
add esp, 0x18
mov edi, str.PAULA.exe
test eax, eax
jne 0x4a2791
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.0048e93a
add esp, 0x18
test eax, eax
jne 0x4a2791
inc dword [0x5e874c]
jmp 0x4a24ff
push edi
push ebx
push ebx
call fcn.00453ea3
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.0048e93a
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.0041cec3
add esp, 0x20
test eax, eax
jns 0x4a2806
lea ecx, [esp + 0x48]
call fcn.004a1bc0
cmp dword [esp + 0x10], ebx
je 0x4a27fe
lea ecx, [esp + 0x258]
call fcn.0048e115
xor eax, eax
inc eax
jmp 0x4a2513
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.0041beac
add esp, 0x20
test eax, eax
jne 0x4a28a8
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.004541af
pop ecx
pop ecx
push eax
lea eax, [esp + 0x368]
push 0x4a8ed8
push eax
call fcn.00401954
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x374]
push eax
xor ecx, ecx
call fcn.0048e93a
add esp, 0x18
test eax, eax
je 0x4a28a8
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.0041beac
add esp, 0x20
test eax, eax
je 0x4a28a8
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.0041beac
add esp, 0x20
lea edi, [esp + 0x48]
call fcn.0048c243
test eax, eax
je 0x4a24ff
push 0x4a1e3f
push 1
push 1
push 0xea60
push ebx
push ebx
call fcn.00453ea3
pop ecx
pop ecx
push eax
lea eax, [esp + 0x164]
push eax
call fcn.0048d47d
add esp, 0x18
test eax, eax
js 0x4a24ff
call fcn.00483d5c
mov ecx, edi
call fcn.004a1bc0
mov eax, edi
call fcn.0048c2f4
lea edi, [esp + 0x150]
call fcn.0048c243
test eax, eax
je 0x4a2935
mov ecx, edi
call fcn.0048ceff
mov esi, str.Revision.dat
push esi
push ebx
push ebx
call fcn.00453ea3
pop ecx
pop ecx
push eax
lea eax, [esp + 0x470]
push 0x4a8ed8
push eax
call fcn.00401954
add esp, 0x10
lea edi, [esp + 0x468]
call fcn.0048c243
test eax, eax
je 0x4a2987
push ebx
push esi
push ebx
call fcn.004541af
pop ecx
pop ecx
push eax
mov eax, edi
push eax
call fcn.0048c348
add esp, 0xc
mov eax, edi
call fcn.0048c2f4
push 1
call fcn.0043cbbc
mov dword [esp], str.UpdtFileLst.txt
push ebx
call fcn.00453ea3
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4a27ec