Function at 0x549c30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x712e93
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x7b7fc0]
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.004b2050
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.005692a0
add esp, 4
call fcn.00569220
push eax
call fcn.0068d01f
add esp, 4
push 1
call fcn.00567350
add esp, 4
push 0
push 0x73c0f8
call fcn.0068dd58
add esp, 8
test eax, eax
jne 0x549cb2
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.0068dd58
add esp, 8
test eax, eax
jne 0x549cd9
push str.patchupdater.exe
call fcn.0068f301
add esp, 4
xor al, al
jmp 0x549fd9
call dword [sym.imp.DevIL.dll_ilInit]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0054a8d0
add esp, 4
test eax, eax
jne 0x549cf6
xor al, al
jmp 0x549fd9
push 0
call fcn.00567310
add esp, 4
mov edx, dword [0x810694]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x7d19ec]
cmp edx, dword [ecx + 0x20]
jle 0x549d65
push 0x7d19ec
call fcn.0065d757
add esp, 4
cmp dword [0x7d19ec], 0xffffffff
jne 0x549d65
mov dword [ebp - 4], 0
mov ecx, 0x7d19e4
call fcn.00569620
push 0x722260
call fcn.0065d680
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7d19ec
call fcn.0065d706
add esp, 4
mov eax, dword [0x810694]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x7d2e68]
cmp eax, dword [edx + 0x20]
jle 0x549dc9
push 0x7d2e68
call fcn.0065d757
add esp, 4
cmp dword [0x7d2e68], 0xffffffff
jne 0x549dc9
mov dword [ebp - 4], 1
mov ecx, 0x7d19f0
call fcn.005b0400
push 0x7221c0
call fcn.0065d680
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7d2e68
call fcn.0065d706
add esp, 4
push str.pack
call fcn.0054a000
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x549df5
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.00567150
add esp, 0xc
xor al, al
jmp 0x549fd9
mov edx, dword [ebp + 8]
push edx
call fcn.004a7910
add esp, 4
movzx eax, al
test eax, eax
je 0x549e16
call fcn.004a75d0
push eax
call fcn.005a1b90
add esp, 4
mov ecx, dword [0x810694]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x7d2e8c]
cmp ecx, dword [eax + 0x20]
jle 0x549e7c
push 0x7d2e8c
call fcn.0065d757
add esp, 4
cmp dword [0x7d2e8c], 0xffffffff
jne 0x549e7c
mov dword [ebp - 4], 2
mov ecx, 0x7d2e6c
call fcn.004cfdb0
push 0x722270
call fcn.0065d680
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x7d2e8c
call fcn.0065d706
add esp, 4
push str.config.cfg
lea ecx, [ebp - 0x28]
call fcn.00447530
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x7d2e6c
call fcn.004d00f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
call fcn.0054adc0
movzx eax, al
test eax, eax
jne 0x549ec0
xor al, al
jmp 0x549fd9
call fcn.0054ad50
movzx ecx, al
test ecx, ecx
jne 0x549ed3
xor al, al
jmp 0x549fd9
push 0x2cb20
call fcn.0065d3d0
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x5c], 0
je 0x549efd
mov ecx, dword [ebp - 0x5c]
call fcn.004ae9e0
mov dword [ebp - 0x60], eax
jmp 0x549f04
mov dword [ebp - 0x60], 0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00598770
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x78]
call fcn.0063a060
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004d6330
mov byte [ebp - 4], 6
lea edx, [ebp - 0x4c]
push edx
call fcn.0063a960
add esp, 4
push str.eter.python
lea ecx, [ebp - 0x78]
call fcn.0063a190
movzx eax, al
test eax, eax
je 0x549f75
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.0054a470
add esp, 8
mov byte [ebp - 0x4d], al
mov ecx, dword [ebp - 0x54]
call fcn.004af600
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x78]
call fcn.0063a170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004d63d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0063a0b0
mov ecx, dword [ebp - 0x54]
call fcn.004afdf0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x549fcf
push 1
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x6c], eax
jmp 0x549fd6
mov dword [ebp - 0x6c], 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.0065d40e
mov esp, ebp
pop ebp
ret