Function at 0x1400633c0
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8e8]
sub rsp, 0x9c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c8010]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
mov r13, rcx
mov qword [rsp + 0x60], 0x98
xor eax, eax
mov dword [rbp - 0x64], eax
mov dword [rbp - 0x54], eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea rdi, [rbp + 0x4b0]
mov ecx, 0x200
rep stosb byte [rdi], al
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rcx, [rbp + 0x350]
lea rax, str.File
lea edx, [rbx + 2]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140063450
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
lea rax, [rbp + 0x350]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x74], 1
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], ebx
lea rax, [rbp + 0x4b0]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x200
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], ebx
mov qword [rbp - 0x50], rbx
lea rax, [0x14008927c]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 0x81800
lea rax, [0x140095468]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rbx
mov r8d, 0x208
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14006390b
mov edx, 0x104
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
test eax, eax
jne 0x14006390b
lea rcx, [rsp + 0x60]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x1400638f2
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 7
mov word [rbp], bx
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp]
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
nop
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1400636df
cmp qword [rbp + 0x10], 0
je 0x1400636df
lea rcx, [rbp]
call qword [sym.imp.HwFileUtil.dll_bool___cdecl_DE::FileExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
test al, al
je 0x1400636df
lea rcx, [rbp]
call qword [sym.imp.HwFileUtil.dll_long_long___int64____cdecl_DE::FileSize_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
cmp rax, 0x3200000
jbe 0x140063737
lea rdx, str.CommitBtn
lea rcx, [r13 + 0x78]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
mov rsi, rax
test rax, rax
je 0x1400636df
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
lea rdx, str.setting_over_filesize
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
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, [r13 + 0x78]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
test rax, rax
je 0x140063673
mov rdi, qword [rax]
mov dl, 1
mov rcx, rax
call qword [rdi + 0x250]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400636b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400636b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400636b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
mov edx, 0x1a0e
mov r8d, 0xbb8
mov rcx, rsi
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::CControlUI::SetTimer_unsigned_int__unsigned_int____ptr64]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140063988
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r15, [r13 + 0x8c0]
mov rax, qword [r15 + 8]
cmp qword [r15 + 0x10], rax
je 0x140063763
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
lea rdx, [rbp]
mov rcx, rax
call sym.PCManager.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
add qword [r15 + 8], 0x20
jmp 0x140063772
lea r8, [rbp]
mov rdx, rax
mov rcx, r15
call fcn.140030260
lea rdx, str.AddFileSummary
lea rcx, [r13 + 0x78]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov r12, rax
lea rdx, str.AddFileBtn
lea rcx, [r13 + 0x78]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov rdi, rax
test r12, r12
je 0x1400638af
test rax, rax
je 0x1400638af
mov rsi, qword [r15 + 8]
sub rsi, qword [r15]
sar rsi, 5
mov ecx, dword [r13 + 0x928]
mov eax, 0x7fffffff
cdq
idiv ecx
cmp esi, eax
jg 0x1400638af
mov rax, qword [r12]
mov edx, esi
imul edx, ecx
mov rcx, r12
call qword [rax + 0x158]
lea rcx, [r12 + 0x9a0]
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rcx, [r13 + 0x908]
call fcn.140057550
lea rcx, [r13 + 0x8f8]
call fcn.1400651a0
mov rax, qword [r12]
mov rcx, r12
test esi, esi
jne 0x140063853
xor edx, edx
call qword [rax + 0x250]
jmp 0x1400638af
mov dl, 1
call qword [rax + 0x250]
test esi, esi
jle 0x1400638af
mov r14, rbx
nop dword [rax]
nop word [rax + rax]
mov r8, qword [r15]
add r8, r14
mov r9d, ebx
mov rdx, r12
mov rcx, r13
call fcn.140064150
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x250]
cmp esi, 9
jne 0x1400638a5
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x250]
inc ebx
add r14, 0x20
cmp ebx, esi
jl 0x140063870
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400638f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400638ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400638ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x140063988
call fcn.14006ba9c
jmp 0x140063988
lea rcx, [rbp + 0x40]
call fcn.140011c30
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.fail_to_get_cur_module_path._error
lea rcx, [rbp + 0x50]
call fcn.140013440
mov rcx, rax
mov edx, edi
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140089628]
call fcn.140013250
mov rcx, rax
lea rdx, str.Hwa::Ux::HwFeedbackWnd::OnBtnOpenDir
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 + 0x40]
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]
nop
lea rcx, [rbp + 0x40]
call fcn.1400094c0
nop
lea rcx, [rbp + 0x20]
call fcn.14002a6d0
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.14006b6b0
lea r11, [rsp + 0x9c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret