Function at 0x4cd6f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63730f
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6cf520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
push 0
call fcn.005dd578
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.004ea010
call fcn.004e9fb0
push eax
call fcn.005e9852
push 1
call fcn.004e8980
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.004cb5b0
sub esp, 0x18
mov dword [ebp - 4], 0
mov edi, dword [0x759534]
mov esi, esp
xorps xmm0, xmm0
mov dword [ebp - 0x40], esp
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.6400e224b8b44ece59a992e6d8233719]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c3d8]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
mov byte [ebp - 4], 1
sub esp, 0x14
mov edx, esp
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0xf
mov dword [edx + 0x14], 0xf
movq xmm0, qword [str.miles_mss32.dll]
movq qword [edx], xmm0
mov eax, dword [0x68c3c0]
mov dword [edx + 8], eax
mov ax, word [0x68c3c4]
mov word [edx + 0xc], ax
mov al, byte [0x68c3c6]
mov byte [edx + 0xe], al
mov byte [edx + 0xf], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x40], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.e089ce52b0617a6530069f22e0bdba2a]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c410]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 2
mov esi, esp
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 0x20
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x10
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_mssa3d.m3d]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.85267776d45dbf5475c7d9882f08117c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c448]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 3
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x11
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_mssds3d.m3d]
movups xmmword [eax], xmm0
movzx edx, byte [0x68c434]
mov byte [eax + 0x10], dl
mov byte [eax + 0x11], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.cb71b1791009eca618e9b1ad4baa4fa9]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c480]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 4
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x10
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_mssdsp.flt]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.2727e2671482a55b2f1f16aa88d2780f]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c4b8]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 5
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x10
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_mssdx7.m3d]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.788bd950efe89fa5166292bd6729fa62]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c4f0]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 6
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_msseax.m3d]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.189576dfe55af3b70db7e3e2312cd0fd]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c528]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 7
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x10
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_mssmp3.asi]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.7fae15b559eb91f491a5f75cfa103cd4]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c560]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 8
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x10
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_mssrsx.m3d]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.bdc9ad58ade17dbd939522eee447416f]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c598]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 9
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x11
mov ecx, edi
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.miles_msssoft.m3d]
movups xmmword [eax], xmm0
movzx edx, byte [0x68c584]
mov byte [eax + 0x10], dl
mov byte [eax + 0x11], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov edi, dword [0x759534]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x30
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00597385
mov dword [esi], eax
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.3d5342edebe722748ace78c930f4d8a5]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x68c5d0]
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
sub esp, 0x14
mov byte [ebp - 4], 0xa
mov ecx, esp
xorps xmm0, xmm0
push 0x12
movups xmmword [ecx], xmm0
push str.miles_mssvoice.asi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0043eac0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov esi, dword [0x759534]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
xorps xmm0, xmm0
push 0x20
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push str.fdc67f415f59af6404cf854c29098eca
call fcn.0043eac0
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov edx, esp
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0xc
mov dword [edx + 0x14], 0xf
movq xmm0, qword [0x68c5e4]
movq qword [edx], xmm0
mov eax, dword [0x68c5ec]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 0
mov byte [ebp - 4], 0
call fcn.004cb6b0
mov ecx, dword [0x759534]
call fcn.004cb670
test al, al
jne 0x4cde72
push 0x10
mov edx, str.APP_NAME
mov ecx, 1
call fcn.004cc3a0
push eax
push str.You_cant_launch_the_game..
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x64]
call fcn.004cb610
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00597338
mov esp, ebp
pop ebp
ret
push 0
push str.perf_game_update.txt
call fcn.005ea6f3
add esp, 8
test eax, eax
jne 0x4cde90
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005ea6f3
add esp, 8
test eax, eax
jne 0x4cdeb2
push str.patchupdater.exe
call fcn.005eb815
add esp, 4
jmp 0x4cde48
call dword [sym.imp.DevIL.dll_ilInit]
call fcn.004ce400
test eax, eax
je 0x4cde48
push 0
call fcn.004e8930
mov eax, dword fs:[0x2c]
add esp, 4
mov esi, dword [eax]
mov eax, dword [0x75b72c]
cmp eax, dword [esi + 0x20]
jg 0x4cdfe4
mov eax, dword [0x75b738]
cmp eax, dword [esi + 0x20]
jg 0x4ce02c
call fcn.004cc3b0
test al, al
jne 0x4cdf14
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.004e87b0
add esp, 0xc
jmp 0x4cde48
call fcn.00443040
test al, al
je 0x4cdf2b
call fcn.0044f5f0
push eax
call fcn.00516330
add esp, 4
push 0x31af8
call fcn.00597385
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004536c0
push dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00503c60
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x35], 0
call fcn.0058d240
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.0046e2e0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x10
push eax
call fcn.0058dc10
add esp, 4
lea ecx, [ebp - 0x54]
push str.eter.python
call fcn.0058d300
test al, al
je 0x4cdf9d
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
call fcn.004cca60
mov byte [ebp - 0x35], al
mov ecx, esi
call fcn.00455f20
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x54]
call sub.python27.dll_Py_Finalize
lea ecx, [ebp - 0x34]
call fcn.0046e3b0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0058d270
mov ecx, esi
call fcn.00455f70
test esi, esi
je 0x4cde4c
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x4cde4c
push 0x75b72c
call fcn.00597690
add esp, 4
cmp dword [0x75b72c], 0xffffffff
jne 0x4cdee4
mov ecx, 0x75b730
mov byte [ebp - 4], 0xc
call fcn.004ea020
push 0x6455b0
call fcn.005975ff
push 0x75b72c
mov byte [ebp - 4], 0
call fcn.0059763f
add esp, 8
jmp 0x4cdee4
push 0x75b738
call fcn.00597690
add esp, 4
cmp dword [0x75b738], 0xffffffff
jne 0x4cdef5
mov ecx, 0x75b740
mov byte [ebp - 4], 0xd
call fcn.00520b40
push 0x6455a0
call fcn.005975ff
push 0x75b738
mov byte [ebp - 4], 0
call fcn.0059763f
add esp, 8
jmp 0x4cdef5