Function at 0x14000b0c0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1400bd010]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r8
mov qword [rsp + 0x20], rcx
call qword [sym.imp.HwDataReport.dll_public:_static_class_HwDataReport____ptr64___cdecl_HwDataReport::Instance_void_]
movdqa xmm0, xmmword [0x14008efd0]
lea rdx, [0x140087baa]
xor r8d, r8d
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
mov rbx, rax
movdqu xmmword [rsp + 0x58], xmm0
call sym.HwMdcCenter.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.HwDataReport.dll_public:_void___cdecl_HwDataReport::Init_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000b16c
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b167
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b167
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a810
mov qword [rsp + 0x230], r13
call fcn.14000ac50
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::InitProcessLogger_void____ptr64]
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x202
lea rdx, [rsp + 0x70]
mov r13d, eax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 3
call qword [sym.imp.libcurl.dll_curl_global_init]
call qword [sym.imp.ProductAdaptMgr.dll_public:_static_class_MBASoftShelf____ptr64___cdecl_MBASoftShelf::GetInstance_void_]
movdqa xmm0, xmmword [0x14008efd0]
lea rdx, str.SynergyService
mov r8d, 0xe
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
mov rbx, rax
movdqu xmmword [rsp + 0x58], xmm0
call sym.HwMdcCenter.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ProductAdaptMgr.dll_public:_bool___cdecl_MBASoftShelf::IsSupportPlugin_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_const___ptr64]
test al, al
je 0x14000b20a
call qword [sym.imp.HardwareHal.dll_public:_static_class_SmBiosHelper____ptr64___cdecl_SmBiosHelper::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.HardwareHal.dll_public:_bool___cdecl_SmBiosHelper::IsUnsupportWifiAndBT_void____ptr64]
test al, al
jne 0x14000b20a
xor bl, bl
jmp 0x14000b20c
mov bl, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000b24c
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b247
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b247
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a810
movdqa xmm0, xmmword [0x14008efd0]
mov qword [rsp + 0x268], rsi
mov qword [rsp + 0x238], r12
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x220], r15
mov byte [rsp + 0x48], 0
movdqu xmmword [rsp + 0x58], xmm0
test bl, bl
je 0x14000b338
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.machine_not_support_SynergyService
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.SupportHwMdc
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rbx, 0xffffffffffffffff
jmp 0x14000bc0e
xor eax, eax
mov qword [rsp + 0x40], 7
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], ax
jne 0x14000b360
mov rdx, rdi
lea rcx, [rsp + 0x28]
call sym.HwMdcCenter.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.cmdLine:
lea rcx, [rbp - 0x80]
call fcn.140015a40
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
mov rcx, rax
cmovae rdx, qword [rsp + 0x28]
call fcn.140015a40
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14000b449
call fcn.14000a6c0
jmp 0x14000bb95
cmp qword [rsp + 0x40], 8
lea r9, [rsp + 0x28]
cmovae r9, qword [rsp + 0x28]
cmp rax, 4
jne 0x14000b4b1
movzx ecx, word [r9]
mov edx, reloc.WS2_32.dll_WSAStartup
mov r8, rax
lea rax, str.self
cmp cx, dx
jb 0x14000b4b1
sub r9, rax
cmp cx, dx
ja 0x14000b4b1
cmp r8, 1
je 0x14000b49d
movzx ecx, word [rax + r9 + 2]
add rax, 2
dec r8
movzx edx, word [rax]
cmp cx, dx
jae 0x14000b47e
jmp 0x14000b4b1
xor r8d, r8d
lea rdx, [0x140087c68]
lea rcx, [rsp + 0x28]
call sym.HwMdcCenter.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor edx, edx
lea r9, [0x140088d10]
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
jne 0x14000b573
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.Create_event_failed.
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x70]
lea edx, [rsi + 4]
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x14000bb95
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b598
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x28]
call fcn.14000a0f0
jmp 0x14000bb95
mov ecx, 3
call qword [sym.imp.libcurl.dll_curl_global_init]
call fcn.1400070d0
cmp qword [rsp + 0x40], 8
lea r9, [rsp + 0x28]
cmovae r9, qword [rsp + 0x28]
cmp qword [rsp + 0x38], 6
jne 0x14000b603
movzx ecx, word [r9]
lea rax, [0x140088790]
mov edx, 0x53
mov r8d, 6
cmp cx, dx
jb 0x14000b603
sub r9, rax
cmp cx, dx
ja 0x14000b603
cmp r8, 1
je 0x14000b6ce
movzx ecx, word [rax + r9 + 2]
add rax, 2
dec r8
movzx edx, word [rax]
cmp cx, dx
jae 0x14000b5e2
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.DataReporter_cmdLine:
lea rcx, [rbp - 0x80]
call fcn.140015a40
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
mov rcx, rax
cmovae rdx, qword [rsp + 0x28]
call fcn.140015a40
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.DataReportStartAndRun
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0x28]
call fcn.140009960
lea rcx, [rsp + 0x28]
call fcn.140009c50
call fcn.14003a120
mov edx, 1
mov rcx, rax
call sym.HwMdcCenter.exe_private:_void___cdecl_MdcCore::IService::TransferState_enum_MdcCore::Action____ptr64
call fcn.14003a120
lea rdx, [rsp + 0x48]
mov r14, rax
mov rcx, qword [rax + 0x90]
call fcn.140037300
mov rcx, qword [rsp + 0x48]
mov r15, qword [rax]
mov r12, qword [rax + 8]
test rcx, rcx
je 0x14000b764
mov rdx, qword [rsp + 0x50]
call fcn.14003bae0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x14000b74d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b74d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a810
xorps xmm0, xmm0
mov qword [rsp + 0x58], 0
movdqu xmmword [rsp + 0x48], xmm0
cmp r15, r12
jne 0x14000bbd5
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.All_service_is_ok
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.ServiceMonitor::WaitForServiceNormal
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
call qword [sym.imp.HiConnectivitySDK.dll_HiConnectivitySvcStart]
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.HiConnectivitySvcStart_End
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.BusinessInit
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
call qword [sym.imp.HwMdcDeviceSdk.dll_public:_static_class_MdcCore::MdcProviderProxy____ptr64___cdecl_MdcCore::MdcProviderProxy::GetInstance_void_]
mov r8b, 1
mov edx, 0xb94e24
mov rcx, rax
call qword [sym.imp.HwMdcDeviceSdk.dll_public:_void___cdecl_MdcCore::MdcProviderProxy::Init_int__bool____ptr64]
call fcn.14000a2b0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400092e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140034cf0
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.140004550
lea rdx, str.Enter_unload_all_plugins
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.MdcPluginsManager::UnloadAllPlugins
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.MBAPluginsManager.dll_public:_bool___cdecl_MBAPluginsManager::UnloadAllPlugins_void____ptr64]
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.ret:
lea rcx, [rbp - 0x80]
call fcn.140015c30
movzx edx, bl
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___bool____ptr64]
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.MdcPluginsManager::UnloadAllPlugins
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
call qword [sym.imp.HiConnectivitySDK.dll_HiConnectivitySvcStop]
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str.HiConnectivitySvcStop_End
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.BusinessUnInit
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
call qword [sym.imp.HwMdcDeviceSdk.dll_public:_static_class_MdcCore::MdcProviderProxy____ptr64___cdecl_MdcCore::MdcProviderProxy::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.HwMdcDeviceSdk.dll_public:_void___cdecl_MdcCore::MdcProviderProxy::UnInit_void____ptr64]
lea rcx, [rsp + 0x70]
call fcn.140004550
lea rdx, str._HwMdcCenter__Exit_Finish.
lea rcx, [rbp - 0x80]
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c64]
call fcn.140015a40
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140015c30
mov rcx, rax
lea rdx, [0x140087c60]
call fcn.140015a40
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rsp + 0x70]
mov edx, 4
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140012ea0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov ebx, 1
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14000bbf9
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bbf4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bbf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [r14 + 0x90]
call fcn.1400397d0
test al, al
jne 0x14000b80b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bb95
call fcn.14007a810
xor eax, eax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
call qword [sym.imp.libcurl.dll_curl_global_cleanup]
call qword [sym.imp.WS2_32.dll_WSACleanup]
test r13d, r13d
jne 0x14000bc25
call qword [sym.imp.ole32.dll_OleUninitialize]
mov r14, qword [rsp + 0x228]
mov eax, ebx
mov rsi, qword [rsp + 0x268]
mov r12, qword [rsp + 0x238]
mov r15, qword [rsp + 0x220]
mov r13, qword [rsp + 0x230]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140079c90
add rsp, 0x240
pop rdi
pop rbx
pop rbp
ret