Function at 0x4b5e40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce7e5
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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, dword [ebp + 8]
lea eax, [ebp - 0x58]
push edi
push str.userdata_save_d_
push eax
call fcn.004f8210
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004e5800
add esp, 0x10
push esi
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.004a2020
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x4b5ee0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5ed6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6092
push ecx
push edx
call fcn.0059b718
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x4b5f2a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5f20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6092
push ecx
push edx
call fcn.0059b718
add esp, 8
push str.SaveInfor.ghtr
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0xf
push eax
mov byte [ebp - 0x58], 0
call fcn.004a1f40
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x28]
push eax
push 0x5ddce0
push 0x5ddc34
push str.SAVE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [0x66577c]
mov eax, dword [eax + 0x7dc]
cmp edi, dword [eax]
jne 0x4b5fa5
mov dword [eax + 8], 0xfffffffe
mov eax, dword [0x66577c]
mov esi, dword [eax + 0x7dc]
mov ecx, esi
call fcn.004b6ac0
mov ecx, esi
call fcn.004b6a00
push str.UbSure.ans
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004a1f40
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b5fc5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x4b6003
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b5ff9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6097
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4b6033
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6029
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b609c
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4b6075
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b606b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b609c
push ecx
push edx
call fcn.0059b718
add esp, 8
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 4
call fcn.005a17d1
call fcn.005a17d1
call fcn.005a17d1
int3