Function at 0x4013b0
Capabilities:
Resolve function by parsing pe exports
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x403f41
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4070ec]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4070ec]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x80], edi
mov dword [esp + 0xac], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea eax, [esp + 0x24]
push eax
push 0x40559c
push 1
push 0
push 0x40561c
mov dword [esp + 0x100], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4014b8
push 0xffffffffffffffff
push str.Failed_to_CoCreate_an_instance_of_the_TaskService_class
call dword [sym.imp.QtCoreADSK4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 1
mov dword [esp + 0x28], 0x2b
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x401c2b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc8]
push eax
call esi
movq xmm0, qword [esp + 0xc8]
movq qword [esp + 0x78], xmm0
movq xmm0, qword [esp + 0xd0]
lea eax, [esp + 0x9c]
push eax
movq qword [esp + 0x88], xmm0
call esi
movq xmm0, qword [esp + 0x9c]
movq qword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0xa4]
lea eax, [esp + 0x8c]
push eax
movq qword [esp + 0x74], xmm0
call esi
movq xmm0, qword [esp + 0x8c]
movq qword [esp + 0x58], xmm0
movq xmm0, qword [esp + 0x94]
lea eax, [esp + 0x48]
push eax
movq qword [esp + 0x64], xmm0
call esi
movq xmm0, qword [esp + 0x78]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
sub esp, 0x10
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xa4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x88]
mov eax, esp
sub esp, 0x10
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x88]
mov eax, esp
sub esp, 0x10
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x88]
mov eax, esp
push ecx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x94]
mov byte [esp + 0x130], 5
movq qword [eax + 8], xmm0
call dword [edx + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [esp + 0x48]
push eax
call ebx
lea eax, [esp + 0x8c]
push eax
call ebx
lea eax, [esp + 0x9c]
push eax
call ebx
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0xf0], 0
call ebx
test esi, esi
jns 0x40167e
push 0xffffffffffffffff
push str.ITaskService::Connect_failed
call dword [sym.imp.QtCoreADSK4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 6
mov dword [esp + 0x28], 0x32
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x401c2b
push 0x405328
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call fcn.00401190
mov eax, dword [eax]
mov byte [esp + 0xec], 7
test eax, eax
je 0x4016a6
mov edx, dword [eax]
jmp 0x4016a8
xor edx, edx
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x40]
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x1c]
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xec], 0
call fcn.00401310
mov ecx, dword [esp + 0x24]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
jns 0x40173d
push 0xffffffffffffffff
push str.Cannot_get_Root_Folder_pointer
call dword [sym.imp.QtCoreADSK4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 8
mov dword [esp + 0x28], 0x3c
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00401140
jmp 0x401c22
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x38]
mov ecx, dword [esp + 0x40]
push ecx
mov edx, dword [ecx]
mov esi, eax
call dword [edx + 8]
test esi, esi
jns 0x4017ca
push 0xffffffffffffffff
push str.Cannot_get_the_registered_tasks
call dword [sym.imp.QtCoreADSK4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 9
mov dword [esp + 0x28], 0x45
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00401140
jmp 0x401c22
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
cmp dword [esp + 0x28], 0
jne 0x401856
push 0xffffffffffffffff
push str.No_Tasks_are_currently_running
call dword [sym.imp.QtCoreADSK4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 0xa
mov dword [esp + 0x28], 0x4d
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00401140
jmp 0x401c22
mov byte [esp + 0x18], 0x20
push dword [esp + 0x18]
lea ecx, [esp + 0x22]
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ebp, dword [sym.imp.QtCoreADSK4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xffffffffffffffff
push str.Number_of_Tasks_:__1
mov dword [esp + 0x20], 0x52
call ebp
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1e]
push eax
push 0xa
push 0
push dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0xb
call dword [sym.imp.QtCoreADSK4.dll_public:_class_QString___thiscall_QString::arg_long_int__int__int__class_QChar_const__]
push eax
lea eax, [esp + 0x1c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 1
mov byte [esp + 0xfc], 0xc
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 0xb
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x4053a4
lea ecx, [esp + 0xb4]
call fcn.004010e0
xor ebx, ebx
mov byte [esp + 0xec], 0xd
cmp dword [esp + 0x28], ebx
jle 0x401bb3
mov edi, 3
lea ebx, [ebx]
inc ebx
mov dword [esp + 0x14], 0
mov word [esp + 0x48], di
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x20]
movq xmm0, qword [esp + 0x48]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
sub esp, 0x10
mov eax, esp
push ecx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x68]
mov byte [esp + 0x104], 0xe
movq qword [eax + 8], xmm0
call dword [edx + 0x20]
mov esi, eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xf0], 0xd
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x401b50
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x401aef
push dword [esp + 0x3c]
lea ecx, [esp + 0xcc]
call fcn.004010e0
mov byte [esp + 0x60], 0x20
push dword [esp + 0x60]
lea ecx, [esp + 0x22]
mov byte [esp + 0xf0], 0xf
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x60], 0x5f
call dword [sym.imp.QtCoreADSK4.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov esi, eax
push 0xffffffffffffffff
push str.Task_Name:__1
mov byte [esp + 0xfc], 0x10
call ebp
add esp, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1e]
push eax
push 0
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xfc], 0x11
call dword [sym.imp.QtCoreADSK4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea eax, [esp + 0x5c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 1
mov byte [esp + 0xfc], 0x12
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x70]
mov byte [esp + 0xec], 0x11
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0xec], 0x10
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0xec], 0xf
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0xc0]
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [esp + 0xc4], 8
push edx
lea eax, [esp + 0xb4]
cmovae eax, dword [esp + 0xb4]
push eax
push ecx
push 0
lea ecx, [esp + 0xd8]
call fcn.004029e0
test eax, eax
jne 0x401ac2
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x30]
call fcn.00402db0
push dword [esp + 0x3c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0xc8]
mov byte [esp + 0xec], 0xd
call fcn.00401230
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401ba2
push 0xffffffffffffffff
push str.Cannot_get_the_registered_task_name
call ebp
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x88]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 0x13
mov dword [esp + 0x94], 0x65
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 0xd
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401ba2
push 0xffffffffffffffff
push str.Cannot_get_the_registered_task_item
call ebp
add esp, 8
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x7c]
push eax
push str.....AdAppMgrTaskCleanmain.cpp
push 4
mov byte [esp + 0xfc], 0x14
mov dword [esp + 0x88], 0x69
call sub.Logging.dll_public:_static_class_Logging____cdecl_Logging::instance_void_
mov ecx, eax
call sub.Logging.dll_public:_void___thiscall_Logging::LogMessage_enum_LOG_LEVEL__char_const___int_const___class_QString_const__
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0xd
call dword [sym.imp.QtCoreADSK4.dll_public:_void___thiscall_QString::destructor_void_]
cmp ebx, dword [esp + 0x28]
jl 0x401920
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esp + 0xc4], 8
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 8], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jb 0x401c02
push dword [esp + 0xb0]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
lea ecx, [esp + 0x2c]
call fcn.00401260
mov eax, edi
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.004031ce
add esp, 0xdc
ret