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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x840
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x14]
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
jne 0x44e17f
mov eax, dword [ebx + 0x3c]
lea ecx, [ebp - 0x34]
push 0x53bb38
push ecx
mov dword [ebp - 0x34], eax
call fcn.00421674
push eax
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
cmp eax, esi
mov dword [ebp - 0x2c], eax
jne 0x44e1a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x30]
push 0x53bb38
push edx
mov dword [ebp - 0x30], eax
call fcn.00421674
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x44a]
mov word [ebp - 0x44c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x44c]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x84a]
mov word [ebp - 0x84c], si
rep stosd dword es:[edi], eax
push 0x51f48c
lea ecx, [ebp - 0x14]
stosw word es:[edi], ax
call fcn.004393d0
mov ecx, dword [eax]
lea edx, [ebp - 0x44c]
push ecx
push edx
lea eax, [ebp - 0x84c]
push str.__s___s
push eax
call fcn.00421140
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00439d50
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx - 8]
mov dword [ebp - 0x14], eax
lea esi, [eax + eax + 4]
push esi
call fcn.004fed42
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
add esp, 4
and ecx, 3
mov dword [ebp - 0x18], edx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx + 0xc]
mov edi, edx
push 0
lea ecx, [eax + eax]
push 0
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
lea edx, [ebp - 0x84c]
push 0
push edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push 1
lea edi, [ebx + 4]
push 2
push 0x10
push 0xf01ff
push eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x24], esi
push ecx
call fcn.004fed6b
add esp, 4
test esi, esi
jne 0x44e2bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x38]
push 0x53bb38
push edx
mov dword [ebp - 0x38], eax
call fcn.00421674
push 0x54c5c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ChangeServiceConfig2W
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44e2e9
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push esi
call eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
lea ecx, [ebp - 0x20]
call fcn.004394e0
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0043a9f0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
xor edi, edi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x44e3ad
mov word [ebp - 0x244], di
mov ecx, 0x81
lea edi, [ebp - 0x242]
lea edx, [ebp - 0x244]
rep stosd dword es:[edi], eax
push 0x103
push edx
push 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x244]
push eax
call fcn.00421123
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x244]
push ecx
push edx
push 1
push 0
push str.EventMessageFile
push eax
call edi
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push 0
push str.TypesSupported
push edx
mov dword [ebp - 0x18], 7
call edi
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x40], 0
mov byte [ebp - 4], 0
call fcn.00439d50
jmp 0x44e3d7
test esi, esi
je 0x44e3e2
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x44e3f0
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov ecx, dword [ebx + 0x40]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
sete al
pop ebx
mov esp, ebp
pop ebp
ret