Function at 0x453d90
Capabilities:
Copy file
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2718
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x90
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x90], edi
push str.CPlayerManager::_saveData
push str.__s__:_save_file
mov dword [ebp - 0x9c], edi
call fcn.0040f620
push eax
call fcn.0043a270
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x38]
sub esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x453e21
mov ecx, dword [edx]
jmp 0x453e23
mov ecx, edx
xor edi, edi
mov word [ecx], di
cmp word [eax], di
jne 0x453e31
xor ecx, ecx
jmp 0x453e59
mov ecx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x94], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453e40
sub ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040a0a0
call fcn.0040dd60
mov edi, dword [ebp - 0x90]
add esp, 0x18
test al, al
je 0x454640
cmp dword [edi + 0x6c], 1
jge 0x453ebf
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x8c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453eb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x454642
push 0x3c
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.0040e950
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
push 0x63e638
call fcn.00404b00
lea ecx, [ebp - 0x84]
call fcn.0040eb00
test al, al
jne 0x453f1d
push str.CPlayerManager::_saveData
push str.__s__:_crypto.DeriveKey_fail
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0xc
jmp 0x454635
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.00426e40
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
push str.CPlayerManager::_saveData
push str.__s__:_open_file__s_
push ecx
call fcn.0040f620
add esp, 4
push eax
call fcn.0043a270
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x8c]
add esp, 0x10
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453f77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push esp
push ecx
mov dword [ebp - 0x20], 0
call fcn.0040b470
add esp, 4
mov ecx, eax
call fcn.0047b540
lea ecx, [ebp - 0x20]
call fcn.0044fc40
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x90]
add eax, 0x3c
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x8c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453ff6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454017
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x90]
add eax, 0x3c
push eax
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00426e40
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x90]
lea eax, [ecx + 0x3c]
push eax
lea eax, [ecx + 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00426e40
add esp, 0xc
push 1
push dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x8c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4540b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4540d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
call fcn.004a063b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x90]
lea eax, [ecx + 0x3c]
push eax
lea esi, [ecx + 0x38]
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00426e40
add esp, 0xc
push 0
push 0x1012
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
push dword [eax]
call fcn.004a0ae6
test eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x88]
mov eax, edi
sete byte [ebp - 0x95]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45414d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x95], 0
je 0x45431a
push str.CPlayerManager::_saveData
push str.__s__:_open_fail
call fcn.0040f620
push eax
call fcn.0043a270
mov eax, dword [ebp - 0x90]
add esp, 0xc
add eax, 0x3c
push eax
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x88]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4541b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x90]
add eax, 0x3c
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.00426e40
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x90]
lea eax, [ecx + 0x3c]
push eax
lea eax, [ecx + 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00426e40
add esp, 0xc
push 1
push dword [esi]
push dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileW]
call eax
mov edx, dword [ebp - 0x88]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454230
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454251
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454272
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x90]
lea eax, [ecx + 0x3c]
push eax
lea eax, [ecx + 0x38]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x88]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4542cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4542ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
call fcn.004a066c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x454635
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x454635
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
call fcn.0048b539
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x84]
push eax
lea eax, [edi + 0x60]
push eax
call fcn.0040ebb0
test al, al
jne 0x454470
call fcn.0040f620
push str.CPlayerManager::_saveData
push str.__s__:_Encrypt_fail
push eax
call fcn.0043a270
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004a08f6
add edi, 0x3c
lea eax, [ebp - 0x88]
push edi
push esi
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x88]
call fcn.00405250
push edi
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.00426e40
add esp, 0xc
mov dword [ebp - 0x88], eax
push edi
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xd
push esi
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00426e40
mov ecx, dword [ebp - 0x88]
add esp, 0xc
push 1
push dword [ecx]
push dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileW]
call eax
lea ecx, [ebp - 0x8c]
call fcn.00405250
lea ecx, [ebp - 0x94]
call fcn.00405250
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.00405250
push edi
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x88]
call fcn.00405250
lea ecx, [ebp - 0x8c]
call fcn.00405250
lea ecx, [ebp - 0x48]
call fcn.0048b550
jmp 0x454625
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x44]
call fcn.004a0e4a
lea ecx, [ebp - 0x34]
call fcn.004a08f6
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00426e40
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x88]
call fcn.00405250
lea ecx, [ebp - 0x8c]
call fcn.00405250
lea ecx, [ebp - 0x48]
call fcn.0048b550
lea ecx, [ebp - 0x34]
call fcn.004a066c
lea ecx, [ebp - 0x20]
call fcn.00405250
lea ecx, [ebp - 0x84]
call fcn.0040ea80
mov al, 1
jmp 0x454642
lea ecx, [ebp - 0x34]
call fcn.004a066c
lea ecx, [ebp - 0x20]
call fcn.00405250
lea ecx, [ebp - 0x84]
call fcn.0040ea80
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret