Function at 0x4b7d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca103
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x34
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 - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x2c], 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 3
push SQLAllocStmt
lea ecx, [ebp + 8]
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4b7e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f4c60
call fcn.0048f0ab
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f4c7c
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 0x4b80fa
push 0
push 0x2000000
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp + 0xc]
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4b7eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f4c98
call fcn.0048f0ab
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hFileShadow_failed____d__n
call fcn.00423ad0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], 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 - 0x34]
jmp 0x4b80fa
push 0x64
call fcn.0048dbc3
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov ecx, 1
test ecx, ecx
je 0x4b7fbb
push 0x64
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00492ac0
add esp, 0xc
mov dword [ebp - 0x18], 0x64
mov eax, dword [ebp - 0x18]
push eax
push str.Loop____d_n
call fcn.00423db0
add esp, 8
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_BackupRead]
test eax, eax
jne 0x4b7f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x4f4cdc
call fcn.0048f0ab
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.backup_readFail_file_Name___S_errorcode____d_n
call fcn.00423ad0
add esp, 0xc
jmp 0x4b7fbb
cmp dword [ebp - 0x18], 0
jne 0x4b7f58
jmp 0x4b7fbb
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4b7fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4f4da0
call fcn.0048f0ab
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.WriteFile_failed_backupfileName____S_Shadowfile_Name___S_errorcode____d_n
call fcn.00423ad0
add esp, 0x10
jmp 0x4b7fbb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b7ec7
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x4b8031
push 0
push 0
push 2
push 0
push 7
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4b801a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x4f4e90
call fcn.0048f0ab
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.Truncate_Existing_backup_File_failed_file_Name___S_errorcode____d_n
call fcn.00423ad0
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
je 0x4b8031
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0xffffffff
cmp dword [ebp - 0x28], 0xffffffff
je 0x4b8048
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0xffffffff
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4b805f
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x2c], 0
je 0x4b807e
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004915c0
add esp, 4
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Backup_File_SuccessFully_Updated___d__n
call fcn.00423db0
add esp, 8
mov dword [ebp - 0x40], 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 - 0x40]
jmp 0x4b80fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret