Function at 0x1001187e
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a82d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100118bb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0
call fcn.1001dcca
pop ecx
pop ecx
jmp 0x10011ad8
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x100118eb
push 0x235e
push 0x1db9
push 0x2388
call dword [sym.imp.USER32.dll_SetClassLongA]
jmp 0x10011ad8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10011926
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6c6
push 0xd6d
push 0x777
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 0x40], 0x230f
cmp dword [ebp - 0x40], 0xc25
jge 0x10011ad8
lea eax, [ebp - 0x14]
push eax
push 0x100077f8
call fcn.100513ab
pop ecx
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000e513
and dword [ebp - 4], 0
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x70]
call fcn.1000e513
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
jmp 0x1001198c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x100119ae
push dword [ebp - 0x18]
lea ecx, [ebp - 0x7c]
call fcn.1000e49e
push eax
push 0x100077f8
call fcn.100513ab
pop ecx
pop ecx
jmp 0x10011985
mov dword [ebp - 0x1c], 1
jmp 0x100119be
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jg 0x100119e0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x70]
call fcn.1000e49e
push eax
push 0x100077f8
call fcn.100513ab
pop ecx
pop ecx
jmp 0x100119b7
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x8c]
call fcn.1002f7c4
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 1
jmp 0x10011a13
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jg 0x10011aa6
and dword [ebp - 0x28], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
call fcn.1000e49e
push dword [eax]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.1002f845
mov ecx, eax
call fcn.1002f889
movzx eax, al
test eax, eax
je 0x10011a92
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x7c]
call fcn.1000e49e
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x8c]
call fcn.1002f845
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
push 0
mov ecx, dword [ebp - 0x54]
call fcn.1002f864
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10011a23
push dword [ebp - 0x28]
push 0x100078c0
call fcn.100515a0
pop ecx
pop ecx
jmp 0x10011a0c
push 0x10007760
call fcn.1005170c
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.1002f825
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.1000e47c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1000e47c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret