Function at 0x10002e96
Capabilities:
Create service
Persist via windows service
Stop 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 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 0x10002f64
push 0x3d
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002f7b
mov eax, 0
jmp 0x1000349d
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 0x10003030
push 0x10f
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10003311
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 0x10003071
push 0x1cf
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100032af
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 1
je 0x100032af
mov dword [ebp - 0x14], esp
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100030c7
push 0x267
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10003136
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 0x10003100
push 0x29c
push 0x4010096
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 0x1000312c
push 0x2b6
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x1000349d
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xa
jg 0x10003235
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 0x10003181
push 0x37a
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100031f5
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 0x100031ba
push 0x3af
push 0x4010096
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 0x100031e6
push 0x3c9
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov eax, 1
jmp 0x1000349d
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 1
jne 0x1000320f
jmp 0x10003235
push 0x80000301
push 0
push 0xfa0
push 1
mov ebx, 0x67c
call fcn.10004520
add esp, 0x10
pop ebx
pop ecx
inc ecx
jmp 0x10003140
add esp, 8
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 1
je 0x100032af
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 0x10003279
push 0x4e5
push 0x4010096
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 0x100032a5
push 0x4ff
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x1000349d
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 0x100032db
push 0x55b
push 0x4010096
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 0x10003307
push 0x575
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov eax, 1
jmp 0x1000349d
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 0
push 0
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 1
push 3
push 1
push dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100033f8
push 0x5e7
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000343b
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 0x10003431
push 0x6d2
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov eax, 0
jmp 0x1000349d
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 0x10003467
push 0x704
push 0x4010096
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 0x10003493
push 0x71e
push 0x4010096
push 6
call fcn.10003648
add esp, 0xc
mov eax, 1
jmp 0x1000349d
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1000363c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8