Function at 0x10056730
Capabilities:
Delete service
Get common file path
Stop service

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090dff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f8
mov eax, dword [0x100ab080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10054970
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1005679d
call dword [0x101250b4]
test al, al
je 0x100567cf
call dword [0x101250b0]
cmp eax, 3
jg 0x100567cf
push 0x1009ca90
push 3
push 0x3c
jmp 0x100567c1
call eax
test al, al
jne 0x100567cf
call dword [0x101250b4]
test al, al
je 0x100567cf
call dword [0x101250b0]
cmp eax, 3
jg 0x100567cf
push 0x1009cac8
push 3
push 0x42
push str.CDriverHelp.cpp
call dword [0x101250b8]
add esp, 0x10
call fcn.10028f00
lea ecx, [ebp - 0x280]
lea edx, [eax + 0x244]
call fcn.1001bc10
push 0xf003f
push 0
push 0
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x304], eax
test eax, eax
je 0x10056861
cmp dword [esi + 0x14], 7
jbe 0x10056808
mov esi, dword [esi]
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10056855
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x2b4]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x10056847
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 2
jl 0x10056820
jmp 0x1005684e
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x304]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x26c]
cmp ecx, 7
jbe 0x100568a1
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056897
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005715d
push ecx
push edx
call fcn.100666c9
add esp, 8
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10068810
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x24
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100568d5
xor al, al
jmp 0x1005713f
mov byte [ebp - 0x2fd], 0
call fcn.10028f00
lea ecx, [ebp - 0x2b0]
lea edx, [eax + 0x244]
call fcn.1001bc10
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056922
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.10003c90
push 0x12
push str._system32drivers_
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.1001d490
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x304]
lea ecx, [ebp - 0x238]
call fcn.10026800
push 4
push str..sys
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 3
call fcn.1001d490
mov dword [ebp - 0x288], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x10056a43
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056a39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057162
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x26c]
cmp ecx, 7
jbe 0x10056aa4
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056a9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057162
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x10056ae8
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056ade
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057162
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x29c]
cmp ecx, 7
jbe 0x10056b49
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056b3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057162
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
call fcn.10028f00
lea ecx, [ebp - 0x280]
lea edx, [eax + 0x244]
call fcn.1001bc10
mov esi, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x220]
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2cc], xmm0
mov dword [ebp - 0x2b8], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056bb0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2cc]
call fcn.10003c90
push 1
push 0x1009b8c4
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0xa
call fcn.1001d490
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x304]
lea ecx, [ebp - 0x2fc]
call fcn.10026800
push 4
push str..sys
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.1001d490
mov dword [ebp - 0x258], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x10056cd1
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056cc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057167
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x29c]
cmp ecx, 7
jbe 0x10056d32
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056d28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057167
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2b8]
cmp ecx, 7
jbe 0x10056d76
mov edx, dword [ebp - 0x2cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056d6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057167
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x26c]
cmp ecx, 7
jbe 0x10056dd7
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056dcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057167
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x270], 0
cmp dword [ebp - 0x284], 7
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x298]
cmova eax, dword [ebp - 0x298]
push 0
push eax
mov dword [ebp - 0x26c], 7
call fcn.10076b76
add esp, 8
test eax, eax
je 0x10056e20
cmp eax, 0xd
je 0x10056e20
xor al, al
jmp 0x10056e22
mov al, 1
test al, al
je 0x10056f4e
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x1009e474
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
call fcn.10003c90
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
xor eax, eax
mov dword [ebp - 0x23c], 7
movups xmmword [ebp - 0x250], xmm0
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x13
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x298]
call fcn.100228d0
add esp, 4
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x23c]
test eax, eax
sete byte [ebp - 0x2fd]
cmp ecx, 7
jbe 0x10056eed
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056ee3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005716c
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 7
jbe 0x10056f4e
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10056f44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005716c
push ecx
push edx
call fcn.100666c9
add esp, 8
cmp dword [ebp - 0x254], 7
lea eax, [ebp - 0x268]
push 0
cmova eax, dword [ebp - 0x268]
push eax
call fcn.10076b76
add esp, 8
test eax, eax
je 0x10056f7a
cmp eax, 0xd
je 0x10056f7a
xor al, al
jmp 0x10056f7c
mov al, 1
test al, al
je 0x100570a0
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x1009e474
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
call fcn.10003c90
xorps xmm0, xmm0
mov dword [ebp - 0x2d4], 0
xor eax, eax
mov dword [ebp - 0x2d0], 7
movups xmmword [ebp - 0x2e4], xmm0
mov word [ebp - 0x2e4], ax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x268]
call fcn.100228d0
mov ecx, dword [ebp - 0x2d0]
add esp, 4
test eax, eax
sete byte [ebp - 0x2fd]
cmp ecx, 7
jbe 0x10057043
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10057039
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057171
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
cmp ecx, 7
jbe 0x100570a0
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10057096
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057171
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x100570e0
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100570d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057176
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x284]
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp ecx, 7
jbe 0x10057139
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005712f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057176
push ecx
push edx
call fcn.100666c9
add esp, 8
mov al, byte [ebp - 0x2fd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006636c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
int3