Function at 0x41a55d
Capabilities:
Copy file
Create directory
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
push ebx
push esi
push edi
push str.sources_boot.wim
lea edx, [ebp + 8]
lea ecx, [ebp - 8]
call fcn.0043ab55
pop ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push 0xe0000000
push dword [eax]
call dword [sym.imp.WIMGAPI.DLL_WIMCreateFile]
mov ecx, dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x30], esi
lea ecx, [ecx - 0x10]
call fcn.0043c924
test esi, esi
jne 0x41a5ae
call fcn.0044bc4b
mov ebx, eax
jmp 0x41a9bb
call dword [sym.imp.CBSHost.dll_DismGetScratchDir]
push eax
push esi
call dword [sym.imp.WIMGAPI.DLL_WIMSetTemporaryPath]
push 1
push esi
call dword [sym.imp.WIMGAPI.DLL_WIMLoadImage]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x41a5da
call fcn.0044bc4b
mov ebx, eax
jmp 0x41a9b3
push str._Setup_
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0043ab55
mov esi, dword [ebp - 0x18]
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push esi
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMMountImageHandle]
test eax, eax
jne 0x41a60f
call fcn.0044bc4b
mov ebx, eax
jmp 0x41a9ab
push str.setup.exe
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
call fcn.0043ab55
lea edx, [ebp + 8]
mov dword [esp], str.setup.exe
lea ecx, [ebp - 8]
mov ebx, dword [eax]
call fcn.0043ab55
pop ecx
push 0
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 8]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0043c924
test ebx, ebx
jne 0x41a66a
call fcn.0044bc4b
mov ebx, eax
jmp 0x41a804
mov ebx, str.sources_
lea edx, [ebp + 8]
push ebx
lea ecx, [ebp - 0xc]
call fcn.0043ab55
pop ecx
push ebx
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.0043ab55
lea edx, [ebp - 0xc]
mov dword [esp], 0x48d254
lea ecx, [ebp - 8]
call fcn.0043ab55
pop ecx
lea ecx, [ebp - 0x2cc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
cmp dword [ebp - 0x14], 0xffffffff
je 0x41a848
test byte [ebp - 0x2cc], 0x10
je 0x41a750
lea ecx, [ebp - 0x2a0]
call fcn.0044bd7f
test al, al
jne 0x41a7cb
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidLocaleName]
test eax, eax
je 0x41a7cb
lea eax, [ebp - 0x2a0]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.0043ab55
pop ecx
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
mov ebx, dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.0043ab55
pop ecx
mov edx, ebx
mov ecx, dword [eax]
call fcn.0044c857
mov ecx, dword [ebp - 8]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0043c924
test ebx, ebx
je 0x41a7cb
push ebx
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x41a84d
push str.boot.wim
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41a7cb
push str.install.wim
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41a7cb
lea eax, [ebp - 0x2a0]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.0043ab55
pop ecx
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x28]
mov ebx, dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.0043ab55
pop ecx
push 0
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x28]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0043c924
test ebx, ebx
je 0x41a848
lea eax, [ebp - 0x2cc]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a6c2
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0043899f
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043c924
test ebx, ebx
jne 0x41a98c
push str.WindowsSystem32winpeshl.ini
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0043ab55
pop ecx
mov ecx, dword [eax]
call fcn.0044c507
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push ebx
push ebx
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMCommitImageHandle]
test eax, eax
jne 0x41a851
call fcn.0044bc4b
mov ebx, eax
jmp 0x41a98c
call fcn.0044bc4b
mov ebx, eax
jmp 0x41a7e6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMGetImageInformation]
test eax, eax
je 0x41a98c
lea ecx, [ebp - 0x7c]
call fcn.00430db9
push dword [ebp - 8]
lea ecx, [ebp - 0x7c]
call fcn.00439676
push 1
push 5
push str.IMAGE
lea ecx, [ebp - 0x7c]
call fcn.0043a80d
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41a970
mov edx, str.WINDOWS_ARCH
mov ecx, eax
call fcn.0043a873
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41a970
push str.Microsoft_Windows_Setup
lea ecx, [ebp - 0x10]
call fcn.0043b487
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x41a8ca
mov eax, 0x491414
push 0xa
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
test eax, eax
je 0x41a8e8
cmp eax, 9
jne 0x41a8ff
mov esi, str._x64_
jmp 0x41a8ed
mov esi, str._x86_
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0043b96c
mov esi, dword [ebp - 0x10]
mov edx, str.NAME
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00438709
pop ecx
mov ecx, dword [ebp - 0x14]
mov edx, str.DESCRIPTION
push esi
call fcn.00438709
push ecx
lea ecx, [ebp - 0xc]
call fcn.00431469
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
call fcn.0043c822
push 0
push 1
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0xc]
call fcn.0043a34a
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMSetImageInformation]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [esi - 0x10]
call fcn.0043c924
mov esi, dword [ebp - 0x18]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [ebp - 0x48]
call fcn.00431d5a
push 0
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMUnmountImageHandle]
test eax, eax
jne 0x41a9a0
call fcn.0044bc4b
mov ebx, eax
test ebx, ebx
jne 0x41a9ab
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esi - 0x10]
call fcn.0043c924
lea ecx, [ebp - 0x2c]
call fcn.00438772
lea ecx, [ebp - 0x30]
call fcn.00438772
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043c924
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret