Function at 0x4b6ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce8e7
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x190], edi
mov eax, dword [edi]
test eax, eax
jne 0x4b6b02
xor al, al
jmp 0x4b730a
push eax
lea eax, [ebp - 0x188]
push str.userdata_save_d_
push eax
call fcn.004f8210
mov esi, eax
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 0
push eax
call fcn.004e5800
add esp, 0x10
push esi
push eax
push dword [ebp - 0x18c]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 1
call fcn.004a2020
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x4b6b81
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6b77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7325
push ecx
push edx
call fcn.0059b718
add esp, 8
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x4b6bda
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6bd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7325
push ecx
push edx
call fcn.0059b718
add esp, 8
push str.SaveInfor.ghtr
lea eax, [ebp - 0x170]
mov dword [ebp - 0x178], 0
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x174], 0xf
push eax
mov byte [ebp - 0x188], 0
call fcn.004a1f40
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 5
push eax
call fcn.004e5300
add esp, 0x10
test al, al
jne 0x4b6c33
lea eax, [ebp - 0x170]
push eax
call fcn.004edca0
add esp, 4
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x128]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, 0x5ddc94
cmovae ecx, dword [ebp - 0x128]
mov eax, 0x5dc9dc
cmp byte [edi + 4], 0
push ecx
cmove eax, edx
push eax
push 0x5dc9d0
push str.SAVE
call esi
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push dword [edi + 8]
cmovae eax, dword [ebp - 0x128]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x140]
push 0x5dc9e0
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b6cc0
mov eax, dword [eax]
push dword [ebp - 0x18c]
push eax
push 0x5ddc34
push str.SAVE
call esi
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x4b6d0d
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6d03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b732a
push ecx
push edx
call fcn.0059b718
add esp, 8
mov esi, 1
add edi, 0x18
mov eax, dword [edi]
test eax, eax
je 0x4b6d31
push eax
push esi
lea eax, [ebp - 0x128]
push str.LevelScore
push eax
call fcn.004b77a0
add esp, 0x10
inc esi
add edi, 4
cmp esi, 0x96
jle 0x4b6d15
mov edi, dword [ebp - 0x190]
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x114], 0x10
lea esi, [ebp - 0x128]
cmovae esi, dword [ebp - 0x128]
push dword [edi + 0x270]
push 0x5dc9e0
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b6d79
mov eax, dword [eax]
push esi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.GameLevel
push str.SAVE
call eax
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x4b6dc6
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6dbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b732f
push ecx
push edx
call fcn.0059b718
add esp, 8
push dword [edi + 0x274]
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x140]
push 0x5dc9e0
lea esi, [ebp - 0x128]
cmovae esi, dword [ebp - 0x128]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b6dfc
mov eax, dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push str.MaxLevel
push str.SAVE
call esi
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x4b6e4a
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6e40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7334
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x128]
mov edx, 0x5ddc94
mov eax, 0x5dc9dc
cmovae ecx, dword [ebp - 0x128]
cmp byte [edi + 0x317], 0
push ecx
cmove eax, edx
push eax
push str.DoTutorialFinal
push str.SAVE
call esi
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
mov edx, 0x5ddc94
mov ecx, 0x5dc9dc
cmovae eax, dword [ebp - 0x128]
cmp byte [edi + 0x318], 0
push eax
cmove ecx, edx
push ecx
push str.MajoristOK
push str.SAVE
call esi
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push dword [edi + 0x278]
cmovae eax, dword [ebp - 0x128]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x140]
push 0x5dc9e0
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b6ef2
mov eax, dword [eax]
push dword [ebp - 0x18c]
push eax
push str.SwampStep
push str.SAVE
call esi
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x4b6f3f
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6f35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7339
push ecx
push edx
call fcn.0059b718
add esp, 8
xor esi, esi
mov al, byte [edi + esi + 0x2b1]
test al, al
je 0x4b6f65
movzx eax, al
push eax
push esi
lea eax, [ebp - 0x128]
push str.ModeB
push eax
call fcn.004b77a0
add esp, 0x10
mov al, byte [edi + esi + 0x2e4]
test al, al
je 0x4b6f89
movzx eax, al
push eax
push esi
lea eax, [ebp - 0x128]
push str.ModeC
push eax
call fcn.004b77a0
add esp, 0x10
inc esi
cmp esi, 0x33
jl 0x4b6f41
xor esi, esi
add edi, 0x27c
mov eax, dword [edi]
test eax, eax
je 0x4b6fb3
push eax
push esi
lea eax, [ebp - 0x128]
push 0x5ddc60
push eax
call fcn.004b77a0
add esp, 0x10
inc esi
add edi, 4
cmp esi, 5
jl 0x4b6f97
mov edi, dword [ebp - 0x190]
xor esi, esi
add edi, 0x290
nop word [eax + eax]
mov eax, dword [edi]
test eax, eax
je 0x4b6fec
push eax
push esi
lea eax, [ebp - 0x128]
push str.Point
push eax
call fcn.004b77a0
add esp, 0x10
inc esi
add edi, 4
cmp esi, 5
jl 0x4b6fd0
mov edi, dword [ebp - 0x190]
xor esi, esi
nop dword [eax]
cmp byte [edi + esi + 0x2a8], 0
je 0x4b7021
push 1
push esi
lea eax, [ebp - 0x128]
push str.Hidden
push eax
call fcn.004b77a0
add esp, 0x10
inc esi
cmp esi, 9
jl 0x4b7000
mov eax, dword [edi + 0x2a4]
cmp eax, 0xffffffff
je 0x4b70b4
cmp dword [ebp - 0x114], 0x10
lea esi, [ebp - 0x128]
push eax
cmovae esi, dword [ebp - 0x128]
lea eax, [ebp - 0x140]
push 0x5dc9e0
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b7067
mov eax, dword [eax]
push esi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.PotatoMine
push str.SAVE
call eax
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x4b70b4
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b70aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b733e
push ecx
push edx
call fcn.0059b718
add esp, 8
push dword [edi + 0x31c]
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x140]
push 0x5dc9e0
lea esi, [ebp - 0x128]
cmovae esi, dword [ebp - 0x128]
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b70ea
mov eax, dword [eax]
push esi
push eax
push str.PlayingTime
push str.EXTRA
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x4b7136
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b712c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7343
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [edi + 8], 4
jne 0x4b727d
mov eax, dword [str.GHTRUb]
xorps xmm0, xmm0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x158], eax
mov ax, word [0x5ddcd0]
mov dword [ebp - 0x148], 6
mov dword [ebp - 0x144], 0xf
mov word [ebp - 0x154], ax
mov byte [ebp - 0x152], 0
push str.UbSure.ans
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004a1f40
mov esi, eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004b6120
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x4b71c4
mov esi, dword [esi]
push 0x5d97f4
push esi
call fcn.005a94a9
mov esi, eax
lea eax, [ebp - 0x110]
push esi
push 0x100
push 1
push eax
call fcn.005aa485
push esi
call fcn.005a93b7
mov ecx, dword [ebp - 0x12c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x4b7228
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b721e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7348
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp ecx, 0x10
jb 0x4b727d
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7273
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7348
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x4b72b7
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b72ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b734d
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp ecx, 0x10
jb 0x4b7308
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b72fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b734d
push ecx
push edx
call fcn.0059b718
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
int3