Function at 0x42bca0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b29e3
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4e5a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 9
xor eax, eax
xor ebx, ebx
push str._Config__n
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
call fcn.004024be
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [esi]
mov dword [ebp - 4], ebx
call fcn.00435b70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00401dfc
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], bl
jb 0x42bd28
mov edx, dword [ebp - 0x48]
push edx
call fcn.00468992
add esp, 4
push 0xa
push str.__Config__n
lea ecx, [ebp - 0x80]
call fcn.00401a0a
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 2
call fcn.0043d690
lea edx, [ebp - 0x64]
push edx
push eax
call fcn.0043f7f0
add esp, 0x10
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 0x81], al
jb 0x42bd7a
mov eax, dword [ebp - 0x48]
push eax
call fcn.00468992
add esp, 4
cmp byte [ebp - 0x81], bl
je 0x42bfd4
push edi
call fcn.00443b10
push str..bak
lea ecx, [ebp - 0x2c]
push edi
push ecx
mov byte [ebp - 0x81], al
call fcn.00402b62
add esp, 0x10
mov byte [ebp - 4], 3
cmp byte [ebp - 0x81], bl
je 0x42be94
lea edx, [ebp - 0x2c]
push edx
call fcn.00443b10
add esp, 4
test al, al
je 0x42be71
push str..bak
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402b62
add esp, 0xc
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x42be47
cmp dword [ebp - 0x18], 8
jb 0x42bdf8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00468992
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [esi + 0x14], 8
jae 0x42be25
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00468d10
add esp, 0xc
jmp 0x42be2c
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 3
jb 0x42be5d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00468992
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00443b10
add esp, 4
test al, al
jne 0x42bdc8
mov ecx, dword [ebp - 0x2c]
mov eax, 8
cmp dword [ebp - 0x18], eax
jae 0x42be81
lea ecx, [ebp - 0x2c]
cmp dword [edi + 0x14], eax
jb 0x42be8a
mov eax, dword [edi]
jmp 0x42be8c
mov eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040268f
push 1
push 0x40
push 2
push edi
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00401de8
lea edx, [ebp - 0x48]
push edx
push eax
mov byte [ebp - 4], 8
call fcn.00401681
add esp, 8
cmp dword [ebp - 0x34], 0x10
mov esi, eax
jb 0x42beeb
mov eax, dword [ebp - 0x48]
push eax
call fcn.00468992
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
cmp dword [edx + esi + 0xc], ebx
lea ecx, [ebp - 0xcc]
sete byte [ebp - 0x82]
mov byte [ebp - 4], 3
call fcn.004017f8
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xcc], vtable.std::ios_base.0
call fcn.0046767d
add esp, 4
cmp byte [ebp - 0x82], bl
je 0x42bf67
push str.saved
push edi
call fcn.00440290
mov ecx, eax
call fcn.00402842
cmp byte [ebp - 0x81], bl
je 0x42bfc2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42bf5e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42bfc2
push edi
push str.Error_occurred_while_saving
call fcn.00440290
mov ecx, eax
call fcn.004016b8
cmp byte [ebp - 0x81], bl
je 0x42bfc2
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00443b10
add esp, 4
test al, al
je 0x42bfc2
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x42bf9f
mov eax, dword [edi]
jmp 0x42bfa1
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], esi
jb 0x42bfaf
mov edi, dword [edi]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42bfba
lea eax, [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [ebp - 0x18], 8
jb 0x42bfd4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00468992
add esp, 4
cmp dword [ebp - 0x50], 0x10
jb 0x42bfe6
mov eax, dword [ebp - 0x64]
push eax
call fcn.00468992
add esp, 4
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x42c005
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00468992
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469ca2
mov esp, ebp
pop ebp
ret