Function at 0x428fc0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4198
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4dbff4
call fcn.00449510
push 0x4dbff8
call fcn.00413f60
push 0x4dc00c
call fcn.00413f60
mov eax, dword [0x4dc038]
mov ecx, dword [0x4dc03c]
sub esp, 8
mov edx, dword [0x4dc040]
mov ebp, esp
mov edi, dword [0x4dc044]
mov ebx, dword [0x4dc028]
sub esp, 0x10
mov dword [ebp], eax
mov eax, dword [0x4dc02c]
mov dword [ebp + 4], ecx
mov ecx, esp
mov dword [ebp + 8], edx
lea edx, [esp + 0x34]
push edx
mov dword [ebp + 0xc], edi
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [0x4dc030]
mov dword [ecx + 8], eax
mov eax, dword [0x4dc034]
mov dword [ecx + 0xc], eax
mov ecx, 0x4dc024
call fcn.0042dc20
mov ecx, esi
call fcn.00428880
mov eax, dword [esi + 0x6eec]
xor ebx, ebx
cmp eax, ebx
je 0x429087
mov ecx, esi
call fcn.00428a40
mov eax, dword [0x4dc310]
mov ecx, 0x4dc020
push eax
push 0x4dbdf0
call fcn.00439f90
mov ecx, esi
call fcn.00428e30
test eax, eax
jne 0x4290a5
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, dword [0x4dbff4]
mov eax, dword [esi + 0x6eec]
push ecx
push eax
push eax
push str.Root
push str.GameList
call fcn.00448380
mov eax, dword [esi + 0x6eec]
add esp, 0x14
cmp eax, ebx
je 0x42915e
mov ecx, dword [0x4dbff4]
call fcn.004a1810
mov ecx, dword [0x4dbff4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.004a1810
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x42915e
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, ebx
je 0x429142
mov ecx, dword [esp + 0x18]
mov edi, ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x429142
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
test eax, eax
jne 0x429142
push edi
mov ecx, 0x4dbff4
call fcn.00449730
test eax, eax
je 0x429142
push edi
mov ecx, 0x4dbff4
call fcn.00448ec0
push edi
mov ecx, 0x4dc020
call fcn.00439950
lea ecx, [esp + 0x14]
call fcn.00429250
mov ecx, dword [0x4dbff4]
call fcn.004a1810
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x4290fa
mov ecx, 0x4dbff4
call fcn.00448fb0
cmp dword [esi + 0x6eec], ebx
je 0x429193
mov ecx, esi
call fcn.00429310
mov eax, dword [esi + 0x7548]
cmp eax, ebx
je 0x429193
mov ecx, dword [eax + 0xc]
add eax, 0x10
push ecx
push eax
mov ecx, 0x4dbff4
call fcn.004490a0
mov eax, dword [esi + 0x7548]
cmp eax, ebx
je 0x4291ad
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0x7548], ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
mov edx, dword [0x4dbf64]
mov eax, dword [0x4dbca0]
push edx
push eax
lea ecx, [esp + 0x18]
push str._sMyGame__s.ini
push ecx
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push edx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4dbcac]
push eax
call esi
mov ecx, dword [0x4dbff4]
call fcn.004a1810
test eax, eax
jne 0x429221
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, 0x4dba10
call fcn.004184f0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret