Function at 0x100013d9
Capabilities:
Delete service
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x228
lea eax, [esp + 0x88]
lea ecx, [esp + 0x200]
lea edx, [esp + 0x218]
mov esi, esp
mov dword [esi + 0x20], 0xd96
mov dword [esi + 0x1c], 0xa75
mov dword [esi + 0x18], 0xf8d
mov dword [esi + 0x14], 0xa28
mov dword [esi + 0x10], 0xa28
mov dword [esi + 0xc], 0x23c
mov dword [esi + 8], 0x1e2
mov dword [esi + 4], 0xf8d
mov dword [esi], 0xde6185
mov esi, dword [sym.imp.GDI32.dll_ArcTo]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
call esi
sub esp, 0x24
mov ecx, esp
mov dword [ecx + 4], 0xb9b
mov dword [ecx], 0x75d1e8
mov ecx, dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x90]
lea esi, [esp + 0xa8]
lea edi, [esp + 0x1f0]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ecx
jmp 0x10001578
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0xbd
mov dword [esp + 0x54], eax
je 0x10001710
jmp 0x10001578
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov ecx, esp
mov edx, dword [esp + 0x6c]
mov dword [ecx + 8], edx
mov dword [ecx], eax
mov dword [ecx + 0xc], 0xcdb
mov dword [ecx + 4], 0x995
mov ecx, dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x78]
mov dword [ecx], edx
mov dword [ecx + 0x10], 0x999
mov dword [ecx + 0xc], 0xd1d
mov dword [ecx + 8], 0xf92
mov dword [ecx + 4], 0xeec
mov ecx, dword [sym.imp.USER32.dll_SetRect]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 4], 0xcca
mov dword [ecx], 0xc58970
mov ecx, dword [sym.imp.GDI32.dll_SetTextCharacterExtra]
mov dword [esp + 0x48], eax
call ecx
sub esp, 8
mov dword [esp + 0x44], eax
jmp 0x100016f5
mov eax, dword [esp + 0x54]
mov dword [esp + 0x224], 0xd82010
mov dword [esp + 0x21c], 0
mov dword [esp + 0x218], 0
mov dword [esp + 0x204], 0
mov dword [esp + 0x200], 0
mov ecx, esp
lea edx, [esp + 0x224]
mov dword [ecx + 0x20], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 0x1c], edx
lea esi, [esp + 0x208]
mov dword [ecx + 0x14], esi
mov esi, dword [esp + 0x70]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x18], 0xe35
mov dword [ecx + 0x10], 0x7e9
mov dword [ecx + 8], 0xc14
mov dword [ecx + 4], 0xc38
mov dword [ecx], 0xd82010
mov ecx, dword [sym.imp.ADVAPI32.dll_CreateRestrictedToken]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0x24
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [esp + 0x1ec], 0x1a7
mov edx, esp
lea esi, [esp + 0x1ec]
mov dword [edx + 0x14], esi
lea esi, [esp + 0x1f0]
mov dword [edx + 0x10], esi
mov dword [edx + 8], esi
mov dword [edx + 0xc], 0xa2e
mov dword [edx + 4], 0xb70
mov dword [edx], 0xc18d2b
mov edx, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [esp + 0x40], eax
call edx
sub esp, 0x18
mov byte [esp + 0x1eb], 6
mov ecx, esp
lea edx, [esp + 0x1eb]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_SetKeyboardState]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 4
mov ecx, esp
mov edx, dword [esp + 0x60]
mov dword [ecx], edx
mov dword [ecx + 8], 0x140
mov dword [ecx + 4], 0
mov dword [esp + 0x38], eax
call fcn.1017f120
mov eax, esp
lea ecx, [esp + 0xa8]
mov dword [eax + 4], ecx
mov dword [eax], 0xca26b
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
call eax
sub esp, 8
mov ecx, dword [esp + 0x50]
sub ecx, 0x59
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
je 0x100014be
jmp 0x100016e2
mov eax, dword [esp + 0x50]
sub eax, 9
mov dword [esp + 0x2c], eax
jne 0x100014a1
jmp 0x100016f5
mov eax, esp
mov dword [eax], 0x8f4e9e
mov eax, dword [sym.imp.ADVAPI32.dll_DeleteService]
call eax
sub esp, 4
mov dword [esp + 0x28], eax
jmp 0x100014a1
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret