Function at 0x4d9220
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
call fcn.005e9457
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.004f0410
call fcn.004f03b0
push eax
call fcn.005e9445
push 1
call fcn.004ef190
push 0
push str.perf_game_update.txt
call fcn.005e36c3
add esp, 0x14
test eax, eax
jne 0x4d929b
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005e36c3
add esp, 8
test eax, eax
jne 0x4d92d9
push str.patchupdater.exe
call fcn.005ecf5c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.DevIL.dll_ilInit]
push edi
call fcn.004da340
add esp, 4
test eax, eax
je 0x4d92bb
push 0
call fcn.004ef140
mov eax, dword fs:[0x2c]
add esp, 4
mov ecx, dword [0x7282b4]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x6eaad8]
cmp eax, dword [esi + 0x20]
jg 0x4d945c
mov eax, dword [0x6ebf58]
cmp eax, dword [esi + 0x20]
jg 0x4d94aa
mov eax, dword [0x6ebfdc]
cmp eax, dword [esi + 0x20]
jg 0x4d94f8
push str.pack
call fcn.004d9550
add esp, 4
test al, al
jne 0x4d935f
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.004eefc0
add esp, 0xc
jmp 0x4d92bb
push ebx
call fcn.00458390
add esp, 4
test al, al
je 0x4d937a
call fcn.004becc0
push eax
call fcn.0050a2b0
add esp, 4
call fcn.004da420
test al, al
je 0x4d92bb
call fcn.004da3a0
test al, al
je 0x4d92bb
push 0x1f9d8
call fcn.00599754
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4d93ba
mov ecx, eax
call fcn.004b19d0
mov esi, eax
jmp 0x4d93bc
xor esi, esi
push ebx
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00519260
lea ecx, [ebp - 0x40]
xor bl, bl
call fcn.00591940
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 4
call fcn.004c51b0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
call fcn.005921e0
add esp, 4
lea ecx, [ebp - 0x40]
push str.eter.python
call fcn.00591a00
test al, al
je 0x4d9414
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.004d9c60
add esp, 8
mov bl, al
mov ecx, esi
call fcn.004b2470
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x40]
call sub.python27.dll_Py_Finalize
lea ecx, [ebp - 0x34]
call fcn.004c5250
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00591970
mov ecx, esi
call fcn.004b2aa0
test esi, esi
je 0x4d9455
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov al, bl
jmp 0x4d92bd
push 0x6eaad8
call fcn.00599a98
add esp, 4
cmp dword [0x6eaad8], 0xffffffff
jne 0x4d9316
mov ecx, 0x6eaad0
mov dword [ebp - 4], 0
call fcn.004f11d0
push 0x6478f0
call fcn.0059973f
push 0x6eaad8
mov dword [ebp - 4], 0xffffffff
call fcn.00599a4e
add esp, 8
jmp 0x4d9316
push 0x6ebf58
call fcn.00599a98
add esp, 4
cmp dword [0x6ebf58], 0xffffffff
jne 0x4d9327
mov ecx, 0x6eaae0
mov dword [ebp - 4], 1
call fcn.00523aa0
push 0x647840
call fcn.0059973f
push 0x6ebf58
mov dword [ebp - 4], 0xffffffff
call fcn.00599a4e
add esp, 8
jmp 0x4d9327
push 0x6ebfdc
call fcn.00599a98
add esp, 4
cmp dword [0x6ebfdc], 0xffffffff
jne 0x4d9338
mov ecx, 0x6ebf60
mov dword [ebp - 4], 2
call fcn.004530d0
push 0x647850
call fcn.0059973f
push 0x6ebfdc
mov dword [ebp - 4], 0xffffffff
call fcn.00599a4e
add esp, 8
jmp 0x4d9338