Function at 0x100028d3
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.10003642
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 0x100e5274
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x10002933
mov eax, 0
jmp 0x10002e82
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10002e96
and eax, 1
xor eax, 1
test eax, eax
je 0x10002956
mov eax, 0
jmp 0x10002e82
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.10003a20
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 0x100029e9
push 0xe7
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002a00
mov eax, 0
jmp 0x10002e82
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.10003a20
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 0x10002ab5
push 0x1b9
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10002af8
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 0x10002aee
push 0x255
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x10002e82
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 0x10002b2c
push 0x2ac
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10002bb5
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 4
jne 0x10002bb0
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 0x10002b7a
push 0x320
push 0x4012fd3
push 6
call fcn.10003648
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 0x10002ba6
push 0x33a
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov eax, 1
jmp 0x10002e82
jmp 0x10002cfa
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10002bde
push 0x3ca
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x426
je 0x10002c55
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 0x10002c1a
push 0x3e8
push 0x4012fd3
push 6
call fcn.10003648
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 0x10002c46
push 0x402
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x10002e82
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 0x10002c8b
push 0x457
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10002cfa
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 0x10002cc4
push 0x48e
push 0x4012fd3
push 6
call fcn.10003648
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 0x10002cf0
push 0x4a8
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x10002e82
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xa
jg 0x10002df9
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 0x10002d45
push 0x548
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10002db9
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 0x10002d7e
push 0x57d
push 0x4012fd3
push 6
call fcn.10003648
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 0x10002daa
push 0x597
push 0x4012fd3
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x10002e82
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 4
jne 0x10002dd3
jmp 0x10002df9
push 0x80000301
push 0
push 0xfa0
push 1
mov ebx, 0x67c
call fcn.10004520
add esp, 0x10
pop ebx
pop ecx
inc ecx
jmp 0x10002d04
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 0x10002e28
push 0x69a
push 0x4012fd3
push 6
call fcn.10003648
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 0x10002e54
push 0x6b4
push 0x4012fd3
push 6
call fcn.10003648
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 0x10002e78
mov eax, 1
jmp 0x10002e82
mov eax, 0
jmp 0x10002e82
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1000363c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8