Function at 0x1400c0390
Capabilities:
Create directory
Delete file

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x1410
call fcn.140156450
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x1440], rbx
mov qword [rsp + 0x1448], rbp
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x2e0], rdx
xor r12d, r12d
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x70], 0x78
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x74]
lea rdx, str.CChromeExtension::GetFileListInExtenstion
lea rcx, [rsp + 0x1c0]
call fcn.140001d10
nop
xor bpl, bpl
lea rcx, [rsp + 0x2a8]
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
lea rdx, [rsp + 0x2d0]
mov rcx, rbx
call fcn.1400c10f0
test al, al
jne 0x1400c0553
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x1400c0a65
mov rax, qword [rcx]
mov edx, 0x1388
call qword [rax + 0x10]
test eax, eax
je 0x1400c0a65
lea edx, [r12 + 2]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0xc0]
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 + 0xc0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0xc0]
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 [rbx + 0x20], 8
jb 0x1400c04b3
mov rbx, qword [rbx + 8]
jmp 0x1400c04b7
add rbx, 8
lea rdx, str.CChromeExtension::GetFileListInExtenstion
lea rcx, [rsp + 0xc0]
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 + 0x280]
lea rcx, [rsp + 0xc0]
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 + 0x288]
cmp qword [rsp + 0x2a0], 8
cmovae r8, qword [rsp + 0x288]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x298]
mov edx, 0x1388
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x280]
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 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 0x1400c0a65
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 + 0x2a8]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, str.UnpackedExtension
lea rcx, [rsp + 0x220]
call fcn.1400630d0
nop
mov ecx, dword [rsp + 0x2d8]
mov eax, dword [rsp + 0x2dc]
lea edx, [rax + rcx + 0x10]
lea r8, [rsp + 0x2a8]
mov rcx, rbx
call fcn.1400c11e0
test al, al
jne 0x1400c06d1
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x1400c0a65
mov rax, qword [rcx]
mov edx, 0x1388
call qword [rax + 0x10]
test eax, eax
je 0x1400c0a65
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0xc0]
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 + 0xc0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0xc0]
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 [rbx + 0x20], 8
jb 0x1400c0631
mov rbx, qword [rbx + 8]
jmp 0x1400c0635
add rbx, 8
lea rdx, str.CChromeExtension::GetFileListInExtenstion
lea rcx, [rsp + 0xc0]
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 + 0x280]
lea rcx, [rsp + 0xc0]
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 + 0x288]
cmp qword [rsp + 0x2a0], 8
cmovae r8, qword [rsp + 0x288]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x298]
mov edx, 0x1388
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x280]
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 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 0x1400c0a65
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x2a8]
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 + 0x1d8]
lea rcx, [rsp + 0x2a8]
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 + 0x90]
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 + 0x90]
call fcn.140029dc0
nop
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rcx, qword [rsp + 0x98]
xor r8d, r8d
xor edx, edx
call fcn.140151620
mov rdi, rax
lea rcx, [rsp + 0x90]
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 0x1400c0a65
mov rcx, rdi
call fcn.1401522c0
test eax, eax
jne 0x1400c0a3f
lea rdx, [0x1401b8374]
mov rcx, rsi
call qword [sym.imp.MSVCP90.dll_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__::operator_wchar_t_const____ptr64____ptr64]
nop word [rax + rax]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x2f0]
xor r8d, r8d
lea rdx, [rsp + 0x220]
mov rcx, rdi
call fcn.140151dd0
test eax, eax
jne 0x1400c0a3f
mov dword [rsp + 0x60], 0xfde9
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x68], r12d
xor r9d, r9d
lea r8, [rsp + 0x2f0]
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x60]
call fcn.1400aea30
nop
cmp qword [rax + 0x20], 8
jb 0x1400c085c
mov r8, qword [rax + 8]
jmp 0x1400c0860
lea r8, [rax + 8]
mov rdx, rsi
lea rcx, [rsp + 0x280]
call qword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const____ptr64_]
nop
lea rcx, [rsp + 0x1f8]
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 rbx, qword [rsp + 0x298]
mov edx, 0x2f
mov r8, qword [sym.imp.MSVCP90.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov r8, qword [r8]
lea rcx, [rsp + 0x280]
call qword [sym.imp.MSVCP90.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t__unsigned_long_long_unsigned___int64__const___ptr64]
lea rcx, [rbx - 1]
cmp rax, rcx
jne 0x1400c08e4
lea rcx, [rsp + 0x288]
cmp qword [rsp + 0x2a0], 8
cmovae rcx, qword [rsp + 0x288]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rsp + 0x280]
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]
jmp 0x1400c0a1c
mov rcx, rdi
call fcn.140152650
test eax, eax
jne 0x1400c0a31
lea rcx, [rsp + 0x288]
cmp qword [rsp + 0x2a0], 8
cmovae rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ofstream_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x288]
cmp qword [rsp + 0x2a0], 8
cmovae rdx, qword [rsp + 0x288]
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ofstream_char__struct_std::char_traits_char__::open_wchar_t_const____ptr64__int__int____ptr64]
mov r11, qword [rsp + 0xc0]
movsxd rax, dword [r11 + 4]
test byte [rsp + rax + 0xd0], 6
je 0x1400c09b0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ofstream_char__struct_std::char_traits_char__::close_void____ptr64]
mov rcx, rdi
call fcn.140152b30
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ofstream_char__struct_std::char_traits_char__::vbase_dtor_void____ptr64]
nop
lea rcx, [rsp + 0x280]
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]
jmp 0x1400c0a1c
lea rdx, [rsp + 0x400]
mov rcx, rdi
call fcn.140152840
movsxd rbx, eax
test eax, eax
js 0x1400c09e8
mov r8, rbx
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
cmp ebx, 0x1000
jae 0x1400c09b0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ofstream_char__struct_std::char_traits_char__::close_void____ptr64]
mov rcx, rdi
call fcn.140152b30
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ofstream_char__struct_std::char_traits_char__::vbase_dtor_void____ptr64]
nop
lea rcx, [rsp + 0x280]
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 rcx, rdi
call fcn.140152340
test eax, eax
je 0x1400c07e0
mov bpl, 1
jmp 0x1400c0a3f
lea rcx, [rsp + 0x280]
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]
cmp qword [rdi + 0x110], 0
je 0x1400c0a51
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 + 0x2c0], 0
je 0x1400c0a91
lea rcx, [rsp + 0x2b0]
cmp qword [rsp + 0x2c8], 8
cmovae rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x2a8]
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 + 0x1c0]
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, bpl
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.140155650
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret