Function at 0x54fdf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4797
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.0054e0e0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esi, eax
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x64]
push eax
call fcn.00567860
add esp, 4
call fcn.00567800
push eax
call fcn.00668e7e
add esp, 4
push 1
call fcn.00566620
add esp, 4
push 0
push 0x700458
call fcn.0066be0f
add esp, 8
test eax, eax
jne 0x54fe72
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.0066be0f
add esp, 8
test eax, eax
jne 0x54fe99
push str.patchupdater.exe
call fcn.0066ee0a
add esp, 4
xor al, al
jmp 0x550206
call dword [sym.imp.DevIL.dll_ilInit]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054f340
add esp, 4
test eax, eax
jne 0x54feb6
xor al, al
jmp 0x550206
push 0
call fcn.005665d0
add esp, 4
call fcn.00528400
mov edx, dword [0x7e8fd4]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x7abb20]
cmp edx, dword [ecx + 0x20]
jle 0x54ff2a
push 0x7abb20
call fcn.0061b189
add esp, 4
cmp dword [0x7abb20], 0xffffffff
jne 0x54ff2a
mov dword [ebp - 4], 0
mov ecx, 0x7abb18
call fcn.00568b60
push 0x6d28b0
call fcn.0061b041
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7abb20
call fcn.0061b13f
add esp, 4
mov eax, dword [0x7e8fd4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x7acf88]
cmp eax, dword [edx + 0x20]
jle 0x54ff8e
push 0x7acf88
call fcn.0061b189
add esp, 4
cmp dword [0x7acf88], 0xffffffff
jne 0x54ff8e
mov dword [ebp - 4], 1
mov ecx, 0x7abb28
call fcn.0059c7e0
push 0x6d2820
call fcn.0061b041
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7acf88
call fcn.0061b13f
add esp, 4
mov ecx, dword [0x7e8fd4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x7ad00c]
cmp ecx, dword [eax + 0x20]
jle 0x54fff4
push 0x7ad00c
call fcn.0061b189
add esp, 4
cmp dword [0x7ad00c], 0xffffffff
jne 0x54fff4
mov dword [ebp - 4], 2
mov ecx, 0x7acf90
call fcn.0045cbf0
push 0x6d2830
call fcn.0061b041
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7ad00c
call fcn.0061b13f
add esp, 4
push str.pack
call fcn.0054f390
add esp, 4
movzx edx, al
test edx, edx
jne 0x550020
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.00566450
add esp, 0xc
xor al, al
jmp 0x550206
mov eax, dword [0x7e8fd4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x7ad030]
cmp eax, dword [edx + 0x20]
jle 0x550084
push 0x7ad030
call fcn.0061b189
add esp, 4
cmp dword [0x7ad030], 0xffffffff
jne 0x550084
mov dword [ebp - 4], 3
mov ecx, 0x7ad010
call fcn.0048cb90
push 0x6d28c0
call fcn.0061b041
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7ad030
call fcn.0061b13f
add esp, 4
push str.config.cfg
lea ecx, [ebp - 0x28]
call fcn.00451ad0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x7ad010
call fcn.0048cc40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00451a30
mov edx, dword [ebp + 8]
push edx
call fcn.0051faa0
add esp, 4
movzx eax, al
test eax, eax
je 0x5500d6
call fcn.0051f860
push eax
call fcn.0057ec80
add esp, 4
call fcn.0054ea50
movzx ecx, al
test ecx, ecx
jne 0x5500e9
xor al, al
jmp 0x550206
call fcn.0054f1d0
movzx edx, al
test edx, edx
jne 0x5500fc
xor al, al
jmp 0x550206
push 0x41748
call fcn.0061aba4
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x5c], 0
je 0x550126
mov ecx, dword [ebp - 0x5c]
call fcn.00505fb0
mov dword [ebp - 0x60], eax
jmp 0x55012d
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00590500
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x7c]
call fcn.00612740
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00528580
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
call fcn.00612fe0
add esp, 4
push str.eter.python
lea ecx, [ebp - 0x7c]
call fcn.00612800
movzx ecx, al
test ecx, ecx
je 0x55019e
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.0054f970
add esp, 8
mov byte [ebp - 0x4d], al
mov ecx, dword [ebp - 0x54]
call fcn.00506c80
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x7c]
call sub.python27.dll_Py_Finalize
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.005285f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00612770
mov ecx, dword [ebp - 0x54]
call fcn.00506ac0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
je 0x5501fc
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
push 1
mov ecx, dword [ebp - 0x58]
call dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x550203
mov dword [ebp - 0x70], 0
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret