Function at 0x40442e
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c2d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x324]
push 0x64
push 0
push 0x404
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
lea eax, [esp + 0x164]
push 0x42f258
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 + 0x14]
mov dword [esp + 0x20], eax
call fcn.0040b66d
xor ebx, ebx
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xa
jle 0x4045cf
push esi
push dword [esp + 0x14]
push str.C75A7F71_797A_11d2_8255_00A02455A490
call fcn.00418dd7
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], 0x42fc68
mov ecx, esi
lea eax, [esp + 0x2c]
mov dword [esp + 0xa94], ebx
call fcn.0040da25
push esi
push dword [esp + 0x14]
push eax
call fcn.004253a0
add esp, 0xc
cmp dword [esp + 0x10], ebx
je 0x404519
push dword [esp + 0x10]
call fcn.00420bf6
pop ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040da84
test al, al
je 0x4045a4
lea ecx, [esp + 0x2c]
call fcn.0040dd95
lea ecx, [esp + 0x2c]
call fcn.0040dde4
jmp 0x40453f
inc dword [esp + 0x18]
lea ecx, [esp + 0x2c]
call fcn.0040de07
test eax, eax
jne 0x40453b
lea ecx, [esp + 0x2c]
call fcn.0040dde4
jmp 0x4045a0
push eax
lea eax, [esp + 0x164]
call fcn.00401969
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00402119
push esi
call fcn.0042039d
inc dword [esp + 0x18]
pop ecx
push dword [esp + 0x18]
push dword [esp + 0x18]
push 0x404
push dword [edi + 0x324]
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x2c]
call fcn.0040de07
cmp eax, ebx
jne 0x404557
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.0042039d
pop ecx
lea esi, [esp + 0x2c]
call fcn.0040d84d
add edi, 0x208
mov dword [esp + 0x24], edi
mov esi, str._1GameHistory.dat
lea edi, [esp + 0x678]
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 + 0x68f]
push ebx
push eax
mov dword [esp + 0x34], ebx
movsb byte es:[edi], byte [esi]
call fcn.00425710
mov esi, str._1MPG.dat
lea edi, [esp + 0x788]
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 + 0x78b]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00425710
add esp, 0xc
push 8
pop ecx
mov esi, str._1_theme_2globalmenudata3.fnt
lea edi, [esp + 0x880]
rep movsd dword es:[edi], dword [esi]
push 0xe2
lea eax, [esp + 0x8a6]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.00425710
add esp, 0xc
push 0x103
lea eax, [esp + 0x989]
push ebx
push eax
mov byte [esp + 0x990], bl
call fcn.00425710
mov esi, str._1Logger
lea edi, [esp + 0x274]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push 0xfa
lea eax, [esp + 0x276]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.00425710
mov esi, str._1Upgrades
lea edi, [esp + 0x378]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push 0xf8
lea eax, [esp + 0x37c]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.00425710
mov esi, str._1Upgrade
lea edi, [esp + 0x47c]
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 + 0x483]
push eax
call fcn.00425710
add esp, 0xc
push 0x103
lea eax, [esp + 0x579]
push ebx
push eax
mov byte [esp + 0x580], bl
call fcn.00425710
add esp, 0xc
cmp byte [esp + 0x268], bl
lea esi, [esp + 0x268]
mov edi, 0x104
je 0x404763
push 0x103
lea eax, [esp + 0x5d]
push ebx
push eax
mov byte [esp + 0x64], bl
call fcn.00425710
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push edi
lea eax, [esp + 0x60]
push eax
push ebx
push ebx
push esi
push 0x2400
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea eax, [esp + 0x58]
push eax
call fcn.00402138
add esi, edi
cmp byte [esi], bl
pop ecx
jne 0x404722
push dword [esp + 0x18]
add dword [esp + 0x18], 2
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push 0x404
push dword [eax + 0x324]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [esp + 0x678], bl
lea eax, [esp + 0x678]
mov dword [esp + 0x10], eax
je 0x4047eb
push 0x103
lea eax, [esp + 0x5d]
push ebx
push eax
mov byte [esp + 0x64], bl
call fcn.00425710
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push edi
lea eax, [esp + 0x60]
push eax
push ebx
push ebx
push dword [esp + 0x24]
push 0x2400
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esi, [esp + 0x58]
call fcn.00402119
add dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
cmp byte [eax], bl
jne 0x404798
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
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 + 0xa8c]
pop edi
xor eax, eax
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret