Function at 0x52ec60
Capabilities:
Create service
Persist via windows service
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x673ca8
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0xd44
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 0xc4c], 0
push 0x207
push 0
lea eax, [ebp - 0xc4b]
push eax
call fcn.005dfd60
mov byte [ebp - 0x224], 0
push 0x207
push 0
lea ecx, [ebp - 0x223]
push ecx
call fcn.005dfd60
mov byte [ebp - 0x83c], 0
push 0x207
push 0
lea edx, [ebp - 0x83b]
push edx
call fcn.005dfd60
mov byte [ebp - 0xa44], 0
push 0x207
push 0
lea eax, [ebp - 0xa43]
push eax
call fcn.005dfd60
mov byte [ebp - 0x42c], 0
push 0x207
push 0
lea ecx, [ebp - 0x42b]
push ecx
call fcn.005dfd60
add esp, 0x3c
test edi, edi
je 0x52f057
cmp byte [edi], 0
je 0x52f057
push 0x208
lea edx, [ebp - 0x224]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x52f057
lea eax, [ebp - 0x224]
push eax
push 0x61c29c
lea ecx, [ebp - 0x83c]
push ecx
call fcn.005dfb23
push 0
push 0x104
lea edx, [ebp - 0xd50]
push edx
push 0x60cf3c
push str.FCert
push 0x60c810
call fcn.004edfd0
add esp, 0x24
cmp byte [ebp - 0xd50], 0x31
jne 0x52edfd
push 0x6af4b8
lea eax, [ebp - 0x530]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
lea ecx, [ebp - 0x530]
push ecx
call fcn.004e24e0
add esp, 4
push str.VistaAVPMAPP.EXE
lea edx, [ebp - 0x530]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x530]
push eax
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x52edfd
lea ecx, [ebp - 0x530]
push ecx
lea edx, [ebp - 0x224]
push edx
call esi
push 0x207
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
cmp byte [ebp - 0x42c], 0
jne 0x52ee3a
lea ecx, [ebp - 0x224]
lea edx, [ebp - 0x42c]
jmp 0x52ee30
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x52ee30
push 0x63ef48
call fcn.005110b0
test eax, eax
je 0x52ef15
lea edx, [ebp - 0xa44]
push edx
push 0x63ef48
call fcn.0050d920
add esp, 8
test eax, eax
je 0x52ef15
push 0x63ef48
push 1
call fcn.005001f0
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0xa44]
push ecx
call fcn.005e324f
add esp, 0x10
test eax, eax
je 0x52ef15
lea edx, [ebp - 0x83c]
push edx
lea eax, [ebp - 0xa44]
push eax
call fcn.005e324f
add esp, 8
test eax, eax
je 0x52ef15
push 0x63ef48
push str.SystemCurrentControlSetServices_s
lea ecx, [ebp - 0x634]
push ecx
call fcn.005dfb23
push 0x20
lea edx, [ebp - 0x42c]
push edx
call fcn.005e0940
add esp, 0x14
test eax, eax
je 0x52eeec
lea eax, [ebp - 0x83c]
push eax
push 0x648094
lea ecx, [ebp - 0x634]
push ecx
jmp 0x52eeff
lea edx, [ebp - 0x42c]
push edx
push 0x648094
lea eax, [ebp - 0x634]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e7720
movzx eax, al
test eax, eax
jne 0x52ef15
call fcn.0052e070
mov dword [ebp - 0xd54], 0x5a
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x52f057
push 0x20
lea ecx, [ebp - 0x224]
push ecx
call fcn.005e0940
add esp, 8
push 0
push 0
push 0
push 0
push 0
test eax, eax
je 0x52ef60
lea edx, [ebp - 0x83c]
push edx
jmp 0x52ef67
lea eax, [ebp - 0x224]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push edi
push 0x63ef48
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
je 0x52f006
push str.eScan_Anti_Virus_Monitor
push 0x63ef48
call fcn.005f095a
add esp, 8
test eax, eax
je 0x52effb
push 0x752b00
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x52efc9
mov eax, dword [0x752b04]
cmp eax, 2
je 0x52efc9
cmp eax, 3
je 0x52efff
cmp eax, 5
je 0x52efff
cmp eax, 6
je 0x52efff
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x752b00
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x52efff
cmp dword [0x752b04], 2
jne 0x52efff
push 0x3e8
call edi
sub dword [ebp - 0xd54], 1
jne 0x52efd0
jmp 0x52efff
test esi, esi
je 0x52f006
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 0xc4c], 0
mov ecx, 0xa
mov esi, str.MicroWorld_eScan_Virus_Monitoring_Service.
lea edi, [ebp - 0xc4c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xc4c]
push ecx
push 0x63ef48
call fcn.004e4160
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x52f057
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret