Function at 0x14001d750
Capabilities:
Accept command line arguments
Initialize winsock library

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov rax, qword gs:[0x58]
xor r15d, r15d
mov dword [rsp + 0x70], r15d
mov rdi, r8
mov ebx, 4
mov rsi, rcx
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x140114a28], eax
jle 0x14001d907
lea rcx, [0x140114a28]
call fcn.140093f44
cmp dword [0x140114a28], 0xffffffff
jne 0x14001d907
movdqa xmm0, xmmword [0x1400cbd30]
lea rdx, str.PCMANAGER
lea rcx, [rsp + 0x30]
mov word [rsp + 0x30], r15w
movdqu xmmword [rsp + 0x40], xmm0
call sym.HwSettings.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
movdqa xmm0, xmmword [0x1400cbd30]
lea rdx, str.PCMANAGER
lea rcx, [rsp + 0x50]
mov word [rsp + 0x50], r15w
movdqu xmmword [rsp + 0x60], xmm0
call sym.HwSettings.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 eax, dword [rbx]
cmp dword [0x140114a10], eax
jle 0x14001d849
lea rcx, [0x140114a10]
call fcn.140093f44
cmp dword [0x140114a10], 0xffffffff
jne 0x14001d849
xorps xmm0, xmm0
lea rcx, [0x1400a3250]
movdqu xmmword [0x140114a18], xmm0
call fcn.140093cd0
lea rcx, [0x140114a10]
call fcn.140093ee4
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rcx, [0x140114a18]
call fcn.14001c3a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001d8a2
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d89d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d8ef
call fcn.140093ce8
mov rdx, qword [rsp + 0x48]
movdqa xmm0, xmmword [0x1400cbd30]
mov word [rsp + 0x50], r15w
movdqu xmmword [rsp + 0x60], xmm0
cmp rdx, 8
jb 0x14001d8fb
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d8f6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d8f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
lea rcx, [0x140114a28]
call fcn.140093ee4
mov qword [rsp + 0x438], r14
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 + 0x1f0]
call fcn.1400124e0
lea rdx, str.key_point_setting_main1
lea rcx, [rbp + 0x200]
call fcn.1400138a0
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rbp + 0x1f0]
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]
lea rcx, [rbp + 0x1f0]
call fcn.14000e840
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x202
lea rdx, [rbp + 0x50]
mov r14d, eax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 3
call qword [sym.imp.libcurl.dll_curl_global_init]
movdqa xmm0, xmmword [0x1400cbd40]
lea rdx, str.HwSettings
mov r8d, 0xa
mov byte [rsp + 0x30], r15b
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x40], xmm0
call sym.HwSettings.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
call qword [sym.imp.HwDataReport.dll_public:_static_class_HwDataReport____ptr64___cdecl_HwDataReport::Instance_void_]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
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 + 0x48]
cmp rdx, 0x10
jb 0x14001da3b
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001da36
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001da36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
test rdi, rdi
mov qword [rbp - 0x58], r15
lea rdx, [0x1400b6790]
mov qword [rbp - 0x50], 7
cmovne rdx, rdi
mov word [rbp - 0x68], r15w
lea rcx, [rbp - 0x68]
call sym.HwSettings.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
cmp qword [rbp - 0x58], r15
jne 0x14001da9c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movdqa xmm0, xmmword [0x1400cbd30]
lea rcx, [rsp + 0x30]
mov rdx, rax
mov word [rsp + 0x30], r15w
movdqu xmmword [rsp + 0x40], xmm0
call sym.HwSettings.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 rax, [rsp + 0x30]
mov ebx, 1
jmp 0x14001dabd
xorps xmm0, xmm0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x60], xmm0
call sym.HwSettings.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
lea rax, [rsp + 0x50]
mov ebx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm1
test bl, 2
je 0x14001db23
mov rdx, qword [rsp + 0x68]
and ebx, 0xfffffffd
cmp rdx, 8
jb 0x14001db23
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001db1e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db64
call fcn.140093ce8
test bl, 1
je 0x14001db70
mov rdx, qword [rsp + 0x48]
and ebx, 0xfffffffe
cmp rdx, 8
jb 0x14001db70
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001db6b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001db6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
cmp qword [rbp - 0x78], r15
jne 0x14001dc82
lea rcx, [rbp + 0x50]
call fcn.1400124e0
lea rdx, str.enter_CmdLine_be_empty
lea rcx, [rbp + 0x60]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.IsCmdLineRight
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rbp + 0x50]
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]
lea rcx, [rbp + 0x50]
call fcn.14000e840
mov rcx, rsi
call fcn.14001d0d0
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14001dc26
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dc21
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dc7b
call fcn.140093ce8
mov rdx, qword [rbp - 0x50]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
cmp rdx, 8
jb 0x14001def6
mov rcx, qword [rbp - 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001def1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001def1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rbp - 0x70], 8
lea rdx, [rsp + 0x78]
mov r8d, 0xffffffff
lea rcx, [rbp - 0x40]
cmovae rdx, qword [rsp + 0x78]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::constructor_wchar_t_const____ptr64__int____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.DuiLib.dll_public:_int___cdecl_DuiLib::CDuiString::GetLength_void_const___ptr64]
cmp eax, 0xd
jle 0x14001dcdf
mov r8d, 0xd
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp - 0x40]
or ebx, 4
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CDuiString___cdecl_DuiLib::CDuiString::Left_int____ptr64]
mov rcx, rax
lea rdx, str.__openmodule
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
jne 0x14001dcf9
lea rdx, [0x1400b9f28]
lea rcx, [rbp - 0x40]
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
jne 0x14001dcf9
xor dil, dil
jmp 0x14001dcfc
mov dil, 1
test bl, 4
je 0x14001dd0e
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
test dil, dil
je 0x14001dbe1
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], r15
call fcn.140083600
test al, al
je 0x14001de16
lea rcx, [rbp + 0x50]
call fcn.1400124e0
lea rdx, str.Setting_already_running_
lea rcx, [rbp + 0x60]
call fcn.1400138a0
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rbp + 0x50]
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]
lea rcx, [rbp + 0x50]
call fcn.14000e840
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 0x14001dec4
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001dec4
lea rdx, str.HWSettingFrameMutex
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
je 0x14001ddfa
xor r9d, r9d
xor r8d, r8d
mov edx, 0x82a
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 0x14001ddc0
jmp 0x14001dec4
lea rdx, [0x140112e00]
mov ecx, 0xf98
call fcn.1400940b0
test rax, rax
je 0x14001de5d
mov rcx, rax
call fcn.1400386d0
mov rbx, rax
test rax, rax
je 0x14001de5d
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, rsi
call fcn.14001d350
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8 + 0x38]
jmp 0x14001dec4
lea rcx, [rbp + 0x50]
call fcn.1400124e0
lea rdx, str.fail_to_create_settings_wnd
lea rcx, [rbp + 0x60]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.wWinMain
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
lea r8, [rbp + 0x50]
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]
lea rcx, [rbp + 0x50]
call fcn.14000e840
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14001dbe9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
je 0x14001dbe9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001dbe9
call fcn.140093ce8
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r15w
call qword [sym.imp.libcurl.dll_curl_global_cleanup]
call qword [sym.imp.WS2_32.dll_WSACleanup]
test r14d, r14d
jne 0x14001df1e
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r14, qword [rsp + 0x438]
xor eax, eax
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140093940
add rsp, 0x400
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret