Function at 0x548e50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c08b7
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x772a40]
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.00547120
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.005607f0
add esp, 4
call fcn.00560790
push eax
call fcn.0066500e
add esp, 4
push 1
call fcn.0055f5b0
add esp, 4
push 0
push 0x6f0bd4
call fcn.00667fdf
add esp, 8
test eax, eax
jne 0x548ed2
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.00667fdf
add esp, 8
test eax, eax
jne 0x548ef9
push str.patchupdater.exe
call fcn.0066aa93
add esp, 4
xor al, al
jmp 0x549266
call dword [sym.imp.DevIL.dll_ilInit]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00548380
add esp, 4
test eax, eax
jne 0x548f16
xor al, al
jmp 0x549266
push 0
call fcn.0055f560
add esp, 4
call fcn.0051ef30
mov edx, dword [0x7ce514]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x791040]
cmp edx, dword [ecx + 0x20]
jle 0x548f8a
push 0x791040
call fcn.00617272
add esp, 4
cmp dword [0x791040], 0xffffffff
jne 0x548f8a
mov dword [ebp - 4], 0
mov ecx, 0x791038
call fcn.00561cc0
push 0x6ce8d0
call fcn.006171e1
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x791040
call fcn.00617221
add esp, 4
mov eax, dword [0x7ce514]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x7924a8]
cmp eax, dword [edx + 0x20]
jle 0x548fee
push 0x7924a8
call fcn.00617272
add esp, 4
cmp dword [0x7924a8], 0xffffffff
jne 0x548fee
mov dword [ebp - 4], 1
mov ecx, 0x791048
call fcn.00599040
push 0x6ce840
call fcn.006171e1
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7924a8
call fcn.00617221
add esp, 4
mov ecx, dword [0x7ce514]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x79252c]
cmp ecx, dword [eax + 0x20]
jle 0x549054
push 0x79252c
call fcn.00617272
add esp, 4
cmp dword [0x79252c], 0xffffffff
jne 0x549054
mov dword [ebp - 4], 2
mov ecx, 0x7924b0
call fcn.0044c710
push 0x6ce850
call fcn.006171e1
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x79252c
call fcn.00617221
add esp, 4
push str.pack
call fcn.005483d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x549080
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.0055f3e0
add esp, 0xc
xor al, al
jmp 0x549266
mov eax, dword [0x7ce514]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x792550]
cmp eax, dword [edx + 0x20]
jle 0x5490e4
push 0x792550
call fcn.00617272
add esp, 4
cmp dword [0x792550], 0xffffffff
jne 0x5490e4
mov dword [ebp - 4], 3
mov ecx, 0x792530
call fcn.0047f300
push 0x6ce8e0
call fcn.006171e1
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x792550
call fcn.00617221
add esp, 4
push str.config.cfg
lea ecx, [ebp - 0x28]
call fcn.00442b10
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x792530
call fcn.0047f3b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00442a70
mov edx, dword [ebp + 8]
push edx
call fcn.00516620
add esp, 4
movzx eax, al
test eax, eax
je 0x549136
call fcn.005163e0
push eax
call fcn.0057a330
add esp, 4
call fcn.00547a90
movzx ecx, al
test ecx, ecx
jne 0x549149
xor al, al
jmp 0x549266
call fcn.00548210
movzx edx, al
test edx, edx
jne 0x54915c
xor al, al
jmp 0x549266
push 0x38fc0
call fcn.00616d3f
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x5c], 0
je 0x549186
mov ecx, dword [ebp - 0x5c]
call fcn.004fae70
mov dword [ebp - 0x60], eax
jmp 0x54918d
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.0058ca20
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x7c]
call fcn.0060ebd0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.0051f0b0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
call fcn.0060f480
add esp, 4
push str.eter.python
lea ecx, [ebp - 0x7c]
call fcn.0060ec90
movzx ecx, al
test ecx, ecx
je 0x5491fe
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.005489b0
add esp, 8
mov byte [ebp - 0x4d], al
mov ecx, dword [ebp - 0x54]
call fcn.004fbbb0
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.0051f120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0060ec00
mov ecx, dword [ebp - 0x54]
call fcn.004fb9e0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
je 0x54925c
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 0x549263
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.00616d7d
mov esp, ebp
pop ebp
ret