Function at 0x4e7c60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61eeaf
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 0
call fcn.005e27e0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.00536800
add esp, 4
call fcn.005367a0
push eax
call fcn.005e2519
add esp, 4
push 1
call fcn.00535270
add esp, 4
push 0
push str.perf_game_update.txt
call fcn.005e302a
add esp, 8
test eax, eax
jne 0x4e7cee
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005e302a
add esp, 8
test eax, eax
jne 0x4e7d15
push str.patchupdater.exe
call fcn.005e3777
add esp, 4
xor al, al
jmp 0x4e7f0c
call dword [sym.imp.DevIL.dll_ilInit]
call fcn.004e82a0
test eax, eax
je 0x4e7d0e
push 0
call fcn.00535220
mov eax, dword [0x71d5d4]
add esp, 4
test al, 1
jne 0x4e7d6b
or eax, 1
mov dword [0x71d5d4], eax
mov ecx, 0x71d5d8
mov dword [esp + 0x70], 0
call fcn.00536810
push 0x62da30
call fcn.005e04f9
mov dword [esp + 0x74], 0xffffffff
add esp, 4
mov eax, dword [0x71d5d4]
test al, 2
jne 0x4e7d9e
or eax, 2
mov dword [0x71d5d4], eax
mov ecx, 0x71d5e0
mov dword [esp + 0x70], 1
call fcn.005694c0
push 0x62da20
call fcn.005e04f9
add esp, 4
mov dword [esp + 0x70], 0xffffffff
call fcn.004e7230
test al, al
jne 0x4e7dbf
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.005350c0
add esp, 0xc
xor al, al
jmp 0x4e7f0c
mov eax, dword [0x71d5d4]
test al, 4
jne 0x4e7de7
or eax, 4
mov ecx, 0x71ea5c
mov dword [0x71d5d4], eax
call fcn.00488040
push 0x62da10
call fcn.005e04f9
add esp, 4
push str.config.cfg
lea ecx, [esp + 0x28]
call fcn.0045dcb0
lea eax, [esp + 0x24]
mov dword [esp + 0x70], 2
push eax
mov ecx, 0x71ea5c
call fcn.00488160
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x4e7e27
push dword [esp + 0x24]
call fcn.004ec310
add esp, 4
call fcn.004602f0
test al, al
je 0x4e7e3e
call fcn.0046be20
push eax
call fcn.0055f780
add esp, 4
push 0x24e70
call fcn.005dfa23
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], 3
test eax, eax
je 0x4e7e66
mov ecx, eax
call fcn.00471420
mov esi, eax
jmp 0x4e7e68
xor esi, esi
push ebx
mov ecx, esi
mov dword [esp + 0x74], 0xffffffff
call fcn.0054e6d0
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.005d69f0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 4
call fcn.0048d310
lea eax, [esp + 0x3c]
mov byte [esp + 0x70], 5
push eax
call fcn.005d7140
add esp, 4
lea ecx, [esp + 0x14]
push str.eter.python
call fcn.005d6aa0
test al, al
je 0x4e7ec5
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.004e7630
mov bl, al
mov ecx, esi
call fcn.00473b50
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [esp + 0x14]
call sub.python27.dll_Py_Finalize
lea ecx, [esp + 0x3c]
call fcn.0048d3c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
call fcn.005d6a10
mov ecx, esi
call fcn.00473b60
test esi, esi
je 0x4e7f0a
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret