Function at 0x44a9f0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6c68
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
call fcn.00417ee0
mov dword [ebp - 4], 0
mov esi, esp
push 0xf01ff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x44aaa0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
jmp 0x44abc6
mov esi, esp
lea edx, [ebp - 0x38]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44aafc
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7a
je 0x44aafc
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 2
jmp 0x44abc6
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], ecx
mov esi, esp
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x1c], eax
mov esi, esp
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 2
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44ab4a
cmp dword [ebp - 0x1c], 0
jne 0x44ab65
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
jmp 0x44abc6
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0044ac90
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
push 2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44abbe
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 4
jmp 0x44abc6
xor edx, edx
jne 0x44aa5d
cmp dword [ebp - 0x1c], 0
je 0x44abe6
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x44ac06
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403050
push edx
mov ecx, ebp
push eax
lea edx, [0x44ac44]
call fcn.004c39f9
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 0x10