Function at 0x10008f92
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 0x100096d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsPackageFamilyInUninstallBlocklistByPackageFullName
push dword [edi + 0x38]
call esi
test eax, eax
je 0x10008fef
and dword [esp + 0x38], 0
lea ecx, [esp + 0x38]
push ecx
push dword [ebp + 0xc]
call eax
test eax, eax
js 0x100096d5
cmp dword [esp + 0x38], 0
je 0x10008fef
mov eax, 0x80073cfa
jmp 0x100096d5
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 0x10009299
call fcn.1000bf37
mov ebx, eax
test ebx, ebx
jne 0x100096ca
call fcn.1000be82
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.100108f6
mov dword [esp + 0x38], esi
test esi, esi
jne 0x1000903f
mov ebx, 0xf0801
jmp 0x100096ca
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.1000ab14
mov ebx, eax
test ebx, ebx
jne 0x1000919f
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 0x10009143
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
cmp esi, eax
mov dword [esp + 0x3c], eax
jmp 0x10009139
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.1000ab14
mov ebx, eax
test ebx, ebx
jne 0x100091cd
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push dword [esi]
call fcn.1000b2d1
mov ebx, eax
test ebx, ebx
jne 0x100091cd
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100090e7
push dword [esi]
push dword [edi + 0x3c]
call eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1000912c
mov ebx, dword [esp + 0x1c]
cmp esi, ebx
je 0x1000910c
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, ebx
jne 0x100090f7
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 0x1000912e
xor ebx, ebx
mov esi, dword [esp + 0x28]
add esi, 4
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x28], esi
jne 0x1000909c
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.1000b2d1
mov ebx, eax
test ebx, ebx
jns 0x10009207
mov esi, dword [esp + 0xc]
test esi, esi
je 0x1000919f
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x10009181
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x1000916c
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 0x100096ca
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x100095cd
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x100091b7
jmp 0x100095c9
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1000915c
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x100091f2
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x100091dd
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x1000915c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10009217
push dword [ebp + 0xc]
push dword [edi + 0x3c]
call eax
mov esi, dword [esp + 0xc]
test esi, esi
je 0x1000925b
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x1000923c
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009227
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 0x100096c8
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x10009284
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x1000926f
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x100096c8
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], esi
push eax
call fcn.1000b7db
mov ebx, eax
test ebx, ebx
jne 0x100096ca
cmp dword [esp + 0x5c], esi
je 0x100092c1
mov ebx, 0x80004002
jmp 0x100096ca
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.1000ab14
mov ebx, eax
test ebx, ebx
jne 0x100095a4
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 0x10009553
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 0x10009379
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 0x10009379
mov ebx, 0x80070003
jmp 0x1000954b
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 0x1000953d
lea ecx, [esp + 0x50]
call fcn.100023ba
lea eax, [esp + 0x50]
mov dword [esp + 0x60], 0x1001961c
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 0x100093e6
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 0x1000950f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, ecx
mov dword [esp + 0x58], ecx
jmp 0x100094e7
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.1000ab14
mov ebx, eax
test ebx, ebx
jne 0x100095e2
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.1000b1c4
mov ebx, eax
test ebx, ebx
jne 0x100095e2
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x10009492
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 0x100094dc
mov eax, dword [esp + 0x1c]
cmp ebx, eax
je 0x100094bd
mov esi, eax
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.100110af
add ebx, 4
cmp ebx, esi
jne 0x100094a4
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 0x10009433
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push dword [ebp + 0xc]
call fcn.1000b1c4
mov ebx, eax
test ebx, ebx
je 0x1000962a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000951d
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 0x1000954b
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 0x10009561
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x100095a4
mov edi, dword [esp + 0x10]
cmp esi, edi
je 0x10009586
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x10009571
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 0x100096ca
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x100095cd
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x100095b8
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.100101a0
jmp 0x100096ca
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1000950f
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x10009617
mov esi, ecx
mov edi, eax
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.100110af
add esi, 4
cmp esi, edi
jne 0x100095fa
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 0x1000950f
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1000963d
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 0x1000965a
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 0x10009672
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 0x100096a0
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 0x100096b6
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