Function at 0x427020
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], SafeArrayGetDim
mov byte [rbp - 0x80], sil
xor r8d, r8d
lea rdx, [0x004baa2b]
lea rcx, [rbp - 0x80]
call sym.AsusSoftwareManager.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
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x40]
call fcn.004a2370
lea r14, [0x00400000]
lea rax, [r14 + 0xbf980]
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rsi
mov dword [rsp + 0x40], 1
lea r13, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x70], r13
mov dword [rbp + 0x6c], 0x98
mov qword [rbp - 0x38], rsi
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x70]
call fcn.0040f700
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], r12
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.00428690
nop
lea rdx, str.C:WindowsLogAsusCloudRecovery.bi
lea rcx, [rbp - 0x30]
call fcn.004285f0
lea edi, [rsi + 6]
lea r15d, [rsi + 2]
test rax, rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx - 0x40]
je 0x427152
mov edx, 4
cmp qword [rcx + 0x48], rsi
cmovne edx, esi
jmp 0x427160
mov edx, edi
cmp qword [rcx + 0x48], 0
cmovne edx, r15d
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.00409590
cmp qword [rbp + 0x50], 0
je 0x4273e8
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x68]
call fcn.0040fa70
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx ebx, al
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x4271cc
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rax, rax
je 0x4271cc
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx r8d, bl
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.004289e0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x42738f
cmp qword [rbp - 0x70], 0
jbe 0x42738f
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.004038d0
nop
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Construct_lv_contents_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rbx, qword [rsp + 0x48]
mov rax, qword [0x005022c8]
test rax, rax
jne 0x42726e
lea ecx, [rax + 8]
call fcn.0047970c
mov qword [rsp + 0x68], rax
xor ecx, ecx
mov qword [rax], rcx
mov rcx, rax
call fcn.00418520
nop
mov qword [0x005022c8], rax
mov r8, rbx
mov rcx, rax
call fcn.00418e30
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x4272ba
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x4272b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x4272b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call qword [sym.imp.AsusBusinessIntelligenceCPPLib.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_BusinessIntelligenceCollection::BIUtitlityHelper::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x4272db
mov rbx, qword [rax]
mov edx, 0x82
call fcn.00426420
lea rdx, [r14 + 0xbf5f0]
lea rdx, [rdx + rax*2]
mov qword [rsp + 0x20], rbx
lea r9, str.CRecoveryBIDelegator:_BI_send__s:
mov ecx, 1
lea r8d, [rcx + 0x33]
call fcn.0044a600
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x427351
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x42734b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x42734b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x42738f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x42738a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x42738a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
lea rcx, [rbp - 0x30]
call fcn.00428530
test rax, rax
jne 0x4273c2
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
cmp qword [rcx + 0x48], 0
cmovne edi, r15d
or edi, dword [rcx + 0x10]
xor r8d, r8d
mov edx, edi
call fcn.00409590
lea rcx, str.C:WindowsLogAsusCloudRecovery.bi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov edx, 0x82
call fcn.00426420
lea r9, str.CRecoveryBIDelegator:_DeleteFile
mov r8d, 0x3d
jmp 0x4273ff
mov edx, 0x82
call fcn.00426420
lea r9, str.CRecoveryBIDelegator:_no_Recovery_BI_File
mov r8d, 0x42
lea rdx, [r14 + 0xbf5f0]
lea rdx, [rdx + rax*2]
mov ecx, 1
call fcn.0044a600
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r12
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.00428140
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x44], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
call fcn.0047abbc
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x4274ac
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x4274a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x4274a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.00479310
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret