Function at 0x463f40
Capabilities:
Create directory
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4875c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x4ce19c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x23c]
push edi
xor ebp, ebp
push ebp
push 1
push esi
mov dword [esp + 0x234], eax
call fcn.00463560
mov ebx, dword [esp + 0x248]
push ebx
call fcn.004579e0
add esp, 0x10
test eax, eax
jne 0x464243
cmp esi, 0x10
jne 0x463fa7
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x464243
cmp esi, 1
mov esi, str.localbackupfolder
je 0x463fb6
mov esi, str.backupfolder
push 1
push str.SeBackupPrivilege
call fcn.00462f90
or edi, 0xffffffff
add esp, 8
cmp eax, edi
je 0x464115
push 1
push str.SeRestorePrivilege
call fcn.00462f90
add esp, 8
cmp eax, edi
je 0x464115
push esi
push esi
push ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebp
jne 0x464025
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [esp + 0x23c], ebp
push str.FindResource
jmp 0x46405a
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x464077
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x23c], 1
push 0x4a5238
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebp
mov dword [esp + 0x240], edi
call fcn.00458010
add esp, 0xc
mov eax, edi
jmp 0x4642c3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
push 0
jne 0x4640cb
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x48affc
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Error_on_LockResource
mov dword [esp + 0x244], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x240], edi
call fcn.00457810
add esp, 0xc
mov eax, edi
jmp 0x4642c3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x46411c
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.GetModuleHandle
mov dword [esp + 0x240], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov dword [esp + 0x240], edi
call fcn.00458010
add esp, 0xc
mov eax, edi
jmp 0x4642c3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x464155
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x23c], 4
push 0x4a51cc
jmp 0x4641a7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4641c2
push 0
push 0x2000010
push 4
push 0
push 0
push 0x410f0000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4641ca
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x23c], 5
push str.CreateFile
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov dword [esp + 0x240], 0xffffffff
call fcn.00458010
add esp, 0xc
or eax, 0xffffffff
jmp 0x4642c3
lea eax, [esp + 0x18]
push eax
push 1
push 0
lea ecx, [esp + 0x28]
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_BackupWrite]
push ebp
push esi
call edi
test eax, eax
jne 0x464227
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4a5c50
mov dword [esp + 0x240], 6
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov dword [esp + 0x240], 0xffffffff
call fcn.00458010
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0
push 1
push 0
push 0
push 0
push 0
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
push str.common
push ebx
push 0x48be08
lea eax, [esp + 0x2c]
push 0x208
push eax
call fcn.00403fa3
lea ecx, [esp + 0x34]
push ecx
call fcn.004579e0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
test eax, eax
jne 0x46429e
push ebp
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46429e
call esi
push eax
lea eax, [esp + 0x24]
push eax
push str.CreateSpecialBackupFolder_____CreateDirectory__s__failed._Error__d
push 0x48ae58
call fcn.004572b0
add esp, 0x10
push 7
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4642c1
call esi
push eax
push ebx
push str.CreateSpecialBackupFolder_____SetFileAttributes__s__failed._Error__d
push 0x48ae58
call fcn.004572b0
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x228]
call fcn.00475533
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret