Function at 0x14000ade8
Capabilities:
Get common file path
Print debug messages
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x8b8]
sub rsp, 0x9a0
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov rsi, rcx
call fcn.1400102d0
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rbp + 0x90]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor r14d, r14d
test eax, eax
je 0x14000ae91
lea rdx, [0x1400191a8]
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], r14d
lea rcx, [rbp + 0x90]
call fcn.14000a4e8
test eax, eax
jne 0x14000ae91
cmp dword [rsp + 0x60], r14d
je 0x14000ae91
or eax, 0xffffffff
jmp 0x14000b374
lea rcx, [0x14001c430]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000aed1
lea rdx, str.OPENSSL_CONF
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
mov ebx, 0x64
lea rcx, [rbp + 0x20]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edx, ebx
lea rcx, [rbp + 0x20]
call qword [sym.imp.libcrypto_1_1.dll_RAND_bytes]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.Cmmlib.dll_public:_static_void___cdecl_Cmm::CommandLine::Init_int__char_const__const___ptr64_const____ptr64_]
call fcn.1400072b0
lea r15d, [rbx - 0x63]
test al, al
jne 0x14000af2c
call qword [sym.imp.DuiLib.dll_public:_static_int___cdecl_DuiLib::CHighDpi::InitHdpi_void_]
call fcn.140003294
test eax, eax
jne 0x14000af23
lea ecx, [rbx - 0x61]
call qword [sym.imp.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CHighDpi::SetAwarenessMode_enum_DuiLib::CDpiAwarenessMode::DPIAwareMode_]
test al, al
jne 0x14000af2c
mov ecx, r15d
call qword [sym.imp.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CHighDpi::SetAwarenessMode_enum_DuiLib::CDpiAwarenessMode::DPIAwareMode_]
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CHighContrast____ptr64___cdecl_DuiLib::CHighContrast::Instance_void_]
mov rbx, rax
test rax, rax
je 0x14000af4d
call fcn.140003294
test eax, eax
mov rcx, rbx
sete dl
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CHighContrast::SetSupportHighContrast_bool____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
call qword [sym.imp.Cmmlib.dll_public:_static_class_Cmm::CommandLine____ptr64___cdecl_Cmm::CommandLine::ForCurrentProcess_void_]
mov rdi, rax
test rax, rax
je 0x14000afc4
call fcn.14000a214
test eax, eax
jne 0x14000afc4
call fcn.14000a2d8
test eax, eax
je 0x14000afc4
lea rdx, str.addfw
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0x48]
lea r8, [rax + 8]
call fcn.140008070
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rdi + 0x48]
je 0x14000afc4
lea rcx, [rax + 0x40]
cmp qword [rcx + 0x18], 8
jb 0x14000afbd
mov rcx, qword [rcx]
call fcn.1400087d4
jmp 0x14000afd0
mov rcx, rdi
call fcn.14000ad1c
test eax, eax
jne 0x14000afdf
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
jmp 0x14000b372
test rdi, rdi
je 0x14000b02a
lea rdx, [0x14001bf38]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0x48]
lea r8, [rax + 8]
call fcn.140008070
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rdi + 0x48]
je 0x14000b02a
add rdx, 0x40
lea rcx, [rbp - 0x60]
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_AEBV__basic_string__WU__char_traits__W_std__V__allocator__W_2__std___Z]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14000b159
lea rcx, str.App_Start_with_Web_join__Url:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
lea rbx, str.GrabFocusWindow
xor edx, edx
mov dword [rbp - 0x30], r14d
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
xorps xmm1, xmm1
mov qword [rbp - 0x20], r14
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x18], rsi
lea r8d, [rdx + 0x48]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmmword [rbp], xmm1
mov qword [rbp + 0x10], rbx
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x14000b0cb
mov rax, qword [rbp + 0x28]
cmp qword [sym.imp.USER32.dll_DefWindowProcW], rax
je 0x14000b0d5
mov rcx, qword [rbp + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rdx, qword [rbp + 0x10]
lea r8, [0x140019378]
mov qword [rsp + 0x58], r14
mov r9d, 0x80000000
mov qword [rsp + 0x50], rsi
mov ecx, 0x80
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x14000b14c
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x14000b159
lea rcx, str.App_Create_Focus_window_failure_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
call qword [sym.imp.Cmmlib.dll_public:_static_class_Cmm::CommandLine____ptr64___cdecl_Cmm::CommandLine::ForCurrentProcess_void_]
test rax, rax
je 0x14000b242
lea rdx, [0x14001a510]
lea rcx, [rbp - 0x30]
lea rbx, [rax + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rbx
lea r8, [rax + 8]
call fcn.140008070
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rbx]
je 0x14000b242
add rdx, 0x40
lea rcx, [rbp - 0x60]
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_AEBV__basic_string__WU__char_traits__W_std__V__allocator__W_2__std___Z]
lea rdx, str.resetData
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_char_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64_const___ptr64]
lea rcx, [rbp - 0x30]
mov bl, al
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test bl, bl
je 0x14000b1fb
mov edx, r15d
jmp 0x14000b22b
lea rdx, str.resetConfig
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_char_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64_const___ptr64]
lea rcx, [rbp - 0x30]
mov bl, al
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test bl, bl
je 0x14000b242
xor edx, edx
mov rax, qword [sym.imp.Cmmlib.dll_const_Cmm::CmmLogGC::vftable]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
call qword [sym.imp.Cmmlib.dll_public_virtual:_int___cdecl_Cmm::CmmLogGC::ResetAppData_int____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xorps xmm0, xmm0
mov dword [rbp - 0x78], r15d
lea r8, [rsp + 0x78]
mov qword [rbp - 0x70], r14
lea rdx, [rbp - 0x78]
mov qword [rbp - 0x68], r15
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], r14
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x68], r14
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [0x140018d28]
mov edx, 3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_abort_behavior]
lea rdx, [0x14000ad10]
mov ecx, 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
call qword [sym.imp.MSAALIB.dll_ZAccInitModule]
xor r9d, r9d
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
xor ecx, ecx
call fcn.14000615c
test eax, eax
js 0x14000b339
mov rcx, qword [0x140029de8]
test rcx, rcx
jne 0x14000b2eb
call fcn.140001598
jmp 0x14000b339
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140018d28]
test eax, eax
jne 0x14000b334
mov rcx, qword [0x140029de8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140018d28]
mov rcx, qword [0x140029de8]
test rcx, rcx
je 0x14000b32b
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax]
call qword [0x140018d28]
mov qword [0x140029de8], r14
jmp 0x14000b2e4
call fcn.140006c0c
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x80]
call qword [0x140018d28]
call qword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CHighDpi::UnInitHdpi_void_]
mov rcx, qword [sym.imp.UIBase.dll_class_UIBase::CZPPictureMgr_UIBase::_ZPUIImgMgr]
call qword [sym.imp.UIBase.dll_public:_void___cdecl_UIBase::CZPPictureMgr::ReleaseAllPictures_void____ptr64]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.MSAALIB.dll_ZAccTermModule]
xor eax, eax
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.140014e50
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret