Function at 0x41a9e2
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.0043baed
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.0043d912
test esi, esi
jne 0x41aa33
call fcn.0044cc8a
mov ebx, eax
jmp 0x41ae40
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 0x41aa5f
call fcn.0044cc8a
mov ebx, eax
jmp 0x41ae38
push str._Setup_
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0043baed
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 0x41aa94
call fcn.0044cc8a
mov ebx, eax
jmp 0x41ae30
push str.setup.exe
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
call fcn.0043baed
lea edx, [ebp + 8]
mov dword [esp], str.setup.exe
lea ecx, [ebp - 8]
mov ebx, dword [eax]
call fcn.0043baed
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.0043d912
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0043d912
test ebx, ebx
jne 0x41aaef
call fcn.0044cc8a
mov ebx, eax
jmp 0x41ac89
mov ebx, str.sources_
lea edx, [ebp + 8]
push ebx
lea ecx, [ebp - 0xc]
call fcn.0043baed
pop ecx
push ebx
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.0043baed
lea edx, [ebp - 0xc]
mov dword [esp], 0x48f330
lea ecx, [ebp - 8]
call fcn.0043baed
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.0043d912
cmp dword [ebp - 0x14], 0xffffffff
je 0x41accd
test byte [ebp - 0x2cc], 0x10
je 0x41abd5
lea ecx, [ebp - 0x2a0]
call fcn.0044cdbe
test al, al
jne 0x41ac50
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidLocaleName]
test eax, eax
je 0x41ac50
lea eax, [ebp - 0x2a0]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.0043baed
pop ecx
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
mov ebx, dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.0043baed
pop ecx
mov edx, ebx
mov ecx, dword [eax]
call fcn.0044d896
mov ecx, dword [ebp - 8]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.0043d912
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0043d912
test ebx, ebx
je 0x41ac50
push ebx
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x41acd2
push str.boot.wim
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41ac50
push str.install.wim
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41ac50
lea eax, [ebp - 0x2a0]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.0043baed
pop ecx
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x28]
mov ebx, dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.0043baed
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.0043d912
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0043d912
test ebx, ebx
je 0x41accd
lea eax, [ebp - 0x2cc]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ab47
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.00439a21
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
test ebx, ebx
jne 0x41ae11
push str.WindowsSystem32winpeshl.ini
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
call fcn.0044d546
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
push ebx
push ebx
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMCommitImageHandle]
test eax, eax
jne 0x41acd6
call fcn.0044cc8a
mov ebx, eax
jmp 0x41ae11
call fcn.0044cc8a
mov ebx, eax
jmp 0x41ac6b
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 0x41ae11
lea ecx, [ebp - 0x7c]
call fcn.00431b45
push dword [ebp - 8]
lea ecx, [ebp - 0x7c]
call fcn.0043a6ec
push 1
push 5
push str.IMAGE
lea ecx, [ebp - 0x7c]
call fcn.0043b7cc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41adf5
mov edx, str.WINDOWS_ARCH
mov ecx, eax
call fcn.0043b82e
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41adf5
push str.Microsoft_Windows_Setup
lea ecx, [ebp - 0x10]
call fcn.0043c2b8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x41ad4f
mov eax, 0x4934ec
push 0xa
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
test eax, eax
je 0x41ad6d
cmp eax, 9
jne 0x41ad84
mov esi, str._x64_
jmp 0x41ad72
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.0043c99e
mov esi, dword [ebp - 0x10]
mov edx, str.NAME
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0043978b
pop ecx
mov ecx, dword [ebp - 0x14]
mov edx, str.DESCRIPTION
push esi
call fcn.0043978b
push ecx
lea ecx, [ebp - 0xc]
call fcn.004321ef
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
call fcn.0043d810
push 0
push 1
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0xc]
call fcn.0043b2d1
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.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
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.0043d912
lea ecx, [ebp - 0x48]
call fcn.0043295e
push 0
push edi
call dword [sym.imp.WIMGAPI.DLL_WIMUnmountImageHandle]
test eax, eax
jne 0x41ae25
call fcn.0044cc8a
mov ebx, eax
test ebx, ebx
jne 0x41ae30
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esi - 0x10]
call fcn.0043d912
lea ecx, [ebp - 0x2c]
call fcn.004397f4
lea ecx, [ebp - 0x30]
call fcn.004397f4
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret