Function at 0x429010
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4388
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4dc01c
call fcn.00449630
push 0x4dc020
call fcn.00413f70
push 0x4dc034
call fcn.00413f70
mov eax, dword [0x4dc060]
mov ecx, dword [0x4dc064]
sub esp, 8
mov edx, dword [0x4dc068]
mov ebp, esp
mov edi, dword [0x4dc06c]
mov ebx, dword [0x4dc050]
sub esp, 0x10
mov dword [ebp], eax
mov eax, dword [0x4dc054]
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 [0x4dc058]
mov dword [ecx + 8], eax
mov eax, dword [0x4dc05c]
mov dword [ecx + 0xc], eax
mov ecx, 0x4dc04c
call fcn.0042dc70
mov ecx, esi
call fcn.004288d0
mov eax, dword [esi + 0x6eec]
xor ebx, ebx
cmp eax, ebx
je 0x4290d7
mov ecx, esi
call fcn.00428a90
mov eax, dword [0x4dc338]
mov ecx, 0x4dc048
push eax
push 0x4dbe18
call fcn.0043a160
mov ecx, esi
call fcn.00428e80
test eax, eax
jne 0x4290f5
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 [0x4dc01c]
mov eax, dword [esi + 0x6eec]
push ecx
push eax
push eax
push str.Root
push str.GameList
call fcn.004484e0
mov eax, dword [esi + 0x6eec]
add esp, 0x14
cmp eax, ebx
je 0x4291ae
mov ecx, dword [0x4dc01c]
call fcn.004a1b00
mov ecx, dword [0x4dc01c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.004a1b00
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4291ae
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, ebx
je 0x429192
mov ecx, dword [esp + 0x18]
mov edi, ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x429192
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
test eax, eax
jne 0x429192
push edi
mov ecx, 0x4dc01c
call fcn.00449850
test eax, eax
je 0x429192
push edi
mov ecx, 0x4dc01c
call fcn.00448fe0
push edi
mov ecx, 0x4dc048
call fcn.00439b20
lea ecx, [esp + 0x14]
call fcn.004292a0
mov ecx, dword [0x4dc01c]
call fcn.004a1b00
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x42914a
mov ecx, 0x4dc01c
call fcn.004490d0
cmp dword [esi + 0x6eec], ebx
je 0x4291e3
mov ecx, esi
call fcn.00429360
mov eax, dword [esi + 0x7548]
cmp eax, ebx
je 0x4291e3
mov ecx, dword [eax + 0xc]
add eax, 0x10
push ecx
push eax
mov ecx, 0x4dc01c
call fcn.004491c0
mov eax, dword [esi + 0x7548]
cmp eax, ebx
je 0x4291fd
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 [0x4dbf8c]
mov eax, dword [0x4dbcc8]
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 [0x4dbcd4]
push eax
call esi
mov ecx, dword [0x4dc01c]
call fcn.004a1b00
test eax, eax
jne 0x429271
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, 0x4dba38
call fcn.00418500
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