Function at 0x10009d1a
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1000bfad
test eax, eax
jne 0x1000a45d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsPackageFamilyInUninstallBlocklistByPackageFullName
push dword [edi + 0x38]
call esi
test eax, eax
je 0x10009d77
and dword [esp + 0x38], 0
lea ecx, [esp + 0x38]
push ecx
push dword [ebp + 0xc]
call eax
test eax, eax
js 0x1000a45d
cmp dword [esp + 0x38], 0
je 0x10009d77
mov eax, 0x80073cfa
jmp 0x1000a45d
push str.AddDeprovisionedPackageMarking
push dword [edi + 0x38]
call esi
xor esi, esi
mov dword [esp + 0x4c], eax
mov ecx, edi
mov dword [esp + 0x38], esi
cmp dword [edi + 0x14], esi
je 0x1000a021
call fcn.1000bf37
mov ebx, eax
test ebx, ebx
jne 0x1000a452
call fcn.1000be82
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.100108f6
mov dword [esp + 0x38], esi
test esi, esi
jne 0x10009dc7
mov ebx, 0xf0801
jmp 0x1000a452
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
call fcn.1000c6be
mov ebx, eax
test ebx, ebx
jne 0x10009f27
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.1000af34
test eax, eax
jne 0x10009ecb
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
cmp esi, eax
mov dword [esp + 0x3c], eax
jmp 0x10009ec1
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.1000c6be
mov ebx, eax
test ebx, ebx
jne 0x10009f55
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push dword [esi]
call fcn.1000cbcb
mov ebx, eax
test ebx, ebx
jne 0x10009f55
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10009e6f
push dword [esi]
push dword [edi + 0x3c]
call eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10009eb4
mov ebx, dword [esp + 0x1c]
cmp esi, ebx
je 0x10009e94
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, ebx
jne 0x10009e7f
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x10009eb6
xor ebx, ebx
mov esi, dword [esp + 0x28]
add esi, 4
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x28], esi
jne 0x10009e24
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.1000cbcb
mov ebx, eax
test ebx, ebx
jns 0x10009f8f
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10009f27
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x10009f09
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009ef4
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1000a452
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x1000a355
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009f3f
jmp 0x1000a351
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10009ee4
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x10009f7a
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009f65
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x10009ee4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10009f9f
push dword [ebp + 0xc]
push dword [edi + 0x3c]
call eax
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10009fe3
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x10009fc4
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009faf
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
and dword [esp + 0xc], 0
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1000a450
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x1000a00c
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009ff7
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x1000a450
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], esi
push eax
call fcn.1000b7db
mov ebx, eax
test ebx, ebx
jne 0x1000a452
cmp dword [esp + 0x5c], esi
je 0x1000a049
mov ebx, 0x80004002
jmp 0x1000a452
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.1000c6be
mov ebx, eax
test ebx, ebx
jne 0x1000a32c
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.1000af34
lea eax, [esp + 0x44]
mov dword [esp + 0x44], esi
push eax
call dword [edi + 0x60]
mov ebx, eax
test ebx, ebx
js 0x1000a2db
push str.ProgramDataMicrosoftWindowsAppxProvisioning.xml
lea edx, [edi + 4]
lea ecx, [esp + 0x44]
call fcn.1001087d
mov esi, dword [esp + 0x44]
pop ecx
mov ecx, esi
call fcn.10011f76
test eax, eax
jne 0x1000a101
push str.WindowsSystem32AppxProvisioning.xml
lea edx, [edi + 4]
lea ecx, [esp + 0x40]
call fcn.1001087d
pop ecx
push eax
lea ecx, [esp + 0x44]
call fcn.10010ca5
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.10011f76
test eax, eax
jne 0x1000a101
mov ebx, 0x80070003
jmp 0x1000a2d3
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x28]
and dword [esp + 0x28], 0
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
js 0x1000a2c5
lea ecx, [esp + 0x50]
call fcn.100023ba
lea eax, [esp + 0x50]
mov dword [esp + 0x60], 0x10019634
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x88]
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x88], eax
call fcn.1001040f
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x1000a16e
mov edx, dword [ecx]
lea eax, [esp + 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push str.AppxProvisioning.xml
lea edx, [esp + 0x54]
lea ecx, [esp + 0x40]
call fcn.1001087d
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
mov edi, dword [esp + 0x40]
and dword [esp + 0x28], 0
pop ecx
mov ecx, dword [eax]
push edx
push edi
push dword [esp + 0x30]
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
js 0x1000a297
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, ecx
mov dword [esp + 0x58], ecx
jmp 0x1000a26f
mov edx, dword [eax]
lea ecx, [esp + 0x18]
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000c6be
mov ebx, eax
test ebx, ebx
jne 0x1000a36a
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x4c]
push dword [esp + 0x28]
push dword [eax]
call fcn.1000cad9
mov ebx, eax
test ebx, ebx
jne 0x1000a36a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1000a21a
mov eax, dword [esp + 0x48]
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
call ecx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1000a264
mov eax, dword [esp + 0x1c]
cmp ebx, eax
je 0x1000a245
mov esi, eax
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.100110af
add ebx, 4
cmp ebx, esi
jne 0x1000a22c
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ecx, ebx
sub edx, ebx
and edx, 0xfffffffc
call fcn.100101a0
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
mov eax, dword [esp + 0x48]
add eax, 4
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
jne 0x1000a1bb
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [ebp + 0xc]
call fcn.1000cad9
mov ebx, eax
test ebx, ebx
je 0x1000a3b2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000a2a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [edi - 0x10]
call fcn.100110af
lea ecx, [esp + 0x88]
call fcn.100103df
mov ecx, dword [esp + 0x50]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1000a2d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.100110af
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1000a2e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x1000a32c
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x1000a30e
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x1000a2f9
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1000a452
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x1000a355
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x1000a340
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x1000a452
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1000a297
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x1000a39f
mov esi, ecx
mov edi, eax
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x1000a382
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
sub edx, ecx
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x1000a297
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1000a3c5
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 0x3c]
call ecx
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1000a3e2
and dword [esp + 0x24], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000a3fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [edi - 0x10]
call fcn.100110af
lea ecx, [esp + 0x88]
call fcn.100103df
mov ecx, dword [esp + 0x50]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1000a428
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.100110af
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1000a43e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xc]
call fcn.1000a811
lea ecx, [esp + 0x2c]
call fcn.1000a811
xor ebx, ebx
lea ecx, [esp + 0x38]
call fcn.100108f6
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8