Function at 0x5038a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665200
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x71ccd4]
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.00501d90
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esi, eax
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0051a1c0
add esp, 4
call fcn.0051a160
push eax
call fcn.00614f19
add esp, 4
push 1
call fcn.00519090
add esp, 4
push 0
push 0x68a964
call fcn.006106ca
add esp, 8
test eax, eax
jne 0x503922
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.006106ca
add esp, 8
test eax, eax
jne 0x503949
push str.patchupdater.exe
call fcn.00619920
add esp, 4
xor al, al
jmp 0x503bb2
call dword [sym.imp.DevIL.dll_ilInit]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00502f60
add esp, 4
test eax, eax
jne 0x503966
xor al, al
jmp 0x503bb2
push 0
call fcn.00519040
add esp, 4
mov edx, dword [0x7d0fb4]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x7939a8]
cmp edx, dword [ecx + 0x20]
jle 0x5039d5
push 0x7939a8
call fcn.005c80f9
add esp, 4
cmp dword [0x7939a8], 0xffffffff
jne 0x5039d5
mov dword [ebp - 4], 0
mov ecx, 0x7939a0
call fcn.0051afc0
push 0x672920
call fcn.005c7faf
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7939a8
call fcn.005c80af
add esp, 4
mov eax, dword [0x7d0fb4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x794e28]
cmp eax, dword [edx + 0x20]
jle 0x503a39
push 0x794e28
call fcn.005c80f9
add esp, 4
cmp dword [0x794e28], 0xffffffff
jne 0x503a39
mov dword [ebp - 4], 1
mov ecx, 0x7939b0
call fcn.00550d10
push 0x6728a0
call fcn.005c7faf
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x794e28
call fcn.005c80af
add esp, 4
push str.pack
call fcn.00502fc0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x503a65
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.00518eb0
add esp, 0xc
xor al, al
jmp 0x503bb2
mov edx, dword [ebp + 8]
push edx
call fcn.004ddcb0
add esp, 4
movzx eax, al
test eax, eax
je 0x503a86
call fcn.004dda80
push eax
call fcn.00533750
add esp, 4
call fcn.00502670
movzx ecx, al
test ecx, ecx
jne 0x503a99
xor al, al
jmp 0x503bb2
call fcn.00502df0
movzx edx, al
test edx, edx
jne 0x503aac
xor al, al
jmp 0x503bb2
push 0x2ee98
call fcn.005c7d27
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0
je 0x503ad6
mov ecx, dword [ebp - 0x44]
call fcn.004c2c60
mov dword [ebp - 0x48], eax
jmp 0x503add
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.00546100
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x60]
call fcn.005c0210
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004e22f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push eax
call fcn.005c0ab0
add esp, 4
push str.eter.python
lea ecx, [ebp - 0x60]
call fcn.005c02d0
movzx ecx, al
test ecx, ecx
je 0x503b4e
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00503450
add esp, 8
mov byte [ebp - 0x35], al
mov ecx, dword [ebp - 0x3c]
call fcn.004c38e0
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x60]
call sub.python27.dll_Py_Finalize
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004e2360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.005c0240
mov ecx, dword [ebp - 0x3c]
call fcn.004c3720
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x503ba8
push 1
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x54], eax
jmp 0x503baf
mov dword [ebp - 0x54], 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.005c81cf
mov esp, ebp
pop ebp
ret