Function at 0x435070
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6090
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x50f52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push ebx
xor eax, eax
mov esi, 7
push 0x4e25d8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.00401860
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x50]
push str.Staring_service:
push ecx
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.00419d40
mov byte [ebp - 4], bl
cmp dword [ebp - 0x38], 8
jb 0x4350f6
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 8
jb 0x43511b
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b29fa
add esp, 4
push 0xf003f
push ebx
xor eax, eax
push ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
xor ecx, ecx
push esi
mov dword [ebp - 0x14], eax
push str.SERVICE
cmp eax, ebx
je 0x4353d5
mov word [ebp - 0x4c], cx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
call fcn.00401860
mov dword [ebp - 4], 2
push 0x24
xor edx, edx
push str.Successfully_opened_service_manager.
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.00401860
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
jb 0x4351a2
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x4351c7
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b29fa
add esp, 4
mov eax, dword [ebp - 0x14]
push 0xf003f
push str.msiserver
xor edx, edx
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x18], eax
push str.SERVICE
lea ecx, [ebp - 0x50]
cmp eax, ebx
je 0x43534b
call fcn.004019e0
mov dword [ebp - 4], 4
push edi
lea ecx, [ebp - 0x34]
push str.Successfully_opened
push ecx
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 5
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.00419d40
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 8
jb 0x43523c
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x435261
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b29fa
add esp, 4
push ebx
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x18]
push ebx
xor eax, eax
push esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push str.SERVICE
lea ecx, [ebp - 0x50]
test eax, eax
je 0x4352e9
call fcn.004019e0
mov ebx, 6
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x34]
push str.Successfully_started
push ecx
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 7
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.00419d40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00490320
push esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x435469
call fcn.004019e0
mov dword [ebp - 4], 8
push edi
lea eax, [ebp - 0x34]
push str.Failed_to_start
push eax
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00490320
call fcn.0041a730
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x435469
call fcn.004019e0
mov dword [ebp - 4], 0xa
push edi
lea edx, [ebp - 0x34]
push str.Failed_to_open
push edx
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 0xa
mov edi, 8
cmp dword [ebp - 0x1c], edi
jb 0x435391
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], edi
jb 0x4353b5
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.0041a730
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x435469
mov word [ebp - 0x30], cx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
call fcn.00401860
mov dword [ebp - 4], 0xc
push 0x1f
xor edx, edx
push str.Failed_to_open_service_manager.
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.00401860
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0xc
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x435434
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x435458
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.0041a730
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret