Function at 0x45f5c5
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467d1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb88
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x324]
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0x64
push 0
push 0x404
push eax
call edi
push esi
lea eax, [esp + 0x164]
push 0x46eba8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.MUPINFO
lea eax, [esp + 0x164]
call fcn.00401969
pop ecx
push eax
lea ebx, [esp + 0x10]
mov dword [esp + 0x20], eax
call fcn.0045320f
xor ebx, ebx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0xa
cmp eax, ebx
jle 0x45f77d
push eax
push dword [esp + 0x10]
push str.C75A7F71_797A_11d2_8255_00A02455A490
call fcn.0040369b
add esp, 0xc
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], vtable.IniDataEnum.0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
mov dword [esp + 0xb9c], ebx
call fcn.00465de6
push dword [esp + 0x18]
push dword [esp + 0x10]
push eax
call fcn.0043a770
add esp, 0xc
push dword [esp + 0xc]
call fcn.00453282
pop ecx
lea eax, [esp + 0x2c]
push eax
call fcn.004662a2
test al, al
je 0x45f749
lea ecx, [esp + 0x2c]
call fcn.00465d5a
lea ecx, [esp + 0x2c]
call fcn.00465d00
jmp 0x45f6dd
inc dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.00465cc6
test eax, eax
jne 0x45f6d9
lea ecx, [esp + 0x2c]
call fcn.00465d00
jmp 0x45f745
push eax
lea eax, [esp + 0x164]
call fcn.00401969
pop ecx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esp + 0x18]
call fcn.00455e41
pop ecx
push dword [esp + 0x18]
call fcn.0043759e
inc dword [esp + 0x14]
mov eax, dword [esi + 0x324]
pop ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0x404
push eax
call edi
lea ecx, [esp + 0x2c]
call fcn.00465cc6
cmp eax, ebx
jne 0x45f6f5
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [esp + 0x1c]
call fcn.0043759e
or dword [esp + 0xba0], 0xffffffff
pop ecx
lea eax, [esp + 0x2c]
push eax
call fcn.00465e45
add esi, 0x208
mov dword [esp + 0x24], esi
mov esi, str._1GameHistory.dat
lea edi, [esp + 0x780]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x160]
movsw word es:[edi], word [esi]
push 0xf1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x797]
push ebx
push eax
mov dword [esp + 0x34], ebx
movsb byte es:[edi], byte [esi]
call fcn.0043b2b0
mov esi, str._1MPG.dat
lea edi, [esp + 0x890]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
push 0xf9
lea eax, [esp + 0x893]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.0043b2b0
add esp, 0xc
push 8
pop ecx
mov esi, str._1_theme_2globalmenudata3.fnt
lea edi, [esp + 0x988]
rep movsd dword es:[edi], dword [esi]
push 0xe2
lea eax, [esp + 0x9ae]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0043b2b0
add esp, 0xc
push 0x103
lea eax, [esp + 0xa91]
push ebx
push eax
mov byte [esp + 0xa98], bl
call fcn.0043b2b0
mov esi, str._1Logger
lea edi, [esp + 0x37c]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push 0xfa
lea eax, [esp + 0x37e]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0043b2b0
mov esi, str._1Upgrades
lea edi, [esp + 0x480]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push 0xf8
lea eax, [esp + 0x484]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.0043b2b0
mov esi, str._1Upgrade
lea edi, [esp + 0x584]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
push 0xf9
movsb byte es:[edi], byte [esi]
push ebx
lea eax, [esp + 0x58b]
push eax
call fcn.0043b2b0
add esp, 0xc
mov edi, 0x103
push edi
lea eax, [esp + 0x681]
push ebx
push eax
mov byte [esp + 0x688], bl
call fcn.0043b2b0
add esp, 0xc
lea eax, [esp + 0x370]
mov dword [esp + 0xc], eax
lea esi, [edi + 1]
cmp byte [esp + 0x370], bl
je 0x45f927
push edi
lea eax, [esp + 0x26d]
push ebx
push eax
mov byte [esp + 0x274], bl
call fcn.0043b2b0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x270]
push eax
push ebx
push ebx
push dword [esp + 0x20]
push 0x2400
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea eax, [esp + 0x268]
push ebx
push eax
call fcn.004559dc
add dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
pop ecx
pop ecx
cmp byte [eax], bl
jne 0x45f8d3
push dword [esp + 0x14]
add dword [esp + 0x14], 2
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push 0x404
push dword [eax + 0x324]
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [esp + 0x780]
mov dword [esp + 0xc], eax
cmp byte [esp + 0x780], bl
je 0x45f9ad
push edi
lea eax, [esp + 0x5d]
push ebx
push eax
mov byte [esp + 0x64], bl
call fcn.0043b2b0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x60]
push eax
push ebx
push ebx
push dword [esp + 0x20]
push 0x2400
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x58]
push eax
call fcn.00455e41
add dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
pop ecx
cmp byte [eax], bl
jne 0x45f95c
call fcn.0045e8d4
mov esi, eax
cmp esi, ebx
je 0x45f9cd
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x45f9bb
sub eax, edx
je 0x45f9cd
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0043759e
mov eax, dword [esp + 0x14]
pop ecx
push dword [esp + 0x14]
add eax, 2
push eax
mov eax, dword [ebp + 8]
push 0x405
push dword [eax + 0x324]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0xb94]
pop edi
xor eax, eax
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret