Function at 0x56c2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b2a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0056c220
movzx eax, al
test eax, eax
jne 0x56c32d
push 0
push 0
push str.Something_went_wrong__try_again_
call fcn.0057e580
add esp, 0xc
xor al, al
jmp 0x56c5a8
push 0
call fcn.0056b450
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esi, eax
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0057f760
add esp, 4
call fcn.0057f700
push eax
call fcn.006250c8
add esp, 4
push 1
call fcn.0057e730
add esp, 4
push 0
push 0x6d3e98
call fcn.00623d1d
add esp, 8
test eax, eax
jne 0x56c386
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.00623d1d
add esp, 8
test eax, eax
jne 0x56c3ad
push str.patchupdater.exe
call fcn.006274f7
add esp, 4
xor al, al
jmp 0x56c5a8
call dword [sym.imp.DevIL.dll_ilInit]
mov edx, dword [ebp + 0xc]
push edx
call fcn.0056b810
add esp, 4
test eax, eax
jne 0x56c3ca
xor al, al
jmp 0x56c5a8
push 0
call fcn.0057e6e0
add esp, 4
mov eax, dword [0x772a9c]
and eax, 1
jne 0x56c412
mov ecx, dword [0x772a9c]
or ecx, 1
mov dword [0x772a9c], ecx
mov dword [ebp - 4], 0
mov ecx, 0x772a94
call fcn.00580160
push 0x6bbf90
call fcn.00620c9e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x772a9c]
and edx, 2
jne 0x56c44f
mov eax, dword [0x772a9c]
or eax, 2
mov dword [0x772a9c], eax
mov dword [ebp - 4], 1
mov ecx, 0x772aa0
call fcn.005b0e10
push 0x6bbf70
call fcn.00620c9e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.pack
call fcn.0056b870
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x56c47b
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.0057e580
add esp, 0xc
xor al, al
jmp 0x56c5a8
mov edx, dword [ebp + 8]
push edx
call fcn.00547470
add esp, 4
movzx eax, al
test eax, eax
je 0x56c49c
call fcn.00547240
push eax
call fcn.005979c0
add esp, 4
push 0x36448
call fcn.00620b22
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x48], 0
je 0x56c4c6
mov ecx, dword [ebp - 0x48]
call fcn.005309d0
mov dword [ebp - 0x44], eax
jmp 0x56c4cd
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.005a5fe0
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x64]
call fcn.006192e0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0054da30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.00619a30
add esp, 4
push str.eter.python
lea ecx, [ebp - 0x64]
call fcn.00619390
movzx edx, al
test edx, edx
je 0x56c53e
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0056bd00
add esp, 8
mov byte [ebp - 0x35], al
mov ecx, dword [ebp - 0x3c]
call fcn.00531730
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x64]
call sub.python27.dll_Py_Finalize
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0054daa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00619300
mov ecx, dword [ebp - 0x3c]
call fcn.00531590
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x56c59e
push 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x50], eax
jmp 0x56c5a5
mov dword [ebp - 0x50], 0
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret