Function at 0x40b3a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x4dc104]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x6c
mov eax, 0x4b44e5
call fcn.0048ccde
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.0040b228
mov byte [ebp - 4], 1
push str._install
lea ecx, [ebp + 0x160]
call fcn.004040cf
mov byte [ebp - 4], 2
push str._remove
lea ecx, [ebp + 0x144]
call fcn.004040cf
mov byte [ebp - 4], 3
push str._debug
lea ecx, [ebp + 0x1b4]
call fcn.004040cf
mov byte [ebp - 4], 4
push str._firelogrotation
lea ecx, [ebp + 0x1d0]
call fcn.004040cf
mov byte [ebp - 4], 5
lea eax, [ebp + 0x160]
push eax
lea eax, [ebp + 0x1ec]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b2c0
mov byte [ebp - 4], 6
lea eax, [ebp + 0x144]
push eax
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b2c0
mov byte [ebp - 4], 7
lea eax, [ebp + 0x1b4]
push eax
lea eax, [ebp + 0x17c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b2c0
mov byte [ebp - 4], 8
lea eax, [ebp + 0x1d0]
push eax
lea eax, [ebp + 0x128]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b2c0
mov byte [ebp - 4], 9
push str.asrrealtimesrv
lea ecx, [ebp + 0x224]
call fcn.004040cf
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x224]
push eax
lea esi, [ebp + 0x198]
call fcn.004040f1
mov byte [ebp - 4], 0xb
mov esi, 0x4c5c28
push esi
lea ecx, [ebp - 0x78]
call fcn.004040cf
mov byte [ebp - 4], 0xc
push esi
lea ecx, [ebp - 0x3c]
call fcn.004040cf
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.00424230
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.00424103
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.00422dc9
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.00405617
mov byte [ebp - 4], 0x16
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.00405617
call fcn.0042a170
lea eax, [ebp + 0x208]
call fcn.0040c256
test al, al
je 0x40b66d
lea ecx, [ebp]
call fcn.00424506
mov esi, eax
push str.asrdmon
push ebx
call fcn.00484e10
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp]
push eax
call fcn.0041d261
mov byte [ebp - 4], 0xa
push ebx
push edi
lea ecx, [ebp + 0x198]
call fcn.00405617
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp + 0x224]
call fcn.00405617
mov byte [ebp - 4], 8
push ebx
push edi
lea ecx, [ebp + 0x128]
call fcn.00405617
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp + 0x17c]
call fcn.00405617
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp + 0x208]
call fcn.00405617
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp + 0x1ec]
call fcn.00405617
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp + 0x1d0]
call fcn.00405617
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp + 0x1b4]
call fcn.00405617
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp + 0x144]
call fcn.00405617
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x160]
call fcn.00405617
mov byte [ebp - 4], bl
lea eax, [ebp - 0x5c]
push eax
call fcn.0040b89c
mov eax, esi
jmp 0x40b877
lea eax, [ebp + 0x1ec]
call fcn.0040c256
test al, al
je 0x40b749
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push str.asrdmon
push ebx
call fcn.00484e10
lea eax, [ebp - 0x14]
push eax
call fcn.00428440
mov byte [ebp - 4], 0x17
push str._asrscan.sys
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403e5b
mov byte [ebp - 4], 0x18
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00427f30
add esp, 0x20
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x20]
call fcn.0040392e
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x14]
call fcn.0040392e
lea eax, [ebp - 0x18]
call fcn.004041f0
test al, al
jne 0x40b700
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.00483bd0
add esp, 0x10
call fcn.00422c93
push esi
lea ecx, [ebp - 0x3c]
call fcn.004040cf
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp]
call fcn.0042433e
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.00405617
mov byte [ebp - 4], 0x1b
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00405617
mov byte [ebp - 4], 0x16
lea ebx, [ebp - 0x18]
call fcn.004041d3
xor edi, edi
inc edi
xor ebx, ebx
jmp 0x40b79f
lea eax, [ebp + 0x17c]
call fcn.0040c256
test al, al
je 0x40b779
mov esi, dword [ebp - 0x1c]
mov byte [ebp + 0x24], 1
push edi
push 0x42447f
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [ebp - 0x14]
push esi
lea ecx, [ebp]
mov eax, dword [ebp]
call dword [eax]
jmp 0x40b79f
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
jae 0x40b785
lea eax, [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x4245d7
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.0041d261
mov byte [ebp - 4], 0xa
push ebx
push edi
lea ecx, [ebp + 0x198]
call fcn.00405617
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp + 0x224]
call fcn.00405617
mov byte [ebp - 4], 8
push ebx
push edi
lea ecx, [ebp + 0x128]
call fcn.00405617
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp + 0x17c]
call fcn.00405617
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp + 0x208]
call fcn.00405617
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp + 0x1ec]
call fcn.00405617
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp + 0x1d0]
call fcn.00405617
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp + 0x1b4]
call fcn.00405617
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp + 0x144]
call fcn.00405617
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp + 0x160]
call fcn.00405617
mov byte [ebp - 4], bl
lea eax, [ebp - 0x5c]
push eax
call fcn.0040b89c
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x40b877
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.00488689
add ebp, 0x244
leave
ret 0x10