Function at 0x421a6c
Capabilities:
Copy file
Create directory
Delete file
Get session user name

Disassembly:
push 0x224
mov eax, 0x4ad53f
call fcn.00469d7c
mov edi, ecx
push str.TransferOnDemandManifest...
lea ecx, [ebp - 0x228]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x228]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414da1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x228]
call fcn.00402899
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x5163e8
call fcn.00417956
lea eax, [ebp - 0x228]
push eax
lea esi, [edi + 0xc]
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004024b8
push str..msi
push eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
call fcn.00402459
add esp, 0x18
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x220]
push eax
call fcn.0041e9fc
test eax, eax
jne 0x421c4b
push 0x202
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.004821b0
add esp, 0xc
mov dword [ebp - 0x22c], 0x101
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x421d40
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00402459
add esp, 0xc
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.00402e14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
push dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x421cef
cmp esi, 3
je 0x421cef
push 0x5c
lea ecx, [ebp - 0x220]
call fcn.00424e7f
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.004025c6
lea eax, [ebp - 0x220]
push eax
call fcn.0041e9fc
test eax, eax
jne 0x421c48
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], bl
push eax
push 5
push str.Get_Product_Manifest_Result
mov ecx, 0x515e58
call fcn.0040a2d0
push str.Cannot_transfer_downloaded_manifest__CleanDestinationPath_failed
lea ecx, [ebp - 0x224]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 7
push ebx
lea edx, [ebp - 0x224]
inc ecx
call fcn.00414da1
pop ecx
mov ecx, dword [ebp - 0x224]
jmp 0x421db9
mov byte [edi + 0x1c], bl
push ebx
push dword [ebp - 0x220]
lea esi, [edi + 0x2c]
add edi, 0x2c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x421dc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
lea eax, [ebp - 0x22c]
push str.Copy_Manifest
push eax
call fcn.004023f1
push str._failed:
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00402459
add esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor ecx, ecx
lea edx, [ebp - 0x21c]
push esi
inc ecx
call fcn.00414e8a
pop ecx
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], bl
push eax
push esi
push str.Transfer_Manifest_Failed
mov ecx, 0x515e58
call fcn.0040a2d0
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, esi
jmp 0x421e5c
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], bl
push eax
push esi
push str.Get_Product_Manifest_Result
mov ecx, 0x515e58
call fcn.0040a2d0
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x224]
call fcn.00402829
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
xor ecx, ecx
lea edx, [ebp - 0x224]
push esi
push eax
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
jmp 0x421ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 0x215], bl
lea eax, [ebp - 0x215]
mov ecx, 0x515e58
push eax
push esi
push str.Get_Product_Manifest_Result
call fcn.0040a2d0
push str.GetUserName_failed
lea ecx, [ebp - 0x21c]
call fcn.00402829
push str.Cannot_transfer_downloaded_manifest_
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 8
call fcn.00402829
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 9
xor ecx, ecx
lea edx, [ebp - 0x224]
push esi
push eax
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x421e5c
push str.Transfered:
lea ecx, [ebp - 0x21c]
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xd
push eax
push 2
lea edx, [ebp - 0x21c]
pop ecx
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x421e4e
push str.failed_to_cleanup_file:
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor ecx, ecx
lea edx, [ebp - 0x21c]
push esi
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00402e14
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402e64
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.00469d26
ret