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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x475e70
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4bfd60]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x4bfd60]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.TransferPayloads...
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], eax
call fcn.004020a6
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push 2
mov dword [esp + 0x26c], ebx
call fcn.004152d1
or dword [esp + 0x26c], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [0x4c47fc]
push 0x105
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x30], edi
call fcn.00459cf0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, ebx
jge 0x41f8c9
push str.SHGetFolderPath_CSIDL_COMMON_APPDATA_failed:
lea ecx, [esp + 0x14]
call fcn.004020a6
xor eax, eax
push esi
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x26c], eax
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025d2
mov eax, esi
jmp 0x41fb6c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004020a6
push str.AdobeARM
lea ecx, [esp + 0x2c]
mov dword [esp + 0x264], 2
call fcn.0040af5f
cmp edi, ebx
mov dword [esp + 0x10], ebx
jle 0x41fb5e
push dword [esp + 0x10]
mov ecx, 0x4c47f4
call fcn.0040b035
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x41fa68
cmp dword [eax + 0x18], ebx
je 0x41fa68
add eax, 8
push eax
lea ecx, [esp + 0x18]
call fcn.004020ea
mov byte [esp + 0x260], 3
push dword [esp + 0x28]
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.0040ad24
cmp eax, 0xffffffff
jne 0x41fa5a
mov eax, esi
push eax
lea ecx, [esp + 0x20]
call fcn.004020ea
mov byte [esp + 0x260], 4
mov eax, dword [edi]
add eax, 4
push eax
mov eax, dword [esp + 0x3c]
add eax, 0xc
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00401de9
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], 5
call fcn.00402573
mov byte [esp + 0x260], 4
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004025d2
mov esi, dword [esp + 0x1c]
push ebx
push esi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41fab9
mov edi, dword [edi]
lea eax, [esp + 0x1c]
lea ecx, [edi + 8]
push eax
call fcn.00402573
push str.Transfered:
lea ecx, [esp + 0x30]
call fcn.004020a6
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push 2
mov byte [esp + 0x270], 9
call fcn.00414e01
mov byte [esp + 0x270], 4
mov ecx, dword [esp + 0x3c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41fa52
push str.failed_to_cleanup_file:
lea ecx, [esp + 0x34]
call fcn.004020a6
mov byte [esp + 0x260], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
push 1
call fcn.00414e01
mov ecx, dword [esp + 0x40]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [esi - 0x10]
call fcn.004025d2
mov byte [esp + 0x260], 2
mov ecx, dword [esp + 0x14]
jmp 0x41fa9a
push str.Warning__invalid_file_object
lea ecx, [esp + 0x24]
call fcn.004020a6
push ebx
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x26c], 0xb
call fcn.004152d1
mov byte [esp + 0x26c], 2
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jl 0x41f8fc
jmp 0x41fb5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push str.Copy_payload
push eax
call fcn.00401e40
add esp, 0xc
push str._failed:
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x26c], 6
call fcn.0040adb6
add esp, 0xc
mov byte [esp + 0x260], 8
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004025d2
push dword [esp + 0x10]
lea esi, [esp + 0x24]
push 1
call fcn.004153a2
pop ecx
pop ecx
lea eax, [esp + 0x1b]
push eax
push dword [esp + 0x14]
mov byte [esp + 0x23], bl
mov edi, str.Transfer_Payload_Failed
mov ebx, 0x4c46e8
call fcn.0040b14d
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, ebx
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00458e0e
mov esp, ebp
pop ebp
ret 4