Function at 0x40a629
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4d9114]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x6c
mov eax, 0x4b0ea3
call fcn.0048bc6e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x14], eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040a4b1
mov byte [ebp - 4], 1
push str._install
lea ecx, [ebp + 0x160]
call fcn.004040b1
mov byte [ebp - 4], 2
push str._remove
lea ecx, [ebp + 0x144]
call fcn.004040b1
mov byte [ebp - 4], 3
push str._debug
lea ecx, [ebp + 0x1b4]
call fcn.004040b1
mov byte [ebp - 4], 4
push str._firelogrotation
lea ecx, [ebp + 0x1d0]
call fcn.004040b1
mov byte [ebp - 4], 5
lea eax, [ebp + 0x160]
push eax
lea eax, [ebp + 0x1ec]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a549
mov byte [ebp - 4], 6
lea eax, [ebp + 0x144]
push eax
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a549
mov byte [ebp - 4], 7
lea eax, [ebp + 0x1b4]
push eax
lea eax, [ebp + 0x17c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a549
mov byte [ebp - 4], 8
lea eax, [ebp + 0x1d0]
push eax
lea eax, [ebp + 0x128]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a549
mov byte [ebp - 4], 9
push str.asrrealtimesrv
lea ecx, [ebp + 0x224]
call fcn.004040b1
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x224]
push eax
lea esi, [ebp + 0x198]
call fcn.004040d3
mov byte [ebp - 4], 0xb
mov esi, 0x4c2cb8
push esi
lea ecx, [ebp - 0x78]
call fcn.004040b1
mov byte [ebp - 4], 0xc
push esi
lea ecx, [ebp - 0x3c]
call fcn.004040b1
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp]
push eax
call fcn.00424c9d
mov byte [ebp - 4], 0xe
mov dword [ebp], vtable.ServiceGeneric.0
lea eax, [ebp + 0x9c]
mov dword [ebp - 0x20], eax
push eax
lea ecx, [ebp - 0x5c]
call fcn.004235a0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov dword [ebp], vtable.SyncService.0
lea eax, [ebp + 0xc0]
push eax
call fcn.00421e26
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x15
push ebx
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x3c]
call fcn.0040515f
mov byte [ebp - 4], 0x16
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.0040515f
call fcn.00428cf0
lea eax, [ebp + 0x208]
call fcn.0040b4f6
test al, al
je 0x40a8f6
lea ecx, [ebp]
call fcn.00424f74
mov esi, eax
push str.asrdmon
push ebx
call fcn.00483e60
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp]
push eax
call fcn.0041c347
mov byte [ebp - 4], 0xa
push ebx
push edi
lea ecx, [ebp + 0x198]
call fcn.0040515f
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp + 0x224]
call fcn.0040515f
mov byte [ebp - 4], 8
push ebx
push edi
lea ecx, [ebp + 0x128]
call fcn.0040515f
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp + 0x17c]
call fcn.0040515f
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp + 0x208]
call fcn.0040515f
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp + 0x1ec]
call fcn.0040515f
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp + 0x1d0]
call fcn.0040515f
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp + 0x1b4]
call fcn.0040515f
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp + 0x144]
call fcn.0040515f
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x160]
call fcn.0040515f
mov byte [ebp - 4], bl
lea eax, [ebp - 0x5c]
push eax
call fcn.0040ab25
mov eax, esi
jmp 0x40ab00
lea eax, [ebp + 0x1ec]
call fcn.0040b4f6
test al, al
je 0x40a9d2
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push str.asrdmon
push ebx
call fcn.00483e60
lea eax, [ebp - 0x14]
push eax
call fcn.004264b0
mov byte [ebp - 4], 0x17
push str._asrscan.sys
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403e3d
mov byte [ebp - 4], 0x18
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00425fa0
add esp, 0x20
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x20]
call fcn.00403910
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x14]
call fcn.00403910
lea eax, [ebp - 0x18]
call fcn.00404163
test al, al
jne 0x40a989
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push str.389992
push str.asrdmon
push ecx
push eax
call fcn.00482c20
add esp, 0x10
call fcn.00421cf0
push esi
lea ecx, [ebp - 0x3c]
call fcn.004040b1
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp]
call fcn.00424dab
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.0040515f
mov byte [ebp - 4], 0x1b
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.0040515f
mov byte [ebp - 4], 0x16
lea ebx, [ebp - 0x18]
call fcn.00404146
xor edi, edi
inc edi
xor ebx, ebx
jmp 0x40aa28
lea eax, [ebp + 0x17c]
call fcn.0040b4f6
test al, al
je 0x40aa02
mov esi, dword [ebp - 0x1c]
mov byte [ebp + 0x24], 1
push edi
push 0x424eec
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [ebp - 0x14]
push esi
lea ecx, [ebp]
mov eax, dword [ebp]
call dword [eax]
jmp 0x40aa28
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
jae 0x40aa0e
lea eax, [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x425045
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov byte [ebp - 4], 0xb
lea eax, [ebp]
push eax
call fcn.0041c347
mov byte [ebp - 4], 0xa
push ebx
push edi
lea ecx, [ebp + 0x198]
call fcn.0040515f
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp + 0x224]
call fcn.0040515f
mov byte [ebp - 4], 8
push ebx
push edi
lea ecx, [ebp + 0x128]
call fcn.0040515f
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp + 0x17c]
call fcn.0040515f
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp + 0x208]
call fcn.0040515f
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp + 0x1ec]
call fcn.0040515f
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp + 0x1d0]
call fcn.0040515f
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp + 0x1b4]
call fcn.0040515f
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp + 0x144]
call fcn.0040515f
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x160]
call fcn.0040515f
mov byte [ebp - 4], bl
lea eax, [ebp - 0x5c]
push eax
call fcn.0040ab25
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x40ab00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.004876e8
add ebp, 0x244
leave
ret 0x10