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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d50f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], ecx
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44dc55
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str.SYSTEMCurrentControlSet_services_ws
push eax
call fcn.00408c40
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x44da0b
push eax
call ebx
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push esi
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor edi, edi
test eax, eax
jne 0x44dc11
mov eax, dword [ebp + 0x14]
lea ebx, [edi + 1]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44da66
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push edi
push str.Type
push eax
call ecx
mov ecx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, ebx
cmove edi, eax
mov eax, dword [ebp - 0x10]
add edi, ebx
mov dword [ebp - 0x1c], ebx
xor ebx, ebx
test eax, eax
je 0x44da8f
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push ebx
push str.ErrorControl
push eax
call ecx
test eax, eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x10]
add edi, ebx
mov dword [ebp - 0x1c], 2
xor ebx, ebx
test eax, eax
je 0x44dac0
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push ebx
push str.Start
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x10]
add edi, ebx
xor ebx, ebx
test eax, eax
je 0x44db09
mov edx, dword [ebp + 0xc]
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x44dad1
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp + 0xc]
push 1
push 0
push str.Description
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x10]
add edi, ebx
xor ebx, ebx
test eax, eax
je 0x44db58
mov edx, dword [ebp + 8]
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x44db20
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp + 8]
push 1
push 0
push str.DisplayName
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x10]
add edi, ebx
xor ebx, ebx
test eax, eax
je 0x44dba8
mov edx, dword [ebp + 0x10]
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x44db70
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp + 0x10]
push 1
push 0
push str.Group
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x10]
add edi, ebx
xor ebx, ebx
test eax, eax
je 0x44dbf5
mov edx, dword [ebp - 0x18]
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x44dbc0
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x18]
push 1
push 0
push str.ImagePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove ebx, eax
add edi, ebx
push edi
push str.SetServicesInfo_return:_d
call fcn.0040ff00
push eax
call fcn.00410290
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44dc1b
push eax
call ebx
mov dword [ebp - 0x10], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44dc41
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3