Function at 0x4907a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e58a2
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x651ea8]
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 dword [ebp - 0x60], edx
push 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x38], ecx
push eax
push 0x6d7f48
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x49081a
push 0
push str.Kliensind
push 0
call fcn.004a4a60
add esp, 0xc
mov al, 1
jmp 0x490b0c
push 4
call fcn.00552c3c
mov esi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
mov dword [esi], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
call fcn.00551767
add esp, 8
test eax, eax
je 0x49084b
push eax
call fcn.00550fa3
add esp, 4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x78], 1
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push 1
push eax
call fcn.0055144d
add esp, 8
test eax, eax
je 0x490874
push eax
call fcn.00550fa3
add esp, 4
mov eax, dword [ebp - 0x48]
mov byte [ebp - 0x58], 1
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
push eax
mov byte [ebp - 0x44], 0
call fcn.005514a0
add esp, 4
test eax, eax
je 0x49089c
push eax
call fcn.00550fa3
add esp, 4
mov dword [ebp - 0x50], 0x62dfbc
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x80]
push 0x48ef10
push eax
call fcn.0055105f
add esp, 0xc
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x4908de
push ecx
call fcn.00550fa3
add esp, 4
cmp byte [ebp - 0x44], 0
jne 0x490905
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.005517c2
add esp, 8
test eax, eax
je 0x4908ff
push eax
call fcn.00550fa3
add esp, 4
cmp byte [ebp - 0x44], 0
je 0x4908e4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x490917
push 4
push eax
call fcn.00552bfd
add esp, 8
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
push esi
call fcn.005514c5
add esp, 4
test eax, eax
je 0x490937
push eax
call fcn.00550fa3
add esp, 4
push esi
call fcn.00551409
push edi
call fcn.00551730
add esp, 8
push str.Kernel32.dll
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0048f080
push 0
mov dword [0x6d7f4c], eax
call fcn.005a208e
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.004a6880
call fcn.004a6820
push eax
call fcn.005a1b47
push 1
call fcn.004a4c30
push 0
push str.perf_game_update.txt
call fcn.005a2dfd
add esp, 0x14
test eax, eax
jne 0x4909ad
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005a2dfd
add esp, 8
test eax, eax
jne 0x4909de
push str.patchupdater.exe
call fcn.005a44d3
add esp, 4
xor bl, bl
cmp dword [ebp - 0x7c], 0
jne 0x490b28
jmp 0x490b0a
call dword [sym.imp.DevIL.dll_ilInit]
call fcn.00490f60
test eax, eax
je 0x4909cd
push 0
call fcn.004a4be0
mov eax, dword fs:[0x2c]
add esp, 4
mov esi, dword [eax]
mov eax, dword [0x6dc494]
cmp eax, dword [esi + 4]
jg 0x490b2d
mov eax, dword [0x6dc4a0]
cmp eax, dword [esi + 4]
jg 0x490b75
call fcn.0048f4d0
test al, al
jne 0x490a3d
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.004a4a60
add esp, 0xc
jmp 0x4909cd
call fcn.00409bb0
test al, al
je 0x490a54
call fcn.00418000
push eax
call fcn.004cfe00
add esp, 4
push 0x32a88
call fcn.00552c3c
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041cda0
mov esi, eax
mov byte [ebp - 4], 5
push dword [ebp - 0x38]
mov ecx, esi
call fcn.004bf050
lea ecx, [ebp - 0x5c]
xor bl, bl
call fcn.00547a10
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.0043cf40
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xa
push eax
call fcn.00548320
add esp, 4
lea ecx, [ebp - 0x5c]
push str.eter.python
call fcn.00547ad0
test al, al
je 0x490ac3
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
call fcn.004900a0
mov bl, al
mov ecx, esi
call fcn.0041f550
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x5c]
call sub.python27.dll_Py_Finalize
lea ecx, [ebp - 0x34]
call fcn.0043cff0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00547a40
mov ecx, esi
call fcn.0041f5a0
test esi, esi
je 0x4909cf
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x4909cf
mov al, bl
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.00552bec
mov esp, ebp
pop ebp
ret
call fcn.005a4399
push 0x6dc494
call fcn.005530b5
add esp, 4
cmp dword [0x6dc494], 0xffffffff
jne 0x490a10
mov ecx, 0x6dc498
mov byte [ebp - 4], 6
call fcn.004a7ca0
push 0x5f0650
call fcn.00552ef1
push 0x6dc494
mov byte [ebp - 4], 5
call fcn.0055306b
add esp, 8
jmp 0x490a10
push 0x6dc4a0
call fcn.005530b5
add esp, 4
cmp dword [0x6dc4a0], 0xffffffff
jne 0x490a21
mov ecx, 0x6dc4a8
mov byte [ebp - 4], 7
call fcn.004d9e10
push 0x5f0640
call fcn.00552ef1
push 0x6dc4a0
mov byte [ebp - 4], 5
call fcn.0055306b
add esp, 8
jmp 0x490a21