Function at 0x4290e0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4338
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4dc040
call fcn.004493b0
push 0x4dc044
call fcn.00413fb0
push 0x4dc058
call fcn.00413fb0
mov eax, dword [0x4dc084]
mov ecx, dword [0x4dc088]
sub esp, 8
mov edx, dword [0x4dc08c]
mov ebp, esp
mov edi, dword [0x4dc090]
mov ebx, dword [0x4dc074]
sub esp, 0x10
mov dword [ebp], eax
mov eax, dword [0x4dc078]
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 [0x4dc07c]
mov dword [ecx + 8], eax
mov eax, dword [0x4dc080]
mov dword [ecx + 0xc], eax
mov ecx, 0x4dc070
call fcn.0042dd60
mov ecx, esi
call fcn.004289a0
mov eax, dword [esi + 0x6eec]
xor ebx, ebx
cmp eax, ebx
je 0x4291a7
mov ecx, esi
call fcn.00428b60
mov eax, dword [0x4dc35c]
mov ecx, 0x4dc06c
push eax
push 0x4dbe38
call fcn.00439f10
mov ecx, esi
call fcn.00428f50
test eax, eax
jne 0x4291c5
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 [0x4dc040]
mov eax, dword [esi + 0x6eec]
push ecx
push eax
push eax
push str.Root
push str.GameList
call fcn.004482c0
mov eax, dword [esi + 0x6eec]
add esp, 0x14
cmp eax, ebx
je 0x42927e
mov ecx, dword [0x4dc040]
call fcn.004a1900
mov ecx, dword [0x4dc040]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.004a1900
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x42927e
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, ebx
je 0x429262
mov ecx, dword [esp + 0x18]
mov edi, ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x429262
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
test eax, eax
jne 0x429262
push edi
mov ecx, 0x4dc040
call fcn.004495d0
test eax, eax
je 0x429262
push edi
mov ecx, 0x4dc040
call fcn.00448dc0
push edi
mov ecx, 0x4dc06c
call fcn.004398d0
lea ecx, [esp + 0x14]
call fcn.00429370
mov ecx, dword [0x4dc040]
call fcn.004a1900
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x42921a
mov ecx, 0x4dc040
call fcn.00448e80
cmp dword [esi + 0x6eec], ebx
je 0x4292b3
mov ecx, esi
call fcn.00429430
mov eax, dword [esi + 0x7548]
cmp eax, ebx
je 0x4292b3
mov ecx, dword [eax + 0xc]
add eax, 0x10
push ecx
push eax
mov ecx, 0x4dc040
call fcn.00448f70
mov eax, dword [esi + 0x7548]
cmp eax, ebx
je 0x4292cd
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 [0x4dbfac]
mov eax, dword [0x4dbce8]
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 [0x4dbcf4]
push eax
call esi
mov ecx, dword [0x4dc040]
call fcn.004a1900
test eax, eax
jne 0x429341
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, 0x4dba58
call fcn.004185a0
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