Function at 0x55f690
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, 0x57cf24
mov eax, 0x57d1f4
call fcn.00544234
mov dword [ebp - 0x4c], 6
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.005527d4
inc dword [ebp - 0x4c]
lea edx, [ebp - 8]
mov word [ebp - 0x58], 0xc
lea eax, [ebp - 8]
call fcn.005527d4
inc dword [ebp - 0x4c]
lea edx, [ebp + 0x1c]
lea eax, [ebp + 0x1c]
call fcn.005527d4
inc dword [ebp - 0x4c]
lea edx, [ebp + 0x18]
lea eax, [ebp + 0x18]
call fcn.005527d4
inc dword [ebp - 0x4c]
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.005527d4
inc dword [ebp - 0x4c]
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.005527d4
inc dword [ebp - 0x4c]
cmp byte [ebp + 0xc], 1
jne 0x55f71e
mov ebx, 0x110
jmp 0x55f723
mov ebx, 0x10
mov word [ebp - 0x58], 0x18
lea edx, [esi + 0x10]
lea eax, [ebp - 0xc]
call fcn.00552794
inc dword [ebp - 0x4c]
lea edx, [ebp - 0xc]
lea eax, [ebp + 0x14]
call fcn.00552a04
push eax
dec dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x55f805
mov word [ebp - 0x58], 0x24
lea edx, [esi + 0x1c]
lea eax, [ebp - 0x10]
call fcn.00552794
inc dword [ebp - 0x4c]
lea edx, [ebp - 0x10]
lea eax, [ebp + 0x14]
call fcn.00552b2c
test eax, eax
lea eax, [ebp - 0x10]
sete cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x4c]
call fcn.00552924
pop ecx
test cl, cl
je 0x55f805
mov word [ebp - 0x58], 0x30
mov eax, edi
call fcn.0055fdf8
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00552794
inc dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
lea eax, [ebp + 0x14]
call fcn.0055294c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x58], 0x3c
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
inc dword [ebp - 0x4c]
lea edx, [ebp + 0x14]
lea eax, [esi + 0x1e]
call fcn.00552d38
lea edx, [ebp - 0x18]
lea eax, [ebp + 0x14]
call fcn.00552960
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00552924
push 2
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x55f88c
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0x10]
dec dword [ebp - 0x4c]
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp + 0x18]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp + 0x1c]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00552924
pop eax
mov edx, dword [ebp - 0x68]
mov dword fs:[0], edx
jmp 0x55fbe9
cmp dword [ebp + 0x10], 0
je 0x55f897
mov ecx, dword [ebp + 0x10]
jmp 0x55f89a
lea ecx, [esi + 0x28]
push ecx
cmp dword [ebp + 0x14], 0
je 0x55f8a6
mov eax, dword [ebp + 0x14]
jmp 0x55f8a9
lea eax, [esi + 0x26]
push eax
push 0
push 0
push 0
cmp dword [ebp + 0x18], 0
je 0x55f8bb
mov edx, dword [ebp + 0x18]
jmp 0x55f8be
lea edx, [esi + 0x24]
push edx
push 1
push 2
push ebx
push 0xf01ff
cmp dword [ebp - 8], 0
je 0x55f8d4
mov eax, dword [ebp - 8]
jmp 0x55f8d7
lea eax, [esi + 0x22]
push eax
cmp dword [ebp - 4], 0
je 0x55f8e3
mov edx, dword [ebp - 4]
jmp 0x55f8e6
lea edx, [esi + 0x20]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call sub.ADVAPI32.DLL_CreateServiceW
mov byte [ebp - 0x6d], 0
mov word [ebp - 0x58], 0xc
test eax, eax
je 0x55fb71
push eax
call sub.ADVAPI32.DLL_CloseServiceHandle
mov byte [ebp - 0x6d], 1
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x43e1ac]
call fcn.00440284
mov dword [ebp - 0x74], eax
mov edx, closesocket
mov word [ebp - 0x58], 0x48
mov eax, dword [ebp - 0x74]
call fcn.00440328
mov word [ebp - 0x58], 0x54
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x4c]
lea edx, [ebp - 4]
lea eax, [esi + 0x2a]
call fcn.00552d38
lea edx, [ebp - 0x1c]
mov edx, dword [edx]
mov cl, 1
mov eax, dword [ebp - 0x74]
call fcn.00440470
push eax
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x55f9a5
mov word [ebp - 0x58], 0x60
lea edx, [esi + 0x4d]
lea eax, [ebp - 0x20]
call fcn.00552794
inc dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x74]
call fcn.00440d84
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00552924
cmp byte [ebp + 8], 1
jne 0x55fb35
mov word [ebp - 0x58], 0x6c
xor ecx, ecx
mov edx, closesocket
mov dword [ebp - 0x24], ecx
inc dword [ebp - 0x4c]
mov word [ebp - 0x58], 0x78
mov eax, dword [ebp - 0x74]
call fcn.00440328
mov word [ebp - 0x58], 0x84
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x4c]
lea edx, [ebp - 4]
lea eax, [esi + 0x59]
call fcn.00552d38
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.0055294c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00552924
mov cl, 1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x74]
call fcn.00440470
test al, al
je 0x55fa6e
lea edx, [esi + 0x8d]
lea eax, [ebp - 0x30]
call fcn.00552794
inc dword [ebp - 0x4c]
lea edx, [esi + 0x8c]
mov ecx, dword [eax]
lea eax, [ebp - 0x2c]
push ecx
mov word [ebp - 0x58], 0x90
call fcn.00552794
inc dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x74]
pop ecx
call fcn.00440d84
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00552924
mov eax, dword [ebp - 0x74]
call fcn.004402f8
mov word [ebp - 0x58], 0x9c
xor edx, edx
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x34]
inc dword [ebp - 0x4c]
lea edx, [ebp - 4]
lea eax, [esi + 0x95]
call fcn.00552d38
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x24]
call fcn.0055294c
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00552924
mov cl, 1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x74]
call fcn.00440470
test al, al
je 0x55fb17
lea edx, [esi + 0xc9]
lea eax, [ebp - 0x3c]
call fcn.00552794
inc dword [ebp - 0x4c]
lea edx, [esi + 0xc8]
mov ecx, dword [eax]
lea eax, [ebp - 0x38]
push ecx
mov word [ebp - 0x58], 0xa8
call fcn.00552794
inc dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x74]
pop ecx
call fcn.00440d84
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00552924
mov eax, dword [ebp - 0x74]
call fcn.004402f8
dec dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x58], 0x48
mov word [ebp - 0x58], 0xc
mov word [ebp - 0x58], 0xc
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x55fb69
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
mov word [ebp - 0x58], 0xcc
mov edx, 3
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x58], 0xb4
cmp word [ebp - 0x56], 0
je 0x55fb71
ret
mov edx, dword [ebp - 0x6c]
push edx
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, byte [ebp - 0x6d]
mov edx, 2
push eax
lea eax, [ebp + 0x10]
dec dword [ebp - 0x4c]
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp + 0x18]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp + 0x1c]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x4c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00552924
pop eax
mov edx, dword [ebp - 0x68]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
pop ebp
ret 0x18