Function at 0x44c2e0
Capabilities:
Copy file
Create directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4632fc
mov eax, dword fs:[0]
push eax
mov eax, 0x2064
call fcn.0045db90
mov eax, dword [0x4920c0]
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, edx
mov ebx, ecx
cmp byte [0x493100], 0
je 0x44c852
cmp ebx, 4
je 0x44c338
cmp ebx, 5
jne 0x44c852
mov ecx, str.Backing_up_IFW_WinRE_WIM
jmp 0x44c33d
mov ecx, str.Backing_up_IFW_BootWIM_WIM
mov edx, 1
call fcn.0040da30
cmp dword [0x493114], 0
jne 0x44c35a
mov ecx, str.Error:_Backup_WIM_folder_not_specified
jmp 0x44c848
cmp dword [0x493118], 8
mov eax, 0x493104
cmovae eax, dword [0x493104]
push eax
lea eax, [ebp - 0x1410]
push 0x500
push eax
call fcn.004513ee
add esp, 0xc
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x1410]
push eax
mov dword [ebp - 0x2064], 0
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x44c843
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x1410]
cmp ebx, 4
jne 0x44c3c2
push str.IFW_BootWIM_Backup
jmp 0x44c3c7
push str.IFW_WinRE_Backup
push 0x500
push eax
call fcn.00451274
add esp, 0xc
lea eax, [ebp - 0x1410]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 0x1410]
call fcn.0040dd40
test al, al
jne 0x44c3fd
mov ecx, str.Error:_Unable_to_create_sub_folder_for_backup_WIM
jmp 0x44c848
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._s_boot.wim
push eax
call fcn.00409980
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
call esi
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._swinre.wim
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
call esi
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._sTBWinRE.txt
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
call esi
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._sIFW_BootWIM_Data.
push eax
call fcn.00409980
add esp, 0xc
lea ecx, [ebp - 0xa10]
call fcn.0040ec70
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._sIFW_WinRE_Data.
push eax
call fcn.00409980
add esp, 0xc
lea ecx, [ebp - 0xa10]
call fcn.0040ec70
cmp ebx, 4
jne 0x44c507
cmp dword [0x495d78], 8
mov ecx, 0x495d64
cmovae ecx, dword [0x495d64]
cmp dword [0x495cd0], 8
push ecx
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x1e10]
push str._s_s_boot.wim
push eax
call fcn.00409980
lea eax, [ebp - 0x1410]
push eax
push str._s_boot.wim
jmp 0x44c54c
cmp dword [0x495e28], 8
mov ecx, 0x495e14
cmovae ecx, dword [0x495e14]
cmp dword [0x495e10], 8
push ecx
mov eax, 0x495dfc
cmovae eax, dword [0x495dfc]
push eax
lea eax, [ebp - 0x1e10]
push 0x46c04c
push eax
call fcn.00409980
lea eax, [ebp - 0x1410]
push eax
push str._swinre.wim
lea eax, [ebp - 0xa10]
push eax
call fcn.00409980
add esp, 0x1c
test edi, edi
je 0x44c5a5
cmp dword [edi], 0
je 0x44c5a5
push 0x44
call fcn.00450970
add esp, 4
mov dword [ebp - 0x2068], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x44c58d
push str.Backing_up_WIM_file...
mov ecx, eax
call fcn.00409af0
jmp 0x44c58f
xor eax, eax
push eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0044fa70
mov dword [edi + 0x10], 0
push 0
push 0
push edi
push 0x422c90
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x1e10]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileExW]
lea ecx, [ebp - 0xa10]
mov esi, eax
call fcn.0040dd40
test al, al
je 0x44c83c
test esi, esi
je 0x44c83c
push 0x80
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
sub esp, 0x18
lea eax, [ebp - 0x1e10]
mov ecx, esp
push eax
call fcn.00401ec0
call fcn.0040dc70
mov esi, eax
lea eax, [ebp - 0xa10]
mov ecx, esp
push eax
mov dword [ebp - 0x2068], edx
call fcn.00401ec0
call fcn.0040dc70
add esp, 0x18
cmp esi, eax
jne 0x44c832
cmp dword [ebp - 0x2068], edx
jne 0x44c832
cmp byte [0x493101], 0
je 0x44c6ce
test edi, edi
je 0x44c691
cmp dword [edi], 0
je 0x44c691
push 0x44
call fcn.00450970
add esp, 4
mov dword [ebp - 0x206c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x44c679
push str.Verifing_backup_WIM_file...
mov ecx, eax
call fcn.00409af0
jmp 0x44c67b
xor eax, eax
push eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0044fa70
mov dword [edi + 0x10], 0
push 0
push edi
lea edx, [ebp - 0xa10]
lea ecx, [ebp - 0x1e10]
call fcn.0040e450
add esp, 8
test al, al
jne 0x44c6ce
mov ecx, str.Error:_Compare_failed_on_backup_WIM
mov edx, 1
call fcn.0040da30
lea eax, [ebp - 0xa10]
push eax
mov eax, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call eax
jmp 0x44c852
mov esi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov edi, 0x495d64
cmp ebx, 4
jne 0x44c741
cmp dword [0x495d78], 8
mov ecx, edi
cmovae ecx, dword [0x495d64]
cmp dword [0x495cd0], 8
push ecx
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x1e10]
push str._s_sTBWinRE.txt
push eax
call fcn.00409980
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._sTBWinRE.txt
push eax
call fcn.00409980
add esp, 0x1c
lea eax, [ebp - 0xa10]
push 0
push eax
lea eax, [ebp - 0x1e10]
push eax
call esi
mov edx, 1
mov ecx, str.Backup_of_WIM_completed
call fcn.0040da30
mov eax, dword [0x495b38]
cmp eax, 6
jg 0x44c82e
jne 0x44c76d
cmp dword [0x495b3c], 2
jge 0x44c82e
cmp ebx, 4
jne 0x44c7c3
cmp dword [0x495d78], 8
mov eax, 0x495cbc
cmovae edi, dword [0x495d64]
cmp dword [0x495cd0], 8
push edi
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x1e10]
push str._s_sIFW_BootWIM_Data
push eax
call fcn.00409980
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._sIFW_BootWIM_Data
push eax
call fcn.00409980
add esp, 0x1c
jmp 0x44c806
cmp dword [0x495e10], 8
mov eax, 0x495dfc
cmovae eax, dword [0x495dfc]
push eax
lea eax, [ebp - 0x1e10]
push str._sIFW_WinRE_Data
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0xa10]
push str._sIFW_WinRE_Data
push eax
call fcn.00409980
add esp, 0xc
push 0
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x1e10]
push eax
call esi
lea ecx, [ebp - 0xa10]
call fcn.0040dd40
test al, al
jne 0x44c82e
mov ecx, str.Error:_Backup_of_WIM_data_failed__0x1_
jmp 0x44c848
mov al, 1
jmp 0x44c854
mov ecx, str.Error:_Backup_of_WIM_failed__0x2_
jmp 0x44c6b1
mov ecx, str.Error:_Backup_of_WIM_failed__0x1_
jmp 0x44c848
mov ecx, str.Error:_Backup_WIM_folder_invalid
mov edx, 1
call fcn.0040da30
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 - 0x10]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret