Function at 0x4256d0
Capabilities:
Copy file
Delete registry value
Persist via run registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4256d8
push ebx
mov ebx, dword [0x4275f8]
xor eax, eax
push ebp
push 0x425a27
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [0x4274f0]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc]
mov edx, 0x425a3c
call fcn.00402cac
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov edx, 0x425a50
call fcn.00406ae4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00402a38
cmp dword [ebx], 0
je 0x425747
push 0xd
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
mov cx, 0xc
mov dx, 0xb
call fcn.004075fc
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00402a38
mov eax, dword [ebx]
mov edx, dword [0x427504]
mov edx, dword [edx]
call fcn.00402da4
je 0x425868
cmp dword [ebx], 0
je 0x425868
push 0
lea edx, [ebp - 0x14]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405fc0
lea eax, [ebp - 0x14]
mov edx, dword [0x4274e0]
mov edx, dword [edx]
call fcn.00402c68
mov eax, dword [ebp - 0x14]
call fcn.00402e58
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
call fcn.00405fc0
lea eax, [ebp - 0x18]
mov edx, dword [0x4274e0]
mov edx, dword [edx]
call fcn.00402c68
mov eax, dword [ebp - 0x18]
call fcn.00402e58
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405fc0
lea eax, [ebp - 0x1c]
mov edx, 0x425a64
call fcn.00402c68
mov eax, dword [ebp - 0x1c]
call fcn.00402e58
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.00405fc0
lea eax, [ebp - 0x20]
mov edx, 0x425a64
call fcn.00402c68
mov eax, dword [ebp - 0x20]
call fcn.00402e58
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
call fcn.00405fc0
lea eax, [ebp - 0x24]
mov edx, dword [0x4274e0]
mov edx, dword [edx]
call fcn.00402c68
mov eax, dword [ebp - 0x24]
call fcn.00405e60
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
call fcn.00405fc0
lea eax, [ebp - 0x28]
mov edx, 0x425a64
call fcn.00402c68
mov eax, dword [ebp - 0x28]
call fcn.00405e60
mov eax, dword [ebx]
call fcn.00405e60
push 0x80
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
call fcn.00405fc0
mov eax, dword [ebp - 0x2c]
call fcn.00402e58
push eax
call sub.kernel32.dll_SetFileAttributesA
mov ecx, dword [0x4274f0]
mov ecx, dword [ecx]
lea eax, [ebp - 0x34]
mov edx, 0x425a3c
call fcn.00402cac
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, 0x425a78
call fcn.00406ae4
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4273f4]
call fcn.00402a38
mov eax, dword [0x4273f4]
cmp dword [eax], 0
je 0x4258cb
push 0xd
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x4273f4]
mov eax, dword [eax]
mov cx, 0xc
mov dx, 0xb
call fcn.004075fc
mov edx, dword [ebp - 0x38]
mov eax, dword [0x4273f4]
call fcn.00402a38
mov ecx, dword [0x4274f0]
mov ecx, dword [ecx]
lea eax, [ebp - 0x40]
mov edx, 0x425a3c
call fcn.00402cac
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov edx, 0x425a88
call fcn.00406ae4
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x427438]
call fcn.00402a38
mov eax, dword [0x427438]
cmp dword [eax], 0
je 0x42592e
push 0xd
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x427438]
mov eax, dword [eax]
mov cx, 0xc
mov dx, 0xb
call fcn.004075fc
mov edx, dword [ebp - 0x44]
mov eax, dword [0x427438]
call fcn.00402a38
mov eax, dword [0x427524]
mov eax, dword [eax]
mov edx, dword [0x4273f4]
mov edx, dword [edx]
call fcn.00402da4
je 0x425980
mov eax, dword [0x4273f4]
cmp dword [eax], 0
je 0x425980
lea eax, [ebp - 4]
push eax
push 0x425a90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [0x4273f4]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [0x427598]
mov eax, dword [eax]
mov edx, dword [0x427438]
mov edx, dword [edx]
call fcn.00402da4
je 0x4259d2
mov eax, dword [0x427438]
cmp dword [eax], 0
je 0x4259d2
lea eax, [ebp - 4]
push eax
push 0x425a90
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [0x427438]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
lea edx, [ebp - 0x48]
mov eax, dword [ebx]
call fcn.00405fc0
mov eax, dword [ebp - 0x48]
call fcn.00404764
cmp al, 1
jne 0x425a0c
lea edx, [ebp - 0x50]
mov eax, dword [ebx]
call fcn.00405fc0
mov eax, dword [ebp - 0x50]
call fcn.00402e58
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00402bd0
mov eax, dword [ebp - 0x4c]
call fcn.00404ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425a2e
lea eax, [ebp - 0x50]
mov edx, 0x13
call fcn.00402a08
ret