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

Disassembly:
push 0x21c
mov eax, 0x488469
call fcn.00464e7c
mov edi, ecx
push str.TransferProductManifest...
lea ecx, [ebp - 0x224]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x224]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [edi + 0x18]
push eax
lea esi, [edi + 0xc]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.00402448
add esp, 0xc
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push eax
call fcn.0041d9a2
test eax, eax
jne 0x4207cc
push 0x202
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00466990
add esp, 0xc
mov dword [ebp - 0x228], 0x101
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x4208c1
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004023e9
add esp, 0xc
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00402d9f
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push ebx
push dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x420870
cmp esi, 3
je 0x420870
push 0x5c
lea ecx, [ebp - 0x220]
call fcn.00423dfd
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.00402556
lea eax, [ebp - 0x220]
push eax
call fcn.0041d9a2
test eax, eax
jne 0x4207c9
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], bl
push eax
push 5
push str.Get_Product_Manifest_Result
mov ecx, 0x4e1f90
call fcn.004098f0
push str.Cannot_transfer_downloaded_manifest__CleanDestinationPath_failed
lea ecx, [ebp - 0x224]
call fcn.0040279b
xor ecx, ecx
mov byte [ebp - 4], 4
push ebx
lea edx, [ebp - 0x224]
inc ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x224]
jmp 0x42093a
mov byte [edi + 0x1c], bl
push ebx
push dword [ebp - 0x220]
lea esi, [edi + 4]
add edi, 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x420947
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
lea eax, [ebp - 0x228]
push str.Copy_Manifest
push eax
call fcn.00402381
push str._failed:
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 7
push eax
call fcn.004023e9
add esp, 0x18
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402def
xor ecx, ecx
lea edx, [ebp - 0x21c]
push esi
inc ecx
call fcn.00413f25
pop ecx
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], bl
push eax
push esi
push str.Transfer_Manifest_Failed
mov ecx, 0x4e1f90
call fcn.004098f0
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ebx, esi
jmp 0x4209dd
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], bl
push eax
push esi
push str.Get_Product_Manifest_Result
mov ecx, 0x4e1f90
call fcn.004098f0
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x224]
call fcn.0040279b
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
xor ecx, ecx
lea edx, [ebp - 0x224]
push esi
push eax
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
jmp 0x420861
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 0x215], bl
lea eax, [ebp - 0x215]
mov ecx, 0x4e1f90
push eax
push esi
push str.Get_Product_Manifest_Result
call fcn.004098f0
push str.GetUserName_failed
lea ecx, [ebp - 0x21c]
call fcn.0040279b
push str.Cannot_transfer_downloaded_manifest_
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.0040279b
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 6
xor ecx, ecx
lea edx, [ebp - 0x224]
push esi
push eax
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x4209dd
push str.Transfered:
lea ecx, [ebp - 0x21c]
call fcn.0040279b
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xa
push eax
push 2
lea edx, [ebp - 0x21c]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4209cf
push str.failed_to_cleanup_file:
lea ecx, [ebp - 0x21c]
call fcn.0040279b
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor ecx, ecx
lea edx, [ebp - 0x21c]
push esi
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00402d9f
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402def
mov eax, ebx
call fcn.00464e26
ret