Function at 0x100118c0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026511
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100370a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 1
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, 0x1002e323
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x10011943
mov ecx, eax
movzx ebx, cx
push ebx
call fcn.10003db0
add esp, 4
test eax, eax
je 0x1001194f
push eax
mov eax, ebx
call fcn.10003970
jmp 0x1001194f
mov ebx, 0x1002e323
mov eax, edi
call fcn.10003450
mov byte [ebp - 4], 1
push 0x5374
mov dword [ebp - 0x54], 1
call fcn.1000eac0
push eax
call fcn.10012830
add esp, 4
cmp eax, 1
sete al
test al, al
je 0x10011986
mov ecx, 0x1002e808
mov esi, edi
call fcn.1000e440
mov esi, dword [ebp - 0x48]
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x10011a22
push ecx
mov ecx, esp
add eax, 0x2c
mov dword [ebp - 0x4c], esp
push eax
push ecx
mov ebx, 0x1002e818
call fcn.10004f30
add esp, 8
call fcn.1000e670
mov edx, dword [esi]
add esp, 4
add edx, 0xb8
push edx
lea eax, [ebp - 0x48]
push eax
mov ebx, 0x1002e820
call fcn.10004f30
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x100119f6
xor eax, eax
lea ecx, [ebp - 0x48]
call fcn.10004100
mov edx, dword [ebp - 0x48]
push edx
call fcn.10012830
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [ebp + 8], eax
setne al
test eax, eax
jne 0x10011a38
push 0x80004005
call fcn.100040a0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
push ecx
sub eax, 0x10
mov dword [ebp - 0x4c], esp
mov edi, esp
call fcn.10003730
add eax, 0x10
mov dword [edi], eax
call fcn.1000e710
mov edi, dword [esi]
mov eax, dword [edi + 0x24]
add edi, 0x24
add esp, 4
cmp dword [eax - 4], 1
jle 0x10011a81
mov ecx, dword [eax - 0xc]
push ecx
push edi
call fcn.10004010
mov edi, dword [edi]
push 0x10020
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10011a9d
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push ebx
call edi
mov edx, dword [esi]
push edx
lea edi, [ebp - 0x4c]
call fcn.1000a670
mov byte [ebp - 4], 4
mov ecx, dword [esi]
add ecx, 0xb4
push ecx
lea edx, [ebp - 0x48]
push edx
mov ebx, eax
call fcn.100032a0
add esp, 8
mov esi, eax
push 0x5311
mov byte [ebp - 4], 5
call fcn.1000eac0
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push esi
push ecx
mov ebx, eax
call fcn.10004f30
add esp, 8
mov ebx, 0xa
call fcn.10012080
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10011b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011b48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x14
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
xor ebx, ebx
mov eax, 4
push 0x4b
lea ecx, [ebp - 0x44]
push ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], 0x14
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011bb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10013396
mov esp, ebp
pop ebp
ret 4