Function at 0x449290
Capabilities:
Check for time delay via gettickcount
Parse pe header
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6522a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ecx, eax
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x449476
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0x16
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.OpenSCManager_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x68]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.004516e0
mov dword [ebp - 0x58], 0xa
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.DoStartSvc
mov dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.RpcManageService
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x48]
or esi, 0xffffffff
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4493af
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4493af
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4493cf
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4493cf
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4493ef
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4493ef
mov dword [ebp - 0x80], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x44940f
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44940f
mov dword [ebp - 0x3c], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x44942f
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44942f
mov dword [ebp - 0x68], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x449448
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449448
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x44a0cc
lock xadd dword [ecx + 4], esi
dec esi
jne 0x44a0cc
mov dword [ebp - 0x74], 0
mov eax, dword [ecx]
call dword [eax]
jmp 0x44a0cc
push 0xf01ff
lea eax, [esi + 0x68]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jne 0x44961d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x64], 0x14
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], str.OpenService_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x3c]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.004516e0
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], str.RpcManageService
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x449555
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449555
mov dword [ebp - 0x54], ebx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x449575
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449575
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x449595
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449595
mov dword [ebp - 0x80], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x4495b5
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4495b5
mov dword [ebp - 0x40], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x4495d5
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4495d5
mov dword [ebp - 0x3c], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x1a
test ecx, ecx
je 0x4495ee
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4495ee
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 4], 0x1b
test ecx, ecx
je 0x44960f
lock xadd dword [ecx + 4], esi
dec esi
jne 0x44960f
mov dword [ebp - 0x74], 0
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44a0cc
lea eax, [ebp - 0x88]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4497d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x64], 0x1d
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.QueryServiceStatusEx_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x3c]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1f
call fcn.004516e0
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x23
test ecx, ecx
je 0x44970e
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44970e
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x24
test ecx, ecx
je 0x44972e
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44972e
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0x25
test ecx, ecx
je 0x44974e
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44974e
mov dword [ebp - 0x80], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x26
test ecx, ecx
je 0x44976e
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44976e
mov dword [ebp - 0x40], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x27
test ecx, ecx
je 0x44978e
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44978e
mov dword [ebp - 0x3c], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x28
test ecx, ecx
je 0x4497a7
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4497a7
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 4], 0x29
test ecx, ecx
je 0x44a0be
lock xadd dword [ecx + 4], esi
dec esi
jne 0x44a0be
mov dword [ebp - 0x74], 0
mov eax, dword [ecx]
call dword [eax]
jmp 0x44a0be
mov eax, dword [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 1
je 0x4498d9
cmp eax, 3
je 0x449867
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
push str.Cannot_start_the_service_because_it_is_already_running
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x2c
test ecx, ecx
je 0x44985b
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44985b
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 4], 0x2d
jmp 0x449a91
call edi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, 0xcccccccd
mul dword [ebp - 0x1c]
shr edx, 3
cmp edx, 0x3e8
jae 0x449889
mov edx, 0x3e8
jmp 0x449897
cmp edx, 0x2710
mov eax, 0x2710
cmova edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x88]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x449ab8
cmp dword [ebp - 0x20], esi
jbe 0x4498c5
call edi
jmp 0x4498d3
call edi
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1c]
ja 0x449a1b
cmp dword [ebp - 0x30], 3
je 0x449867
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x449be7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0x64], 0x15
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.StartService_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x3d
push eax
lea ecx, [ebp - 0x40]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x3e
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x3f
call fcn.004516e0
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x42
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x43
test ecx, ecx
je 0x4499bc
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4499bc
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x44
test ecx, ecx
je 0x4499dc
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4499dc
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x78]
call fcn.004482d0
lea ecx, [ebp - 0x3c]
call fcn.00448e70
lea ecx, [ebp - 0x40]
call fcn.00448e70
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x45
test ecx, ecx
je 0x449a0b
lock xadd dword [ecx + 4], esi
dec esi
jne 0x449a0b
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x84]
call fcn.004482d0
jmp 0x44a0be
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 4], 0x38
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
push str.Timeout_waiting_for_service_to_stop
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x3a
test ecx, ecx
je 0x449a8a
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449a8a
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x44a0be
lock xadd dword [ecx + 4], esi
dec esi
jne 0x44a0be
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
jmp 0x44a0be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0x64], 0x1d
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.QueryServiceStatusEx_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x2f
push eax
lea ecx, [ebp - 0x40]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x31
call fcn.004516e0
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x34
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x35
test ecx, ecx
je 0x449b88
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449b88
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x36
test ecx, ecx
je 0x449ba8
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449ba8
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x78]
call fcn.004482d0
lea ecx, [ebp - 0x3c]
call fcn.00448e70
lea ecx, [ebp - 0x40]
call fcn.00448e70
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x37
test ecx, ecx
je 0x449bd7
lock xadd dword [ecx + 4], esi
dec esi
jne 0x449bd7
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x84]
call fcn.004482d0
jmp 0x44a0be
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 4], 0x46
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
push str.Service_start_pending...
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x47
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x54]
or esi, 0xffffffff
mov byte [ebp - 4], 0x48
test ecx, ecx
je 0x449c56
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449c56
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], 0x49
test ecx, ecx
je 0x449c79
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449c79
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x449dca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x64], 0x1d
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.QueryServiceStatusEx_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x4b
push eax
lea ecx, [ebp - 0x40]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x4c
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x4d
call fcn.004516e0
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x50
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x51
test ecx, ecx
je 0x449d6b
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449d6b
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x52
test ecx, ecx
je 0x449d8b
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449d8b
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x78]
call fcn.004482d0
lea ecx, [ebp - 0x3c]
call fcn.00448e70
lea ecx, [ebp - 0x40]
call fcn.00448e70
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x53
test ecx, ecx
je 0x449dba
lock xadd dword [ecx + 4], esi
dec esi
jne 0x449dba
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x84]
call fcn.004482d0
jmp 0x44a0be
call edi
cmp dword [ebp - 0x30], 2
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
jne 0x449f7c
nop dword [eax]
mov eax, 0xcccccccd
mul dword [ebp - 0x1c]
shr edx, 3
cmp edx, 0x3e8
jae 0x449dfa
mov edx, 0x3e8
jmp 0x449e08
cmp edx, 0x2710
mov eax, 0x2710
cmova edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x88]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x449e53
cmp dword [ebp - 0x20], ebx
jbe 0x449e3a
call edi
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
jmp 0x449e48
call edi
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1c]
ja 0x449f7c
cmp dword [ebp - 0x30], 2
je 0x449de0
jmp 0x449f7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004534e0
add esp, 8
mov dword [ebp - 4], 0x54
mov dword [ebp - 0x64], 0x1d
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.QueryServiceStatusEx_failed__
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x55
push eax
lea ecx, [ebp - 0x40]
call fcn.00448ce0
push 0x5c7818
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00448f40
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x57
call fcn.004516e0
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x5a
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef50
add esp, 0x10
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x5b
test ecx, ecx
je 0x449f20
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449f20
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x5c
test ecx, ecx
je 0x449f40
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449f40
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x78]
call fcn.004482d0
lea ecx, [ebp - 0x38]
call fcn.00448e70
lea ecx, [ebp - 0x40]
call fcn.00448e70
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x5d
test ecx, ecx
je 0x449f71
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449f71
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x84]
call fcn.004482d0
cmp dword [ebp - 0x30], 4
jne 0x44a01c
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], str.DoStartSvc
mov dword [ebp - 4], 0x5e
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], str.RpcManageService
push str.Service_started_successfully
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x5f
push eax
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x60
test ecx, ecx
je 0x449ff2
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x449ff2
mov dword [ebp - 0x54], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], 0x61
test ecx, ecx
je 0x44a0bb
lock xadd dword [ecx + 4], esi
dec esi
jne 0x44a0bb
mov dword [ebp - 0x48], 0
jmp 0x44a0b7
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.DoStartSvc
mov dword [ebp - 4], 0x62
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], str.RpcManageService
push str.Service_not_started
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x63
push eax
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.0044ef70
add esp, 0x10
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x64
test ecx, ecx
je 0x44a09a
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44a09a
mov dword [ebp - 0x90], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 0x65
test ecx, ecx
je 0x44a0bb
lock xadd dword [ecx + 4], esi
dec esi
jne 0x44a0bb
mov dword [ebp - 0x60], 0
mov eax, dword [ecx]
call dword [eax]
mov ebx, dword [ebp - 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x68]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00592832
mov esp, ebp
pop ebp
ret