Function at 0x10053c90
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 0x1008db8f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f8
mov eax, dword [0x100a70c0]
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.100516d0
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10053cfd
call dword [0x10121134]
test al, al
je 0x10053d2f
call dword [0x10121130]
cmp eax, 3
jg 0x10053d2f
push 0x10099ae0
push 3
push 0x3c
jmp 0x10053d21
call eax
test al, al
jne 0x10053d2f
call dword [0x10121134]
test al, al
je 0x10053d2f
call dword [0x10121130]
cmp eax, 3
jg 0x10053d2f
push 0x10099b18
push 3
push 0x42
push str.CDriverHelp.cpp
call dword [0x10121138]
add esp, 0x10
call fcn.10028cd0
lea ecx, [ebp - 0x280]
lea edx, [eax + 0x22c]
call fcn.1001b990
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 0x10053dc1
cmp dword [esi + 0x14], 7
jbe 0x10053d68
mov esi, dword [esi]
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10053db5
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 0x10053da7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 2
jl 0x10053d80
jmp 0x10053dae
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 0x10053e01
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10053df7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546a9
push ecx
push edx
call fcn.10063674
add esp, 8
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10065910
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 0x10053e35
xor al, al
jmp 0x1005468b
mov byte [ebp - 0x2fd], 0
call fcn.10028cd0
lea ecx, [ebp - 0x2b0]
lea edx, [eax + 0x22c]
call fcn.1001b990
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 0x10053e82
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.10003c00
push 0x12
push str._system32drivers_
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.1001d220
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.10026590
push 4
push str..sys
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 3
call fcn.1001d220
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 0x10053fa3
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10053f99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546ae
push ecx
push edx
call fcn.10063674
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 0x10054004
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10053ffa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546ae
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x10054048
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005403e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546ae
push ecx
push edx
call fcn.10063674
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 0x100540a9
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005409f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546ae
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
call fcn.10028cd0
lea ecx, [ebp - 0x280]
lea edx, [eax + 0x22c]
call fcn.1001b990
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 0x10054110
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2cc]
call fcn.10003c00
push 1
push 0x10098910
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0xa
call fcn.1001d220
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.10026590
push 4
push str..sys
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.1001d220
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 0x10054231
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054227
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546b3
push ecx
push edx
call fcn.10063674
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 0x10054292
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054288
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546b3
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2b8]
cmp ecx, 7
jbe 0x100542d6
mov edx, dword [ebp - 0x2cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100542cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546b3
push ecx
push edx
call fcn.10063674
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 0x10054337
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005432d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546b3
push ecx
push edx
call fcn.10063674
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.10073c86
add esp, 8
test eax, eax
je 0x10054380
cmp eax, 0xd
jne 0x100544a4
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x1009b1a4
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
call fcn.10003c00
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.10022650
add esp, 4
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x23c]
test eax, eax
sete byte [ebp - 0x2fd]
cmp ecx, 7
jbe 0x10054443
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054439
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546b8
push ecx
push edx
call fcn.10063674
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 0x100544a4
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005449a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546b8
push ecx
push edx
call fcn.10063674
add esp, 8
cmp dword [ebp - 0x254], 7
lea eax, [ebp - 0x268]
push 0
cmova eax, dword [ebp - 0x268]
push eax
call fcn.10073c86
add esp, 8
test eax, eax
je 0x100544d0
cmp eax, 0xd
jne 0x100545ec
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x1009b1a4
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
call fcn.10003c00
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.10022650
mov ecx, dword [ebp - 0x2d0]
add esp, 4
test eax, eax
sete byte [ebp - 0x2fd]
cmp ecx, 7
jbe 0x1005458f
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054585
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546bd
push ecx
push edx
call fcn.10063674
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 0x100545ec
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100545e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546bd
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x1005462c
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054622
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546c2
push ecx
push edx
call fcn.10063674
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 0x10054685
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005467b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100546c2
push ecx
push edx
call fcn.10063674
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.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
int3