Function at 0x409420
Capabilities:
Create directory
Encode data using xor
Get common file path
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46216d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push ebp
push esi
push edi
mov edi, str._Alyur_Suit
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x472508
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x71]
push ecx
call fcn.00401010
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x1c], esi
je 0x409489
mov byte [esi], 0
inc esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1d0]
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
xor eax, eax
mov cl, byte [esp + eax + 0x20]
xor cl, 0xcc
mov byte [esp + eax + 0x20], cl
mov bl, byte [esp + 0x28]
add bl, cl
inc eax
cmp eax, 8
mov byte [esp + 0x28], bl
jl 0x4094af
lea edx, [esp + 0x6d]
push esi
push edx
lea eax, [esp + 0xbc]
push str.Software_s_s
push eax
call fcn.0042dba5
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x40]
add esp, 0x10
mov dword [esp + 0x30], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], VariantInit
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x2001f
mov esi, dword [edx]
lea ecx, [esp + 0xbc]
push 0
push ecx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x409565
lea edx, [esp + 0x10]
push 0
push edx
push 0
push 0x2001f
push 0
push 0
lea eax, [esp + 0xcc]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4095da
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4095da
mov ecx, dword [esp + 0x1c8]
xor eax, eax
lea esi, [esp + 0x38]
mov edi, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x2c], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 1
push eax
push 0x47253c
push edx
call ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push 9
push edx
push 3
push 0
push str.sign
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x409511
push str.APPDATA
mov byte [esp + 0xb8], 0
call fcn.0042e84b
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 4
lea edx, [esp + 0xb4]
mov edi, eax
push 1
push 0x23
push edx
push 0
call esi
mov al, byte [esp + 0xb4]
test al, al
jne 0x409675
test edi, edi
je 0x409656
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xb4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x409666
push 1
lea ecx, [esp + 0xb8]
push 0x1a
push ecx
push 0
call esi
mov al, byte [esp + 0xb4]
test al, al
je 0x40982f
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x18]
push edx
call fcn.0045773a
push 0x47231c
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x1c8], 0
push eax
call fcn.004578fb
lea ecx, [esp + 0x6d]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x1cc], 1
call fcn.004578fb
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c0], 4
call fcn.00457710
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0], 3
call fcn.00457710
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call esi
push 0x47231c
lea ecx, [esp + 0x34]
call fcn.0045773a
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov bl, 5
push eax
push edx
mov byte [esp + 0x1cc], bl
call fcn.004578fb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 6
call fcn.00457a0a
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], bl
call fcn.00457710
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c0], 3
call fcn.00457710
mov eax, dword [esp + 0x10]
push 0
push eax
call esi
push 0x47231c
lea ecx, [esp + 0x20]
call fcn.0045773a
push str.act_key.ini
lea ecx, [esp + 0x34]
mov bl, 7
push eax
push ecx
mov byte [esp + 0x1cc], bl
call fcn.004578fb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 8
call fcn.00457a0a
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c0], bl
call fcn.00457710
mov byte [esp + 0x1c0], 3
lea ecx, [esp + 0x1c]
call fcn.00457710
mov edx, dword [esp + 0x10]
push 0x472530
push edx
call fcn.0042e838
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40984a
mov eax, dword [esp + 0x1c8]
or ecx, 0xffffffff
lea edx, [esp + 0xb4]
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xbc]
push eax
push ecx
push str._s___u___u___u
push ebp
call fcn.0042e8e9
push ebp
call fcn.0042e78a
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00457710
mov al, 1
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00457710
xor al, al
jmp 0x409831