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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rax, qword [0x140028010]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov rdi, rcx
call fcn.140005b00
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 esi, esi
test eax, eax
je 0x140003ebd
lea rdx, [0x14001a590]
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], esi
lea rcx, [rbp + 0x90]
call fcn.14000340c
test eax, eax
jne 0x140003ebd
cmp dword [rsp + 0x60], esi
je 0x140003ebd
or eax, 0xffffffff
jmp 0x140004372
lea rcx, [0x14001a5d8]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140003efd
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.14000f298
lea r14d, [rbx - 0x63]
test al, al
jne 0x140003f58
call qword [sym.imp.DuiLib.dll_public:_static_int___cdecl_DuiLib::CHighDpi::InitHdpi_void_]
call fcn.14000bd30
test eax, eax
jne 0x140003f4f
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 0x140003f58
mov ecx, r14d
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 0x140003f79
call fcn.14000bd30
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 rcx, rax
mov rbx, rax
call fcn.140003d44
test eax, eax
jne 0x140004366
mov rcx, rbx
call fcn.140003c3c
test eax, eax
je 0x140004366
test rbx, rbx
je 0x140004020
lea rcx, [rbp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_void____ptr64]
mov rcx, rax
lea rdx, [0x14001a5f8]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_char_____ptr64___cdecl_Cmm::CStringT_char_::AssignOther_wchar_t_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
lea rcx, [rbx + 0x48]
lea r8, [rax + 8]
call fcn.140004408
lea rcx, [rbp - 0x30]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
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 + 0x48]
je 0x140004020
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 0x14000414c
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 + 0x20], esi
xorps xmm0, xmm0
mov qword [rbp + 0x28], rax
xorps xmm1, xmm1
mov qword [rbp + 0x30], rsi
lea rcx, [rbp - 0x30]
mov qword [rbp + 0x38], rdi
lea r8d, [rdx + 0x48]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], rbx
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x1400040c0
mov rax, qword [rbp - 0x28]
cmp qword [sym.imp.USER32.dll_DefWindowProcW], rax
je 0x1400040ca
mov rcx, qword [rbp + 0x60]
mov rdx, rdi
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rdx, qword [rbp + 0x60]
lea r8, [0x14001a354]
mov qword [rsp + 0x58], rsi
mov r9d, 0x80000000
mov qword [rsp + 0x50], rdi
mov ecx, 0x80
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x14000413f
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 0x14000414c
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 0x140004235
lea rdx, [0x14001a588]
lea rcx, [rbp + 0x20]
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.140004408
lea rcx, [rbp + 0x20]
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 0x140004235
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 + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_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 + 0x20]
mov bl, al
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test bl, bl
je 0x1400041ee
mov edx, r14d
jmp 0x14000421e
lea rdx, str.resetConfig
lea rcx, [rbp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_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 + 0x20]
mov bl, al
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test bl, bl
je 0x140004235
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], r14d
lea r8, [rsp + 0x78]
mov qword [rbp - 0x70], rsi
lea rdx, [rbp - 0x78]
mov qword [rbp - 0x68], r14
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x68], rsi
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [0x140019d50]
mov edx, 3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_abort_behavior]
lea rdx, [0x140003c30]
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], esi
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call fcn.14000dfc4
test eax, eax
js 0x14000432b
mov rcx, qword [0x14002cef8]
test rcx, rcx
jne 0x1400042dd
call fcn.140015070
jmp 0x14000432b
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140019d50]
test eax, eax
jne 0x140004326
mov rcx, qword [0x14002cef8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140019d50]
mov rcx, qword [0x14002cef8]
test rcx, rcx
je 0x14000431d
mov rax, qword [rcx]
mov edx, r14d
mov rax, qword [rax]
call qword [0x140019d50]
mov qword [0x14002cef8], rsi
jmp 0x1400042d6
call fcn.14000eb5c
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x80]
call qword [0x140019d50]
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]
jmp 0x140004370
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.140015a80
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret