Function at 0x420622
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push 0x244
mov eax, 0x4ac869
call fcn.00468fdc
mov dword [ebp - 0x248], ecx
push str.TransferPayloads...
lea ecx, [ebp - 0x224]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x224]
push edi
push 2
pop ecx
mov dword [ebp - 4], edi
call fcn.004137d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, dword [0x514e6c]
lea eax, [ebp - 0x220]
push 0x105
push edi
push eax
mov dword [ebp - 0x234], ebx
call fcn.00481750
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x4206e5
push edi
push str.InitTransferPayloadError
call fcn.004032da
push str.SHGetFolderPath_CSIDL_COMMON_APPDATA_failed:
lea ecx, [ebp - 0x224]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x224]
inc ebx
push esi
mov ecx, ebx
mov dword [ebp - 4], ebx
call fcn.004137d1
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
jmp 0x42090d
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402829
push str.AdobeARM
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 2
call fcn.0040259d
mov dword [ebp - 0x22c], edi
test ebx, ebx
jle 0x420902
xor ebx, ebx
inc ebx
push edi
mov ecx, 0x514e64
call fcn.004098b5
mov dword [ebp - 0x238], eax
mov eax, dword [eax]
test eax, eax
je 0x4208b9
cmp dword [eax + 0x18], 0
je 0x4208b9
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
push dword [ebp - 0x230]
call fcn.0040944e
cmp eax, 0xffffffff
jne 0x4208b0
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x250], eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 4
mov eax, dword [eax]
add eax, 4
push eax
mov eax, dword [ebp - 0x248]
add eax, 0xc
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.004024b8
add esp, 0xc
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.00402e14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x228]
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x42091a
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ecx + 8]
call fcn.00402e14
push str.Transferred:
lea ecx, [ebp - 0x23c]
call fcn.00402829
push 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
push 2
lea edx, [ebp - 0x23c]
pop ecx
call fcn.004130a0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42089c
push str.failed_to_cleanup_file:
lea ecx, [ebp - 0x240]
call fcn.00402829
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x224]
mov ecx, ebx
push eax
lea edx, [ebp - 0x240]
call fcn.004130a0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x22c]
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
jmp 0x4208ea
push str.Warning__invalid_file_object_in_TransferPayloads
lea ecx, [ebp - 0x244]
call fcn.00402829
push 0
lea edx, [ebp - 0x244]
mov byte [ebp - 4], 0xb
mov ecx, ebx
call fcn.004137d1
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.00402e64
inc edi
mov dword [ebp - 0x22c], edi
cmp edi, dword [ebp - 0x234]
jl 0x42071f
xor esi, esi
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.00468f86
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x234]
push str.Copy_payload
push eax
call fcn.004023f1
add esp, 0xc
push str._failed:
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 6
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push esi
lea edx, [ebp - 0x22c]
mov ecx, ebx
call fcn.00413882
pop ecx
push 0
push str.TransferPayloadError
call fcn.004032da
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x250]
call fcn.00402e64
jmp 0x420904