Function at 0x10009e60
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
sub esp, 0x8c
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
sub esp, 0x1c
mov dword [esp + 0x30], esp
mov ecx, esp
xor ebx, ebx
push ebx
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x10077eb2
mov byte [ecx + 4], bl
call fcn.10002650
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x10077eb2
mov byte [ecx + 4], bl
call fcn.10002650
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x16
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.SoftwareTaoTaoSouTTK
mov byte [ecx + 4], bl
call fcn.10002650
lea edi, [esp + 0xd0]
call fcn.10009400
add esp, 0x54
cmp dword [esp + 0x90], ebx
jne 0x10009f13
cmp dword [esp + 0x94], 0x10
jb 0x10009f09
mov eax, dword [esp + 0x80]
push eax
call fcn.1003efae
add esp, 4
mov eax, 1
jmp 0x1000a141
push ebp
push str.TTSService.exe
lea eax, [esp + 0x84]
call fcn.100019a0
push 0xf003f
push ebx
push ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
jne 0x10009f91
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x10009f62
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1003efae
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x10009f09
mov edx, dword [esp + 0x80]
push edx
call fcn.1003efae
add esp, 4
mov eax, 1
jmp 0x1000a141
cmp dword [esp + 0x94], 0x10
mov eax, dword [esp + 0x80]
jae 0x10009fa9
lea eax, [esp + 0x80]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.TaoTaoSou_Update_Service
push str.TtsSvczzl
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
cmp esi, ebx
jne 0x1000a01c
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x10009fe9
mov eax, dword [esp + 0x64]
push eax
call fcn.1003efae
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x10009f09
mov ecx, dword [esp + 0x80]
push ecx
call fcn.1003efae
add esp, 4
mov eax, 1
jmp 0x1000a141
lea edx, [esp + 0x14]
push edx
push 1
push esi
mov dword [esp + 0x20], 0x10077f04
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [esp + 0x18]
call fcn.10009df0
cmp dword [eax + 0x18], 8
jb 0x1000a05d
mov ebp, dword [eax + 4]
jmp 0x1000a060
lea ebp, [eax + 4]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x2c], esp
push 0x13
lea edi, [esp + 0x54]
lea ecx, [esp + 0x64]
call fcn.10009680
xor ecx, ecx
mov edx, eax
call fcn.1000a1f0
sub esp, 0x1c
mov edx, str.TimeOfInsSvc
mov eax, esp
mov dword [esp + 0x48], esp
call fcn.10008620
sub esp, 0x1c
mov edx, 0x10077f60
mov eax, esp
mov dword [esp + 0x64], esp
call fcn.10008620
sub esp, 0x1c
mov edx, ebp
mov eax, esp
mov dword [esp + 0x80], esp
call fcn.10008620
call fcn.10009720
mov esi, 8
add esp, 0x70
cmp dword [esp + 0x30], esi
jb 0x1000a0da
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1003efae
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x1000a0fe
mov edx, dword [esp + 0x48]
push edx
call fcn.1003efae
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x1000a116
mov eax, dword [esp + 0x64]
push eax
call fcn.1003efae
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x1000a13f
mov ecx, dword [esp + 0x80]
push ecx
call fcn.1003efae
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10048e2f
add esp, 0x8c
ret