Function at 0x4b79d0
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca0d8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
push 0
push 0x2000000
push 3
push 0
push 7
push SQLAllocStmt
lea ecx, [ebp + 8]
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4b7aaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RestoreShadowFile_Failed____d__n
call fcn.0048f0ab
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Backup_File_Failed____d__n
call fcn.00423ad0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ed0
mov eax, dword [ebp - 0x2c]
jmp 0x4b7d3d
push 0
push 0x2000000
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp + 0xc]
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4b7b2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f4dec
call fcn.0048f0ab
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RestoreShadowFile_Failed_hFileRestore___d__n
call fcn.00423ad0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ed0
mov eax, dword [ebp - 0x30]
jmp 0x4b7d3d
push 0x64
call fcn.0048dbc3
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
push 0x64
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00492ac0
add esp, 0xc
mov edx, 1
test edx, edx
je 0x4b7c1a
push 0
lea eax, [ebp - 0x18]
push eax
push 0x64
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b7ba9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x4f4ed4
call fcn.0048f0ab
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.ReadFile_Fail_Shadow_file_Name___S_errorcode____d_n
call fcn.00423ad0
add esp, 0xc
jmp 0x4b7c1a
cmp dword [ebp - 0x18], 0
jne 0x4b7bb1
jmp 0x4b7c1a
lea edx, [ebp - 0x14]
push edx
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_BackupWrite]
test eax, eax
jne 0x4b7c0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x4f4f80
call fcn.0048f0ab
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.BackupWrite_failed_RestorefileName____S_Shadowfile_Name___S_errorcode____d_n
call fcn.00423ad0
add esp, 0x10
jmp 0x4b7c1a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b7b50
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4b7c31
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x20], 0xffffffff
je 0x4b7c48
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b7c8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4f501c
call fcn.0048f0ab
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push str.DeleteFile_Fail_Shadow_file_Name___S_errorcode____d_n
call fcn.00423ad0
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
je 0x4b7ca2
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x4b7cc1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.004915c0
add esp, 4
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RestoreShadowFile_SuccessFully_Updated___d__n
call fcn.00423db0
add esp, 8
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ed0
mov eax, dword [ebp - 0x3c]
jmp 0x4b7d3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret