Function at 0x1000aee0
Capabilities:
Enumerate services
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000c713
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
mov dl, byte [0x1000f6d4]
push ebx
push esi
mov dword [esp + 0x4c], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x1000f07c]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x27c], ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x171]
mov byte [esp + 0x170], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x9000
mov byte [esp + 0x280], 1
stosb byte es:[edi], al
call dword [0x1000d134]
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x54], esi
jne 0x1000afcf
mov eax, dword [esp + 0xc]
mov edx, dword [0x1000f030]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1000af9d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x1000af9d
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.1000bdea
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x1000f030]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1000afc8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x1000afc8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.1000bdea
add esp, 4
xor eax, eax
jmp 0x1000b3d5
mov ecx, 0x24ff
xor eax, eax
mov edi, esi
push 0xf003f
push ebx
push ebx
rep stosd dword es:[edi], eax
call dword [0x1000d03c]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x5c], edi
je 0x1000b383
lea eax, [esp + 0x64]
push ebp
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push 0x9000
push esi
push 3
push 0x30
push edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x88], ebx
call dword [0x1000d040]
test eax, eax
je 0x1000b37b
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jbe 0x1000b37b
mov ebp, dword [0x1000d1ac]
mov dword [esp + 0x20], esi
mov eax, dword [0x1000f07c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x2b]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], al
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x280], 2
mov esi, dword [ecx]
cmp esi, ebx
jne 0x1000b08d
xor eax, eax
jmp 0x1000b094
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [esp + 0x44]
call fcn.10002de0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push edx
push str.SYSTEMCurrentControlSetServices
push 0x1000f044
push eax
call fcn.10002820
mov ecx, dword [esp + 0x4c]
add esp, 0x10
lea edx, [esp + 0x14]
push ecx
push str.SYSTEMCurrentControlSetServices
push str._s_sParameters
push edx
call fcn.10002820
add esp, 0x10
lea eax, [esp + 0x24]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push str.ServiceDll
mov esi, 1
mov edi, 0x104
push eax
push 0x80000002
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], edi
call ebp
cmp eax, ebx
je 0x1000b14b
lea ecx, [esp + 0x24]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push str.ImagePath
push ecx
push 0x80000002
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], edi
call ebp
cmp eax, ebx
jne 0x1000b14b
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x70]
push edx
lea eax, [ecx + 4]
push eax
call fcn.1000b3f0
lea ecx, [esp + 0x174]
push edi
lea edx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x1000b1ba
lea eax, [esp + 0x174]
test eax, eax
jne 0x1000b172
xor esi, esi
jmp 0x1000b182
lea ecx, [esp + 0x174]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push esi
lea ecx, [esp + 0x3c]
call fcn.10002ea0
test eax, eax
je 0x1000b1e0
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x174]
push esi
lea eax, [esi + 1]
push edx
push eax
push ecx
call fcn.10002720
mov edx, dword [esp + 0x48]
add esp, 0x10
mov dword [edx - 8], esi
mov eax, dword [esp + 0x38]
mov byte [esi + eax], bl
jmp 0x1000b1e0
lea ecx, [esp + 0x70]
test ecx, ecx
jne 0x1000b1c6
xor eax, eax
jmp 0x1000b1d1
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x70]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.10002de0
lea ecx, [esp + 0x38]
call fcn.10008370
mov esi, dword [esp + 0x38]
mov edi, dword [0x1000d11c]
mov dl, byte [esi]
mov byte [esp + 0x1c], dl
mov eax, dword [esp + 0x1c]
and eax, 0xff
push eax
call edi
add esp, 4
test eax, eax
je 0x1000b22f
push esi
call dword [0x1000d1e0]
mov esi, eax
mov cl, byte [esi]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
and edx, 0xff
push edx
call edi
add esp, 4
test eax, eax
jne 0x1000b20c
mov eax, dword [esp + 0x38]
mov edi, dword [eax - 8]
mov ecx, dword [eax - 4]
sub edi, esi
add edi, eax
inc ecx
lea edx, [edi + 1]
cmp ecx, edx
jb 0x1000b255
push edx
push esi
push eax
call dword [0x1000d13c]
mov eax, dword [esp + 0x44]
add esp, 0xc
lea ecx, [esp + 0x38]
mov dword [eax - 8], edi
call fcn.10008370
mov esi, dword [esp + 0x38]
xor edi, edi
cmp byte [esi], bl
je 0x1000b2af
mov al, byte [esi]
mov byte [esp + 0x6c], al
mov ecx, dword [esp + 0x6c]
and ecx, 0xff
push ecx
call dword [0x1000d11c]
add esp, 4
test eax, eax
je 0x1000b291
cmp edi, ebx
jne 0x1000b293
mov edi, esi
jmp 0x1000b293
xor edi, edi
push esi
call dword [0x1000d1e0]
mov esi, eax
cmp byte [esi], bl
jne 0x1000b26b
cmp edi, ebx
je 0x1000b2af
mov byte [edi], bl
mov eax, dword [esp + 0x38]
sub edi, eax
mov dword [eax - 8], edi
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 4
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x1000b32f
lea ecx, [esp + 0x44]
mov byte [esp + 0x280], 8
call fcn.10005d90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 7
call fcn.10002d50
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 6
call fcn.10002d50
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 1
call fcn.10002d50
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc eax
add edx, 0x24
cmp eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], edx
jb 0x1000b04a
jmp 0x1000b373
lea ecx, [esp + 0x44]
mov byte [esp + 0x280], 5
call fcn.10005d90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 4
call fcn.10002d50
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 3
call fcn.10002d50
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 1
call fcn.10002d50
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
push edi
call dword [0x1000d044]
pop ebp
push esi
call dword [0x1000d138]
mov eax, dword [esp + 0x10]
mov edx, dword [0x1000f030]
add esp, 4
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1000b3bc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000b3bc
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.1000bdea
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x27c], 0xffffffff
call fcn.10002d50
mov eax, 1
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x274
ret