Function at 0x4464c0
Capabilities:
Compare security identifiers

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 0x55521f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x238
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xfc], edi
push 0xc0000000
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x44668a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x1e]
nop dword [eax + eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x446540
push ecx
lea eax, [ebp - 0x1e]
push eax
push edi
lea ecx, [ebp - 0x1a0]
call fcn.00431c60
push 0x19
push str.Fail_to_open_sc_manager:
push ecx
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 1
call fcn.00442db0
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x1a0]
call fcn.004196c0
push 0x5f6004
call fcn.004f3b86
mov eax, dword [0x5f977c]
add esp, 4
mov dword [ebp - 0x100], eax
test eax, eax
je 0x446606
lock inc dword [eax + 4]
mov eax, dword [0x5f977c]
mov dword [ebp - 0x100], eax
mov edi, dword [0x5f9778]
push 0x5f6004
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], eax
call fcn.004f3ba2
add esp, 4
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [edi]
cmp dword [ebp - 0xb4], 8
mov edx, dword [eax]
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
call edx
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x446671
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x446671
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x100]
lock xadd dword [ecx + 8], edi
dec edi
jne 0x446671
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0xc8]
call fcn.004196c0
test esi, esi
je 0x44740f
push esi
jmp 0x447409
mov ecx, edi
mov dword [ebp - 0x114], 0
xorps xmm0, xmm0
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x124], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4466b0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x124]
call fcn.00419cf0
lea edx, [ebp - 0x124]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d0]
call fcn.00446300
push 9
push str.Enabling
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00442db0
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x154], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x144], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x154]
push 0xb
push str._protection
mov byte [ebp - 4], 7
call fcn.0041ff00
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x154]
call fcn.004196c0
lea ecx, [ebp - 0x1d0]
call fcn.004196c0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x110]
cmp ecx, 0x10
jb 0x4467e8
mov edx, dword [ebp - 0x124]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4467de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44742f
push ecx
push edx
call fcn.0050a4c5
add esp, 8
push 0x5f6004
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
call fcn.004f3b86
mov eax, dword [0x5f977c]
add esp, 4
mov dword [ebp - 0x100], eax
test eax, eax
je 0x44682e
lock inc dword [eax + 4]
mov eax, dword [0x5f977c]
mov dword [ebp - 0x100], eax
mov edi, dword [0x5f9778]
push 0x5f6004
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], eax
call fcn.004f3ba2
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, edi
mov eax, dword [edi]
cmp dword [ebp - 0x9c], 8
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push eax
call edx
mov ecx, dword [ebp - 0x100]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x44689f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x44689f
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x100]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x44689f
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0xfc]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4468c8
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.00419cf0
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e8]
call fcn.00446300
cmp dword [eax + 0x14], 8
jb 0x4468fb
mov eax, dword [eax]
push 0x60000
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x7c], edi
lea ecx, [ebp - 0x1e8]
call fcn.004196c0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x128]
cmp ecx, 0x10
jb 0x446956
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44694c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447434
push ecx
push edx
call fcn.0050a4c5
add esp, 8
mov dword [ebp - 0x12c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
test edi, edi
jne 0x446b49
mov edx, dword [ebp - 0xfc]
mov ecx, edx
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x158], edi
lea eax, [ecx + 1]
mov dword [ebp - 0xfc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4469a0
sub ecx, dword [ebp - 0xfc]
push ecx
push edx
lea ecx, [ebp - 0x16c]
call fcn.00419cf0
lea edx, [ebp - 0x16c]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x64]
call fcn.00446300
push 0x16
push str.Fail_to_open_service:
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00442db0
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd0], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x64]
call fcn.004196c0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x158]
cmp ecx, 0x10
jb 0x446a6d
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x446a63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447439
push ecx
push edx
call fcn.0050a4c5
add esp, 8
push 0x5f6004
call fcn.004f3b86
mov ecx, dword [0x5f977c]
add esp, 4
mov dword [ebp - 0x100], ecx
test ecx, ecx
je 0x446a9a
lock inc dword [ecx + 4]
mov ecx, dword [0x5f977c]
mov dword [ebp - 0x100], ecx
mov eax, dword [0x5f9778]
push 0x5f6004
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
call fcn.004f3ba2
add esp, 4
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0xcc], 8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xe0]
cmovae eax, dword [ebp - 0xe0]
push eax
call edx
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x446b16
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x446b16
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x100]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x446b16
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0xe0]
call fcn.004196c0
test edi, edi
je 0x446b2c
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0xb0]
call fcn.004196c0
test esi, esi
je 0x446b42
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x447411
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x40], vtable.ATL::CDacl.0
movups xmmword [ebp - 0x30], xmm0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x17
push eax
mov ecx, edi
call fcn.00446130
add esp, 4
test al, al
jne 0x446d57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea eax, [ebp - 0x4a]
nop dword [eax]
nop word [eax + eax]
sub eax, 2
mov dword [ebp - 0xfc], eax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov eax, dword [ebp - 0xfc]
add ecx, 0x30
mov word [eax], cx
mov ecx, edx
test ecx, ecx
jne 0x446ba0
push ecx
lea ecx, [ebp - 0x4a]
push ecx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00431c60
push 0x13
push 0x5cc148
push ecx
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x18
call fcn.00442db0
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x1b8]
call fcn.004196c0
push 0x5f6004
call fcn.004f3b86
mov ecx, dword [0x5f977c]
add esp, 4
mov dword [ebp - 0x100], ecx
test ecx, ecx
je 0x446c74
lock inc dword [ecx + 4]
mov ecx, dword [0x5f977c]
mov dword [ebp - 0x100], ecx
mov eax, dword [0x5f9778]
push 0x5f6004
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
call fcn.004f3ba2
add esp, 4
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0xe4], 8
mov eax, dword [ecx]
mov edx, dword [eax]
lea eax, [ebp - 0xf8]
cmovae eax, dword [ebp - 0xf8]
push eax
call edx
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x446cef
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x446cef
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x100]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x446cef
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0xf8]
call fcn.004196c0
mov dword [ebp - 0x40], vtable.ATL::CDacl.0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x4471b0
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0xfc], eax
test edx, edx
je 0x4471a0
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x446d3d
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + eax*4], 0
inc eax
mov dword [ebp - 0xfc], eax
cmp eax, edx
jb 0x446d25
jmp 0x44719d
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x248]
push 0x5cc348
push eax
call fcn.00444df0
add esp, 0x14
mov byte [ebp - 4], 0x1d
cmp byte [ebp - 0x200], 0
je 0x44743e
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x44743e
cmp byte [ebp - 0x38], 0
jne 0x446e7c
xor al, al
xor ecx, ecx
mov byte [ebp - 0x101], al
mov dword [ebp - 0x100], ecx
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x100]
cmp ecx, eax
jae 0x446e61
mov eax, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x40]
mov eax, dword [eax + 0x10]
call eax
mov dword [ebp - 0xfc], eax
add eax, 8
je 0x446e56
cmp byte [ebp - 0x200], 0
je 0x446e56
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x446e56
mov ecx, dword [ebp - 0xfc]
cmp byte [ecx + 0x4c], 0
je 0x446e56
lea eax, [ecx + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x446e56
mov eax, dword [ebp - 0xfc]
add eax, 8
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
test al, al
je 0x446e56
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x40]
mov eax, dword [eax + 0xc]
call eax
mov byte [ebp - 0x101], 1
jmp 0x446db4
inc dword [ebp - 0x100]
jmp 0x446db4
cmp byte [ebp - 0x101], 0
je 0x446e7c
push dword [ebp - 0x3c]
call fcn.00522a90
add esp, 4
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x17
call fcn.00444fa0
push ecx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004461c0
add esp, 8
test al, al
je 0x446fdf
push 0x5f6004
call fcn.004f3b86
mov ecx, dword [0x5f977c]
add esp, 4
mov dword [ebp - 0x100], ecx
test ecx, ecx
je 0x446ecf
lock inc dword [ecx + 4]
mov ecx, dword [0x5f977c]
mov dword [ebp - 0x100], ecx
mov eax, dword [0x5f9778]
push 0x5f6004
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
call fcn.004f3ba2
add esp, 4
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0xfc]
push str.Service_dacl_was_modified_successfully.
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x446f3b
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x446f3b
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x100]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x446f3b
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x40], vtable.ATL::CDacl.0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x446fa0
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0xfc], eax
test edx, edx
je 0x446f90
nop
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x446f78
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + eax*4], 0
inc eax
mov dword [ebp - 0xfc], eax
cmp eax, edx
jb 0x446f60
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00522a90
add esp, 4
mov dword [ebp - 0x30], 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00522a90
add esp, 4
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x30]
call fcn.00448480
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.ATL::CAcl.0
call fcn.00522a90
add esp, 4
jmp 0x446b21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea eax, [ebp - 0x4a]
nop word [eax + eax]
sub eax, 2
mov dword [ebp - 0xfc], eax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov eax, dword [ebp - 0xfc]
add ecx, 0x30
mov word [eax], cx
mov ecx, edx
test ecx, ecx
jne 0x446ff0
push ecx
lea ecx, [ebp - 0x4a]
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.00431c60
push 0x12
push 0x5cc1c0
push ecx
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x20
call fcn.00442db0
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x188]
call fcn.004196c0
push 0x5f6004
call fcn.004f3b86
mov ecx, dword [0x5f977c]
add esp, 4
mov dword [ebp - 0x100], ecx
test ecx, ecx
je 0x4470c4
lock inc dword [ecx + 4]
mov ecx, dword [0x5f977c]
mov dword [ebp - 0x100], ecx
mov eax, dword [0x5f9778]
push 0x5f6004
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
call fcn.004f3ba2
add esp, 4
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x84], 8
mov eax, dword [ecx]
mov edx, dword [eax]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call edx
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x44713f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x44713f
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x100]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x44713f
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x98]
call fcn.004196c0
mov dword [ebp - 0x40], vtable.ATL::CDacl.0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x4471b0
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0xfc], eax
test edx, edx
je 0x4471a0
nop dword [eax]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x447188
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + eax*4], 0
inc eax
mov dword [ebp - 0xfc], eax
cmp eax, edx
jb 0x447170
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00522a90
add esp, 4
mov dword [ebp - 0x30], 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00522a90
add esp, 4
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x30]
call fcn.00448480
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.ATL::CAcl.0
call fcn.00522a90
add esp, 4
test edi, edi
je 0x4471f5
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0xb0]
call fcn.004196c0
test esi, esi
je 0x44740f
push esi
jmp 0x447409
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00522dda
call fcn.00522dda
call fcn.00522dda
push 0x80070057
call fcn.00425d20
int3