Function at 0x43edd0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1cd3
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
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 - 0x8c], edi
push str.CPlayerManager::_saveData
push str.__s__:_save_file
mov dword [ebp - 0x94], edi
call fcn.00404190
push eax
call fcn.00425940
mov eax, dword [edi + 0x2c]
lea esi, [edi + 0x2c]
sub esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x43ee4d
mov ecx, dword [edx]
jmp 0x43ee4f
mov ecx, edx
xor edi, edi
mov word [ecx], di
cmp word [eax], di
jne 0x43ee5d
xor ecx, ecx
jmp 0x43ee89
mov ecx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x88], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ee70
sub ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x90]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00402c10
call fcn.00401c80
mov edi, dword [ebp - 0x8c]
add esp, 0x18
test al, al
je 0x43f154
cmp dword [edi + 0x5c], 1
jge 0x43eeef
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.0041ad30
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x90]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43eee8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x43f156
push 0x3c
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.005a7a20
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
push 0x61c5e8
call fcn.00406cf0
lea ecx, [ebp - 0x78]
call fcn.004030f0
test al, al
jne 0x43ef44
push str.CPlayerManager::_saveData
push str.__s__:_crypto.DeriveKey_fail
call fcn.00404190
push eax
call fcn.00425940
add esp, 0xc
jmp 0x43f14c
lea eax, [edi + 0x30]
push eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041ad30
push str._prev
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push eax
call fcn.0040d830
add esp, 0x18
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x90]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ef99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43efb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x88]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0041ad30
push str._prev
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
call fcn.0040d830
mov esi, eax
push dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
add eax, 0x2c
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041ad30
add esp, 0x24
push 1
push dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x80]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f025
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 - 0x90]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f046
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f064
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x7c]
add esi, 0x2c
push esi
push eax
call fcn.0041ad30
add esp, 0xc
mov byte [ebp - 4], 4
push dword [eax]
push str.CPlayerManager::_saveData
push str.__s__:_open_file__s_
call fcn.00404190
push eax
call fcn.00425940
mov byte [ebp - 4], 0
add esp, 0x10
mov edx, dword [ebp - 0x7c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f0bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.0047ea67
push dword [ebp - 0x88]
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push esi
push eax
call fcn.0041ad30
add esp, 0xc
push 0
push 0x1012
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.0047ef63
test eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x7c]
sete byte [ebp - 0x81]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43f123
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x81], 0
je 0x43f172
push str.CPlayerManager::_saveData
push str.__s__:_open_fail
call fcn.00404190
push eax
call fcn.00425940
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0047ea98
lea ecx, [ebp - 0x78]
call fcn.00403070
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
call fcn.0045f9b7
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x78]
add eax, 0x50
push eax
call fcn.004031a0
test al, al
jne 0x43f1d7
call fcn.00404190
push str.CPlayerManager::_saveData
push str.__s__:_Encrypt_fail
push eax
call fcn.00425940
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0047ed22
lea ecx, [ebp - 0x3c]
call fcn.0045f9ce
jmp 0x43f144
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x38]
call fcn.0047f2c7
lea ecx, [ebp - 0x28]
call fcn.0047ed22
push dword [ebp - 0x88]
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041ad30
add esp, 0xc
push str._prev
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 9
push eax
call fcn.0040d830
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x7c]
call fcn.00404030
lea ecx, [ebp - 0x80]
call fcn.00404030
lea ecx, [ebp - 0x3c]
call fcn.0045f9ce
lea ecx, [ebp - 0x28]
call fcn.0047ea98
lea ecx, [ebp - 0x78]
call fcn.00403070
mov al, 1
jmp 0x43f156