Function at 0x14005ebb0
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x330
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400c8010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, r8
mov rdi, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r14d, r14d
mov eax, dword [rdx + rcx]
cmp dword [0x1400d1e58], eax
jle 0x14005ed39
lea rcx, [0x1400d1e58]
call fcn.14006bd08
cmp dword [0x1400d1e58], 0xffffffff
jne 0x14005ed39
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea rdx, str.PCMANAGER
lea rcx, [rsp + 0x50]
call sym.PCManager.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____ptr64
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
lea rdx, str.PCMANAGER
lea rcx, [rsp + 0x30]
call sym.PCManager.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____ptr64
call fcn.14005c460
mov rcx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
call fcn.14005c4d0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14005ecd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005eccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005eccf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14005ed2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ed28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ed28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
lea rcx, [0x1400d1e58]
call fcn.14006bca8
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]
lea rcx, [rbp + 0x80]
call fcn.140011c30
lea rdx, str.key_point_win_main1
lea rcx, [rbp + 0x90]
call fcn.140013440
mov rcx, rax
lea rdx, [0x140089628]
call fcn.140013250
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140013440
mov rcx, rax
lea rdx, [0x140089624]
call fcn.140013250
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp + 0x80]
mov edx, 3
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]
lea rcx, [rbp + 0x80]
call fcn.1400094c0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x202
lea rdx, [rbp + 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 3
call qword [sym.imp.libcurl.dll_curl_global_init]
call qword [sym.imp.NetIOUtil.dll_public:_static_class_OpensllLock____ptr64___cdecl_OpensllLock::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.NetIOUtil.dll_public:_bool___cdecl_OpensllLock::Init_void____ptr64]
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.14005d990
lea r8, str.HicenterMutex
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x14005f198
lea r8, str.HicenterMutex
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14005ee44
mov rcx, rbx
jmp 0x14005f19b
call fcn.14005db80
lea rcx, [rbp + 0x38]
call qword [sym.imp.ProductAdaptMgr.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_SystemEnvironment::GetCurrentUserLanguage_void_]
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::UICulture____ptr64___cdecl_DuiLib::UICulture::GetInstance_void_]
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov r9, qword [rax]
mov r8b, 1
mov rcx, rax
call qword [r9 + VariantCopy]
call fcn.14005ea10
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE______ptr64_]
lea rcx, [rbp + 0x80]
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
mov rcx, rax
lea r8, str.res_
lea rdx, [rbp - 0x80]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CDuiString___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.DuiLib.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const____ptr64_]
lea rcx, [rbp - 0x80]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
lea rcx, [rbp + 0x80]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
lea rcx, [rsp + 0x30]
call sym.PCManager.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____ptr64
lea rcx, [rsp + 0x30]
call fcn.14005cf70
test al, al
jne 0x14005ef10
call fcn.14005de00
jmp 0x14005f127
lea rdx, [0x1400890a8]
mov ecx, 0x1158
call fcn.14006bad0
test rax, rax
je 0x14005f0b4
mov rcx, rax
call fcn.14003fd20
mov rdi, rax
test rax, rax
je 0x14005f0b4
lea rdx, [0x1400890a8]
mov ecx, 0x20
call fcn.14006bad0
test rax, rax
je 0x14005ef6c
lea rcx, vtable.Hwa::Ux::HwaUIChangeListener.0
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
jmp 0x14005ef6f
mov rax, r14
mov qword [rdi + 0xcc8], rax
mov rcx, rdi
test rax, rax
je 0x14005f0a9
lea rdx, [rbp + 0x58]
call fcn.14005dff0
mov ecx, 1
call fcn.14006b6dc
mov rdi, rax
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x10]
call fcn.14003f450
lea rax, vtable.std::_LaunchPad_class_std::unique_ptr_class_std::tuple_class__lambda_474132de91820be17860198b9404bf42____struct_std::default_delete_class_std::tuple_class__lambda_474132de91820be17860198b9404bf42_____.0
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x30], rdi
lea r8, [rbp + 0x10]
lea rdx, [0x14003f570]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_start]
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x14005eff1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [rbp + 0x28], r14b
jne 0x14005f020
nop word [rax + rax]
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
test eax, eax
je 0x14005f01a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [rbp + 0x28], r14b
je 0x14005f000
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14005f034
mov edx, 1
call fcn.14006ba9c
nop
mov rsi, qword [rbp + 0x18]
mov rdi, qword [rbp + 0x20]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x14005f051
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_destroy]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Cnd_destroy]
nop
cmp dword [rsp + 0x58], 0
jne 0x14005f076
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14005f098
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
call qword [sym.imp.NetIOUtil.dll_public:_static_class_OpensllLock____ptr64___cdecl_OpensllLock::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.NetIOUtil.dll_public:_void___cdecl_OpensllLock::UnInit_void____ptr64]
jmp 0x14005f127
mov rax, qword [rdi]
mov edx, 1
call qword [rax + 0x38]
lea rcx, [rbp + 0x80]
call fcn.140011c30
lea rdx, str.fail_to_create_frame_wnd.
lea rcx, [rbp + 0x90]
call fcn.140013440
mov rcx, rax
lea rdx, [0x140089628]
call fcn.140013250
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140013440
mov rcx, rax
lea rdx, [0x140089624]
call fcn.140013250
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp + 0x80]
mov edx, 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]
lea rcx, [rbp + 0x80]
call fcn.1400094c0
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x14005f16a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f165
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f165
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r14w
test rbx, rbx
je 0x14005f20d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005f20d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005f20d
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14005f20d
lea rdx, str.HWAFrameWndMutex
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
je 0x14005f1f6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7e8
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14005f1c0
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x14005f250
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f24b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f24b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r14w
call qword [sym.imp.libcurl.dll_curl_global_cleanup]
call qword [sym.imp.WS2_32.dll_WSACleanup]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14006b6b0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret