Function at 0x14004d920
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400c8010]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r15d, r9d
mov rbx, r8
mov r12, rdx
mov rsi, rcx
lea rdx, str.ctl_AccountHead
add rcx, 0x78
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
mov rdi, rax
test rax, rax
je 0x14004ddb4
lea rcx, [rbp - 0x80]
cmp qword [rbx + 0x10], 0
je 0x14004dcef
movdqa xmm0, xmmword [0x140097400]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov r8d, 4
lea rdx, str._res
call sym.PCManager.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
nop
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140069c40
nop
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14004d9cb
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x80]
call sym.PCManager.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__::append_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14004da19
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004da14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_DE::GetDDFullFile_char_const____ptr64_]
nop
lea rdx, str.userheadpic.png
lea rcx, [rbp - 0x40]
call qword [sym.imp.HwFileUtil.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_DE::GetUserAppdataFullFile_char_const____ptr64_]
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_static_int___cdecl_DDProtocol::DecryFileEx_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
xor ebx, ebx
test eax, eax
jne 0x14004dba6
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140069a50
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
je 0x14004daef
lea rcx, [rbp - 0x20]
call fcn.140011c30
nop
lea rdx, str._access_not_exist.
lea rcx, [rbp - 0x10]
call fcn.140013250
mov rcx, rax
lea rdx, [0x140089628]
call fcn.140013250
mov rcx, rax
lea rdx, str.Hwa::Ux::HwaFrameWnd::SetLogonAccountHeadPic
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 - 0x20]
lea edx, [rbx + 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 - 0x20]
call fcn.1400094c0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CControlUI::SetBkImage_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsi + 0x78]
call qword [sym.imp.DuiLib.dll_public:_struct_DuiLib::tagTImageInfo_const____ptr64___cdecl_DuiLib::CPaintManagerUI::AddImage_wchar_t_const____ptr64__wchar_t_const____ptr64__unsigned_long_int__bool__bool__struct_HINSTANCE______ptr64__bool__bool____ptr64]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14004dc10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004db9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004db9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
jmp 0x14004dc10
lea rcx, [rbp - 0x20]
call fcn.140011c30
nop
lea rdx, str.decrpt_headpic_failed.
lea rcx, [rbp - 0x10]
call fcn.140013440
mov rcx, rax
lea rdx, [0x140089628]
call fcn.140013250
mov rcx, rax
lea rdx, str.Hwa::Ux::HwaFrameWnd::SetLogonAccountHeadPic
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 - 0x20]
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 - 0x20]
call fcn.1400094c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14004dc4e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dc49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dc49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x140097400]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14004dc9d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dc98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dc98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x140097400]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14004dd6a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dd65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dd65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
xor ebx, ebx
mov word [rbp - 0x80], bx
lea rdx, str.filedrawable_myaccount_ic_account_user_new_defaut_1.png
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, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CControlUI::SetBkImage_wchar_t_const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14004dd6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dd65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dd65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x60]
cmp r15d, 2
jne 0x14004dd97
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], bx
lea rdx, [0x14008927c]
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 r8b, 1
xor edx, edx
jmp 0x14004dda8
mov qword [rbp - 0x48], rbx
mov rdx, r12
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
xor r8d, r8d
mov dl, 1
lea r9, [rbp - 0x60]
mov rcx, rsi
call fcn.14004e040
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14006b6b0
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret