Function at 0x1400bfdf0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x310
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x350], rbx
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x1e0], rcx
xor r13d, r13d
mov dword [rsp + 0x74], r13d
mov dword [rsp + 0x70], 0x78
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x74]
lea rdx, str.CChromeExtension::GetFileListInExtenstion
lea rcx, [rsp + 0xc0]
call fcn.140001d10
nop
xor r12b, r12b
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
mov rcx, rbp
call fcn.1400b8390
lea rdx, [rsp + 0x1d0]
mov rcx, rsi
call fcn.1400c10f0
test al, al
jne 0x1400bffae
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x1400c02fc
mov rax, qword [rcx]
mov edx, 0x1388
call qword [rax + 0x10]
test eax, eax
je 0x1400c02fc
lea edx, [r13 + 2]
lea r8d, [r13 + 1]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x1f0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
cmp qword [rsi + 0x20], 8
jb 0x1400bff0e
mov rbx, qword [rsi + 8]
jmp 0x1400bff12
lea rbx, [rsi + 8]
lea rdx, str.CChromeExtension::GetFileListInExtenstion
lea rcx, [rsp + 0x1f0]
call fcn.140002150
mov rcx, rax
lea rdx, str.Error_while_ReadCrxFileHeader_for_file
call fcn.140002150
mov rcx, rax
mov rdx, rbx
call fcn.140002150
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x188]
cmp qword [rsp + 0x1a0], 8
cmovae r8, qword [rsp + 0x188]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x198]
mov edx, 0x1388
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
jmp 0x1400c02fc
lea rax, vtable.SpeedBit::Utils::Std::StringValueW_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, str.UnpackedExtension
lea rcx, [rsp + 0x120]
call fcn.1400630d0
nop
mov ecx, dword [rsp + 0x1d8]
mov eax, dword [rsp + 0x1dc]
lea edx, [rax + rcx + 0x10]
lea r8, [rsp + 0x1a8]
mov rcx, rsi
call fcn.1400c11e0
test al, al
jne 0x1400c012c
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x1400c02fc
mov rax, qword [rcx]
mov edx, 0x1388
call qword [rax + 0x10]
test eax, eax
je 0x1400c02fc
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x1f0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
cmp qword [rsi + 0x20], 8
jb 0x1400c008c
mov rbx, qword [rsi + 8]
jmp 0x1400c0090
lea rbx, [rsi + 8]
lea rdx, str.CChromeExtension::GetFileListInExtenstion
lea rcx, [rsp + 0x1f0]
call fcn.140002150
mov rcx, rax
lea rdx, str.Error_while_ExtractZipFromCrx_for_file
call fcn.140002150
mov rcx, rax
mov rdx, rbx
call fcn.140002150
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x188]
cmp qword [rsp + 0x1a0], 8
cmovae r8, qword [rsp + 0x188]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x198]
mov edx, 0x1388
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
jmp 0x1400c02fc
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::end_void____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::begin_void____ptr64]
lea rdx, [rsp + 0x80]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCP90.dll_protected:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool__unsigned_long_long_unsigned___int64_____ptr64]
movaps xmm5, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm5
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
movzx r9d, byte [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x180]
call fcn.140029dc0
nop
lea rcx, [rsp + 0x188]
cmp qword [rsp + 0x1a0], 0x10
cmovae rcx, qword [rsp + 0x188]
xor r8d, r8d
xor edx, edx
call fcn.140151620
mov rdi, rax
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
test rdi, rdi
je 0x1400c02fc
mov rcx, rdi
call fcn.1401522c0
test eax, eax
jne 0x1400c02d6
nop
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x1f0]
xor r8d, r8d
lea rdx, [rsp + 0x120]
mov rcx, rdi
call fcn.140151dd0
test eax, eax
jne 0x1400c02d6
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
mov rdx, rbx
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP90.dll_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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rdx, [rsp + 0x98]
mov rcx, rbp
call fcn.1400c13d0
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rcx, rdi
call fcn.140152340
test eax, eax
je 0x1400c0220
mov r12b, 1
cmp qword [rdi + 0x110], 0
je 0x1400c02e8
mov rcx, rdi
call fcn.140152b30
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x38]
call qword [rdi + 0x28]
mov rcx, rdi
call qword [sym.imp.MSVCR90.dll_free]
cmp qword [rsp + 0x1c0], 0
je 0x1400c0328
lea rcx, [rsp + 0x1b0]
cmp qword [rsp + 0x1c8], 8
cmovae rcx, qword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xc0]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, rsi
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
mov al, r12b
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140155650
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret