Function at 0x4a62e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdd75
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6229a0]
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 - 0x5c], ecx
lea eax, [ebp - 0x58]
push eax
call fcn.004e5800
add esp, 4
push 0xd
push str.allusers.ghtr
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404bf0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x4a639d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6393
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6747
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, 1
mov ecx, dword [ebp - 0x5c]
nop
cmp byte [ecx + esi + 0x785], 0
je 0x4a644a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push esi
push str.Th_d
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4a63ff
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x5dc9dc
push eax
push str.Music
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4a6447
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a643d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6747
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x5c]
inc esi
cmp esi, 0x11
jl 0x4a63d0
mov esi, 1
nop word [eax + eax]
cmp byte [ecx + esi + 0x795], 0
mov eax, esi
mov dword [ebp - 0x60], eax
je 0x4a64e2
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push esi
push str.Th_d
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4a6494
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x5dc9dc
push eax
push str.Achievement
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4a64dc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a64d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6747
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
inc esi
cmp eax, 0xf
jl 0x4a6460
mov esi, 1
cmp byte [ecx + esi + 0x7b5], 0
je 0x4a656b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push esi
push str.Th_d
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4a6520
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x5dc9dc
push eax
push str.Chapter
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4a6568
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a655e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6747
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x5c]
inc esi
cmp esi, 8
jl 0x4a64f1
xor esi, esi
cmp byte [ecx + esi + 0x7a5], 0
je 0x4a65ed
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push esi
push str.Th_d
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4a65a2
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x5dc9dc
push eax
push 0x5dc978
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4a65ea
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a65e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6747
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x5c]
inc esi
cmp esi, 4
jl 0x4a6573
push dword [ecx + 0x7c4]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push 0x5dc9e0
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4a661d
mov eax, dword [eax]
push esi
push eax
push str.PlayTime
push str.MAIN
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4a665f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6655
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a674c
push ecx
push edx
call fcn.0059b718
add esp, 8
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x7d0]
test eax, eax
je 0x4a66d3
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push 0x5dc9e0
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4a6691
mov eax, dword [eax]
push esi
push eax
push str.LastOpenSave
push str.MAIN
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4a66d3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a66c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6751
push ecx
push edx
call fcn.0059b718
add esp, 8
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x7b4], 0
je 0x4a66fc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x5dc9dc
push str.UbOpen
push str.MAIN
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4a672c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6722
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6756
push ecx
push edx
call fcn.0059b718
add esp, 8
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.0059b734
mov esp, ebp
pop ebp
ret
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
int3