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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [0x746380]
test esi, esi
je 0x461dcb
mov ecx, esi
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
lea edx, [ecx + 1]
mov dword [ebp - 0xc], ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461ae4
sub ecx, edx
push 1
lea eax, [ecx + 1]
push eax
call fcn.0060b9f0
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x461b0c
or esi, 0xffffffff
jmp 0x461d93
mov ecx, edi
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x461b10
push 0x5c
push edi
call fcn.005fad20
add esp, 8
test eax, eax
je 0x461b40
lea ecx, [eax + 1]
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x461b33
push 0x2e
push edi
call fcn.005fad20
add esp, 8
test eax, eax
je 0x461b51
mov byte [eax], bl
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461b56
sub ecx, edx
push 1
lea eax, [ecx + 0x23]
push eax
call fcn.0060b9f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x461b7b
or esi, 0xffffffff
jmp 0x461d93
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
mov edx, edi
mov esi, edi
movups xmmword [ebx], xmm0
movups xmm0, xmmword [0x6f4c40]
movups xmmword [ebx + 0x10], xmm0
mov ax, word [0x6f4c50]
mov word [ebx + 0x20], ax
mov al, byte [0x6f4c52]
mov byte [ebx + 0x22], al
mov al, byte [edx]
inc edx
test al, al
jne 0x461ba6
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x461bb2
mov ecx, edx
lea eax, [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x461bf3
or esi, 0xffffffff
jmp 0x461d90
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x1b
push str.Huorong_HRKill_boot_driver
push 7
push 0
push 0x6ea170
push dword [ebp - 4]
call esi
test eax, eax
je 0x461c1a
or esi, 0xffffffff
jmp 0x461d90
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 4
push 0
push 0x6ea10c
push dword [ebp - 4]
call esi
test eax, eax
je 0x461c41
or esi, 0xffffffff
jmp 0x461d90
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 4
push 0
push 0x6ea11c
push dword [ebp - 4]
call esi
test eax, eax
je 0x461c68
or esi, 0xffffffff
jmp 0x461d90
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 4
push 0
push str.Type
push dword [ebp - 4]
call esi
test eax, eax
je 0x461c8f
or esi, 0xffffffff
jmp 0x461d90
push ebx
call fcn.005fa0fb
mov edi, dword [ebp - 8]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461ca0
sub ecx, edx
mov dword [ebp - 0x10], ecx
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461cb1
sub ecx, edx
push 1
lea eax, [ecx + 0x22]
push eax
call fcn.0060b9f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x461cd6
or esi, 0xffffffff
jmp 0x461d93
movups xmm0, xmmword [str.SystemRootSystem32drivers_]
mov edx, edi
mov esi, edi
movups xmmword [ebx], xmm0
movq xmm0, qword [0x6f4c80]
movq qword [ebx + 0x10], xmm0
mov eax, dword [0x6f4c88]
mov dword [ebx + 0x18], eax
mov ax, word [0x6f4c8c]
mov word [ebx + 0x1c], ax
mov al, byte [edx]
inc edx
test al, al
jne 0x461d03
sub edx, esi
lea edi, [ebx - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x461d10
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx - 1]
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x461d30
mov eax, dword [str..sys]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ecx], eax
mov al, byte [0x6ea0cc]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x10]
add eax, 0x21
push eax
push ebx
push 2
push 0
push 0x6ea140
push dword [ebp - 4]
call esi
test eax, eax
je 0x461d6e
or esi, 0xffffffff
jmp 0x461d90
push 6
push 0x6f4af8
push 1
push 0
push str.Group
push dword [ebp - 4]
call esi
or ecx, 0xffffffff
mov esi, 0
test eax, eax
cmovne esi, ecx
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x461da8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x461db5
push ebx
call fcn.005fa0fb
add esp, 4
test edi, edi
je 0x461dc2
push edi
call fcn.005fa0fb
add esp, 4
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffea
pop esi
mov esp, ebp
pop ebp
ret