Function at 0x56a380
Capabilities:
Persist via run registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x56a389
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d9c
mov eax, dword [ebp - 8]
call fcn.00404d9c
xor eax, eax
push ebp
push 0x56a7af
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4787fc]
call fcn.004788fc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x56a778
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409970
cmp eax, 0xe
ja case.0x56a3e8.0
jmp dword [eax*4 + 0x56a3ef]
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a7c4
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a7fc
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a834
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a870
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a8ac
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a8ec
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a92c
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a970
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a7c4
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a7fc
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a834
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0047899c
mov cl, 1
mov edx, 0x56a870
mov eax, dword [ebp - 0xc]
call fcn.00478ae0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00478d7c
jmp case.0x56a3e8.0
push 0x80
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
mov edx, 7
mov eax, ebx
call fcn.00568bc0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x56a9b4
call fcn.0040a918
mov eax, dword [ebp - 0x10]
call fcn.00404dac
push eax
call sub.KERNEL32.dll_SetFileAttributesA
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, 7
mov eax, ebx
call fcn.00568bc0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x56a9b4
call fcn.0040a918
mov eax, dword [ebp - 0x28]
call fcn.00409e94
jmp case.0x56a3e8.0
push 0x80
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x18
mov eax, ebx
call fcn.00568bc0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x56a9b4
call fcn.0040a918
mov eax, dword [ebp - 0x30]
call fcn.00404dac
push eax
call sub.KERNEL32.dll_SetFileAttributesA
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x18
mov eax, ebx
call fcn.00568bc0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x56a9b4
call fcn.0040a918
mov eax, dword [ebp - 0x38]
call fcn.00409e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a77f
mov eax, dword [ebp - 0xc]
call fcn.0047896c
mov eax, dword [ebp - 0xc]
call fcn.00403a7c
ret