Function at 0x10009880
Capabilities:
Get common file path
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x214
push ebx
push ebp
mov ebp, ecx
push esi
push edi
or ecx, 0xffffffff
lea edi, [ebp + 4]
xor eax, eax
xor ebx, ebx
lea edx, [esp + 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], ebp
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x124]
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]
mov edi, str.IOCTLVDD.DLL
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.165
mov ecx, ebp
call fcn.1000bf10
test eax, eax
jne 0x10009907
mov ebx, 0xbbb
or ecx, 0xffffffff
lea edi, [ebp + 4]
xor eax, eax
lea edx, [esp + 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x124]
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, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x124]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10026c10
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.180
mov ecx, ebp
call fcn.1000bf10
test eax, eax
jne 0x100099ab
mov ebx, 0xbbb
or ecx, 0xffffffff
lea edi, [ebp + 4]
xor eax, eax
lea edx, [esp + 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x124]
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, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x124]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._rcmhdog.sys
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.170
mov ecx, ebp
call fcn.1000bf10
test eax, eax
jne 0x10009a4f
mov ebx, 0xbbb
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push str.SystemCurrentControlSetServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10009a74
mov ebx, 0xbbc
lea edx, [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.MHDRV
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10009aa4
mov ebx, 0xbbc
mov edi, str.Parallel_arbitrator
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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 + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x24]
mov byte [esp + ecx + 0x25], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
push 7
push eax
push str.DependOnGroup
push edx
call ebp
test eax, eax
je 0x10009b0c
mov ebx, 0xbbc
mov edi, str.Parport
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
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 + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x24]
mov esi, 2
mov byte [esp + ecx + 0x25], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
lea ecx, [esp + 0x28]
push ecx
push 7
push eax
push str.DependOnService
push edx
call ebp
test eax, eax
je 0x10009b75
mov ebx, 0xbbc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.Type
push ecx
mov dword [esp + 0x2c], 1
call ebp
test eax, eax
je 0x10009b9d
mov ebx, 0xbbc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push 0x10026b80
push eax
mov dword [esp + 0x2c], esi
call ebp
test eax, eax
je 0x10009bc1
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push 0x10026b7c
push edx
mov dword [esp + 0x2c], esi
call ebp
test eax, eax
je 0x10009be5
mov ebx, 0xbbc
mov edi, str.Rainbow_Goldensoft
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
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 + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push eax
push str.Group
push edx
call ebp
test eax, eax
je 0x10009c36
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 0x10009c5e
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
test eax, eax
je 0x10009c74
mov ebx, 0xbbc
mov eax, dword [esp + 0x18]
push eax
call esi
test eax, eax
je 0x10009c84
mov ebx, 0xbbc
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push str.SystemCurrentControlSetServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10009ca9
mov ebx, 0xbbc
lea edx, [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x10026904
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10009cd9
mov ebx, 0xbbc
mov edi, str.Parallel_arbitrator
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
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 + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x24]
mov byte [esp + ecx + 0x25], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
push 7
push eax
push str.DependOnGroup
push edx
call ebp
test eax, eax
je 0x10009d3b
mov ebx, 0xbbc
mov edi, str.Parport
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
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 + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x24]
mov esi, 2
mov byte [esp + ecx + 0x25], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
lea ecx, [esp + 0x28]
push ecx
push 7
push eax
push str.DependOnService
push edx
call ebp
test eax, eax
je 0x10009da4
mov ebx, 0xbbc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.Type
push ecx
mov dword [esp + 0x2c], 1
call ebp
test eax, eax
je 0x10009dcc
mov ebx, 0xbbc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push 0x10026b80
push eax
mov dword [esp + 0x2c], esi
call ebp
test eax, eax
je 0x10009df0
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push 0x10026b7c
push edx
mov dword [esp + 0x2c], esi
call ebp
test eax, eax
je 0x10009e14
mov ebx, 0xbbc
mov edi, str.Rainbow_China
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
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 + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push eax
push str.Group
push edx
call ebp
test eax, eax
je 0x10009e65
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 0x10009e8d
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
test eax, eax
je 0x10009ea3
mov ebx, 0xbbc
mov eax, dword [esp + 0x18]
push eax
call esi
test eax, eax
je 0x10009ec0
pop edi
pop esi
pop ebp
mov eax, 0xbbc
pop ebx
add esp, 0x214
ret 4
mov ecx, dword [esp + 0x1c]
push 0x80
lea eax, [ecx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [esp + 0x1c]
push 0
mov ecx, esi
call fcn.1000c030
push 1
mov ecx, esi
call fcn.1000c030
push 2
mov ecx, esi
call fcn.1000c030
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x214
ret 4