Function at 0x446c72
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x1c
call fcn.0045c3dc
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447210
and eax, 1
xor eax, 1
test eax, eax
je 0x446cd0
mov eax, 0
jmp 0x4471fc
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 6
mov ebx, 0xc8
call fcn.0045d260
add esp, 0x4c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push 0
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x446d63
push 0x9c
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x446d7a
mov eax, 0
jmp 0x4471fc
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 9
mov ebx, 0xc8
call fcn.0045d260
add esp, 0x70
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x446e2f
push 0x16e
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x446e72
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446e68
push 0x20a
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov eax, 0
jmp 0x4471fc
mov dword [ebp - 0x14], esp
push dword [ebp - 0xc]
push 4
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446ea6
push 0x261
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x446f2f
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 4
jne 0x446f2a
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446ef4
push 0x2d5
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446f20
push 0x2ef
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov eax, 1
jmp 0x4471fc
jmp 0x447074
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446f58
push 0x359
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x426
je 0x446fcf
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446f94
push 0x377
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x446fc0
push 0x391
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov eax, 0
jmp 0x4471fc
mov dword [ebp - 0x14], esp
push 0
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x447005
push 0x3e6
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x447074
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x44703e
push 0x41d
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x44706a
push 0x437
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov eax, 0
jmp 0x4471fc
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xa
jg 0x447173
mov dword [ebp - 0x14], esp
push dword [ebp - 0xc]
push 4
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4470bf
push 0x4d7
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x447133
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4470f8
push 0x50c
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x447124
push 0x526
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov eax, 0
jmp 0x4471fc
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 4
jne 0x44714d
jmp 0x447173
push 0x80000301
push 0
push 0xfa0
push 1
mov ebx, 0x67c
call fcn.00460590
add esp, 0x10
pop ebx
pop ecx
inc ecx
jmp 0x44707e
add esp, 8
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4471a2
push 0x603
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4471ce
push 0x61d
push 0x4028516
push 6
call fcn.0045c3d0
add esp, 0xc
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 4
jne 0x4471f2
mov eax, 1
jmp 0x4471fc
mov eax, 0
jmp 0x4471fc
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8