Function at 0x1002a326
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002a56a
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1002a550
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.1000c1d5
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jg 0x1002a40d
mov dword [ebp - 0x18], 1
jmp 0x1002a411
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jle 0x1002a424
mov dword [ebp - 0x38], 1
jmp 0x1002a428
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
neg eax
cmp eax, dword [ebp - 0x38]
jge 0x1002a43d
mov dword [ebp - 0x20], 1
jmp 0x1002a441
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
sub eax, 0x19c5a413
imul eax, eax, 0x7289
mov dword [ebp - 0x54], eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.1000c1d5
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1002a48d
push 0
mov ecx, dword [ebp - 0x10]
call fcn.1000c1d5
cmp dword [eax], 0
jne 0x1002a48d
and dword [ebp - 0x28], 0
jmp 0x1002a494
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jg 0x1002a4a7
mov dword [ebp - 0xc], 1
jmp 0x1002a4ab
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jge 0x1002a4ce
mov dword [ebp - 0x14], 1
jmp 0x1002a4d2
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
jne 0x1002a4e7
or eax, 0xffffffff
jne 0x1002a4e7
and dword [ebp - 0x1c], 0
jmp 0x1002a4ee
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jge 0x1002a501
mov dword [ebp - 0x24], 1
jmp 0x1002a505
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 1
jae 0x1002a514
mov dword [ebp - 0x2c], 1
jmp 0x1002a518
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jl 0x1002a52b
mov dword [ebp - 0x34], 1
jmp 0x1002a52f
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jne 0x1002a542
mov dword [ebp - 0x3c], 1
jmp 0x1002a546
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x1002a568
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x1002a568
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1002a59f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
push 0x4e74
push dword [ebp - 0x74]
push 0x3cef
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
push 0
call fcn.1003996a
add esp, 0x18
mov esp, ebp
pop ebp
ret