Function at 0x406e83
Capabilities:
Print debug messages

Disassembly:
push 0x74
mov eax, 0x4889f3
call fcn.004583d2
mov dword [ebp - 0x10], ecx
xor edi, edi
push str._ScheduleService__CServiceModule__Run__Entry
inc edi
push edi
call fcn.0040dc6a
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
xor ebx, ebx
push ebx
push ebx
mov dword [0x4ba3f0], eax
call esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push edi
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0040504c
push ebx
push ebx
push ebx
push 3
push 4
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push edi
push 0x14
mov ecx, 0x4ba1a0
call fcn.00403fd5
push str.AVerScheduleService_started
push dword [ebp - 0x10]
call fcn.0040267f
pop ecx
pop ecx
push ebx
push ebx
call esi
call fcn.004261fa
push ebx
call fcn.00425b63
pop ecx
mov ecx, dword [0x4ba3f8]
cmp ecx, ebx
je 0x406f34
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [0x4ba3f8]
cmp ecx, ebx
je 0x406f34
mov eax, dword [ecx]
push edi
call dword [eax + 4]
push 0xa8
mov dword [0x4ba3f8], ebx
call fcn.0041642e
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x406f5a
push ebx
mov ecx, eax
call fcn.0040c90f
jmp 0x406f5c
xor eax, eax
mov byte [ebp - 4], bl
mov dword [0x4ba3f8], eax
cmp eax, ebx
je 0x40709d
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call esi
mov edi, eax
call fcn.004226b3
push ebx
mov dword [eax + 8], edi
call esi
mov esi, eax
call fcn.004226b3
mov dword [eax + 0xc], esi
mov edi, vtable.CBrush.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
push 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040341c
mov esi, dword [ebp - 0x14]
call fcn.004226b3
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push ebx
push esi
push eax
push 0xb
call fcn.0041d5e0
mov esi, eax
call fcn.004226b3
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x80]
push ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x5c], str.Schedule_Service
call fcn.0041d553
mov ecx, dword [0x4ba3f8]
push 0x64
pop eax
push ebx
push ebx
push ebx
lea edx, [ebp - 0x28]
push edx
push SysReAllocString
push str.Schedule_Window
push dword [ebp - 0x5c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x58]
test eax, eax
jne 0x407046
push str.Create_Window_Fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4ba3f8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x4ba3f8]
cmp ecx, ebx
je 0x407046
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [0x4ba3f8]
push ebx
call fcn.0041e6d9
mov ecx, dword [0x4ba3f8]
call fcn.0040ccfc
test eax, eax
jne 0x40708f
push 0x49099c
push dword [ebp - 0x10]
call fcn.0040267f
mov eax, dword [0x4ba3f8]
pop ecx
pop ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x4ba3f8]
cmp ecx, ebx
je 0x40708f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], edi
call fcn.00406d6e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x254], ebx
je 0x4070af
push 4
call fcn.0040270f
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x4070c1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58]
push eax
call esi
test eax, eax
jne 0x4070b7
cmp dword [0x4ba3f8], ebx
je 0x407108
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [0x4ba3f8]
call fcn.0040989e
mov eax, dword [0x4ba3f8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x4ba3f8]
cmp ecx, ebx
je 0x407108
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, 0x4ba1a0
call fcn.00404017
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x3c]
call fcn.004034da
call fcn.004584aa
ret