Function at 0x458e00
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x62c3bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov ebx, ecx
push str..bak
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x70], 0
call fcn.00404ce0
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x88]
add esp, 0xc
cmp ecx, edx
lea ecx, [esp + 0x6c]
je 0x458e56
mov ecx, dword [esp + 0x6c]
mov esi, dword [eax + 0x14]
lea edx, [eax + 0x10]
cmp esi, edx
je 0x458e62
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push ecx
push eax
call edi
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x458e9e
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x458e9e
sub eax, ecx
cmp eax, 0x80
jbe 0x458e94
push ecx
call fcn.00611869
add esp, 4
jmp 0x458e9e
push eax
push ecx
call fcn.005d6970
add esp, 8
push str..bak
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00404ce0
mov edx, dword [eax + 0x14]
lea ecx, [eax + 0x10]
add esp, 0xc
cmp edx, ecx
je 0x458ec1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x458efa
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x458efa
sub eax, ecx
cmp eax, 0x80
jbe 0x458ef0
push ecx
call fcn.00611869
add esp, 4
jmp 0x458efa
push eax
push ecx
call fcn.005d6970
add esp, 8
push str..bak
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00404ce0
mov ecx, dword [eax + 0x14]
lea edx, [eax + 0x10]
add esp, 0xc
cmp ecx, edx
je 0x458f1d
mov eax, dword [eax]
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x7c]
cmp edx, ecx
lea ecx, [esp + 0x6c]
je 0x458f34
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call edi
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x458f6a
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x458f6a
sub eax, ecx
cmp eax, 0x80
jbe 0x458f60
push ecx
call fcn.00611869
add esp, 4
jmp 0x458f6a
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x54
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov byte [esp + 0x64], 1
je 0x458fad
push 1
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x2c], esp
push str..new
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.00404ce0
add esp, 0xc
mov ecx, esi
call fcn.00457450
jmp 0x458faf
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call fcn.0045d3d0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
sub esp, 0xc
lea eax, [esp + eax + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x74], 2
mov dword [ecx], 0x6580c8
call fcn.00420750
mov ecx, ebx
call fcn.00458cc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0
call fcn.0045e910
push str..new
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00404ce0
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x88]
add esp, 0xc
cmp ecx, edx
lea ecx, [esp + 0x6c]
je 0x45902b
mov ecx, dword [esp + 0x6c]
mov esi, dword [eax + 0x14]
lea edx, [eax + 0x10]
cmp esi, edx
je 0x459037
mov eax, dword [eax]
push ecx
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x45906f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45906f
sub eax, ecx
cmp eax, 0x80
jbe 0x459065
push ecx
call fcn.00611869
add esp, 4
jmp 0x45906f
push eax
push ecx
call fcn.005d6970
add esp, 8
test esi, esi
jne 0x4591ba
push 0x79
push str.c:work_fishdom_aqua_gameXmlDocument.h
push str..new
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00404ce0
push eax
lea ecx, [esp + 0x44]
push 0x657ca8
push ecx
mov byte [esp + 0x84], 3
call fcn.00404f30
push 0x657ca4
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x90], 4
call fcn.00404ce0
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x8c]
push edx
push eax
mov bl, 5
push ecx
mov byte [esp + 0x90], bl
call fcn.00404e00
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0xa4]
push eax
push str.Error
mov byte [esp + 0xa4], 6
call fcn.00403db0
mov byte [esp + 0x9c], bl
call fcn.00405c50
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x5c]
add esp, 0x38
cmp eax, ecx
mov byte [esp + 0x64], 4
je 0x45914c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45914c
sub eax, ecx
cmp eax, 0x80
jbe 0x459142
push ecx
call fcn.00611869
add esp, 4
jmp 0x45914c
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x3c]
cmp eax, edx
mov byte [esp + 0x64], 3
je 0x459183
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x459183
sub eax, ecx
cmp eax, 0x80
jbe 0x459179
push ecx
call fcn.00611869
add esp, 4
jmp 0x459183
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x54]
cmp eax, ecx
mov byte [esp + 0x64], 0
je 0x4591ba
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4591ba
sub eax, ecx
cmp eax, 0x80
jbe 0x4591b0
push ecx
call fcn.00611869
add esp, 4
jmp 0x4591ba
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x7c]
cmp eax, edx
mov dword [esp + 0x64], 0xffffffff
je 0x459209
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x459209
sub eax, ecx
cmp eax, 0x80
jbe 0x4591ff
push ecx
call fcn.00611869
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 0x18
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x18