Function at 0x1004149e
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100414cf
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100414ca
push 0
push 0xf70
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x10041682
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jge 0x1004156b
mov dword [ebp - 0x18], 1
jmp 0x1004156f
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jl 0x10041587
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x10041587
and dword [ebp - 0x1c], 0
jmp 0x1004158e
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jg 0x100415ab
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x100415ab
and dword [ebp - 0x20], 0
jmp 0x100415b2
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
je 0x100415d1
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x100415d1
push 0xfffffffffffffff8
pop eax
test eax, eax
jne 0x100415d1
and dword [ebp - 0x24], 0
jmp 0x100415d8
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0xfffffffe
je 0x100415ed
mov eax, 0xfff8
test eax, eax
jne 0x100415ed
and dword [ebp - 0x28], 0
jmp 0x100415f4
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jne 0x10041607
mov dword [ebp - 0x2c], 1
jmp 0x1004160b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jg 0x1004161e
mov dword [ebp - 0x30], 1
jmp 0x10041622
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x10041635
mov dword [ebp - 0x34], 1
jmp 0x10041639
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 1
je 0x10041648
mov dword [ebp - 0x38], 1
jmp 0x1004164c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jge 0x1004165f
mov dword [ebp - 0x40], 1
jmp 0x10041663
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
je 0x10041676
mov dword [ebp - 0x44], 1
jmp 0x1004167a
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret