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

Disassembly:
push 0xffffffffffffffff
push 0x414d88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x41b280]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov ecx, str.QHService
call fcn.00401ff0
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.QHService.exe
mov dword [esp + 0x48], 0
call fcn.00401ff0
lea edx, [esp + 0x10]
push edx
mov ecx, str.QHActiveDefense
mov byte [esp + 0x48], 1
call fcn.00401ff0
lea eax, [esp + 0x1c]
push eax
mov ecx, str.QHActiveDefense.exe
mov byte [esp + 0x48], 2
call fcn.00401ff0
mov byte [esp + 0x44], 3
call fcn.00402ca0
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str._safemonQHActiveDefense.exe
call fcn.004020a0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 4
call fcn.00402180
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x418354
mov byte [esp + 0x58], 5
call fcn.004020a0
add esp, 0x14
mov byte [esp + 0x44], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40197d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x401999
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00402700
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 4], esi
jle 0x4019b4
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00402700
mov ebx, dword [esp + 0x10]
call fcn.00401720
push ecx
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov ecx, 0x418358
call fcn.00401ff0
push 0x10
mov byte [esp + 0x4c], 8
mov eax, dword [esp + 0x14]
push 2
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.00402810
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x58], 9
mov eax, esp
mov dword [esp + 0x44], esp
push eax
mov ecx, 0x418370
call fcn.00401ff0
mov ebx, 1
push ebx
push ecx
mov ecx, esp
mov byte [esp + 0x60], 0xa
mov dword [esp + 0x50], esp
push ecx
mov ecx, 0x418378
call fcn.00401ff0
push ecx
mov edx, esp
mov dword [esp + 0x58], esp
push edx
mov ecx, str.QHActiveDefense
mov byte [esp + 0x68], 0xb
call fcn.00401ff0
mov byte [esp + 0x64], 7
call fcn.00401190
push 0x80000002
call fcn.00402c40
add esp, 0x24
call fcn.00402e10
test al, al
je 0x401a79
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push str.WOW64
push str.SYSTEMCurrentControlSet_servicesQHActiveDefense
push 0x80000002
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [esp + 0x44], 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ac3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ae8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret