Function at 0x1400ebbf0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp], rcx
xor r15d, r15d
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x40], 0x78
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x44]
lea r13, str.CChromeExtension::GetFileListInExtenstion
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.14003fda0
nop
mov r14b, r15b
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r15
mov word [rbp + 0x28], r15w
lea rcx, [rbp - 0x60]
call fcn.1400ce060
nop
mov rcx, rsi
call fcn.1400ec858
lea rdx, [rbp + 0x48]
mov rcx, rbx
call fcn.1400ec5b8
lea r12d, [r15 + 1]
test al, al
jne 0x1400ebdcb
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400ec09b
mov rax, qword [rcx]
mov edi, 0x1388
mov edx, edi
call qword [rax + 0x10]
test eax, eax
je 0x1400ec09b
mov r8d, r12d
lea edx, [r15 + 2]
lea rcx, [rbp + 0x80]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400ebd23
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400ebd23
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400ebd2f
mov rsi, qword [rbx]
jmp 0x1400ebd32
mov rsi, rbx
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Error_while_ReadCrxFileHeader_for_file
call fcn.140043d80
mov rcx, rax
mov rdx, rsi
call fcn.140043d80
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.14003ffc0
nop
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae r8, qword [rbp + 8]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x18]
mov edx, edi
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp + 8]
call fcn.140006e40
nop
lea rcx, [rbp + 0x108]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x108]
call fcn.14010acb0
nop
jmp 0x1400ec09b
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 + 0x48], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x48]
mov r8d, r12d
lea rdx, str.UnpackedExtension
lea rcx, [rbp - 0x60]
call fcn.1400ce2d0
nop
mov edx, dword [rbp + 0x50]
mov eax, dword [rbp + 0x54]
add eax, 0x10
add edx, eax
lea r8, [rbp + 0x28]
mov rcx, rbx
call fcn.1400eb9b0
test al, al
jne 0x1400ebf44
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400ec09b
mov rax, qword [rcx]
mov edi, 0x1388
mov edx, edi
call qword [rax + 0x10]
test eax, eax
je 0x1400ec09b
mov r8d, r12d
mov edx, 2
lea rcx, [rbp + 0x80]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
lea rdx, [rsp + 0x48]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400ebe9c
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400ebe9c
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400ebea8
mov rsi, qword [rbx]
jmp 0x1400ebeab
mov rsi, rbx
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Error_while_ExtractZipFromCrx_for_file
call fcn.140043d80
mov rcx, rax
mov rdx, rsi
call fcn.140043d80
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.14003ffc0
nop
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae r8, qword [rbp + 8]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x18]
mov edx, edi
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp + 8]
call fcn.140006e40
nop
lea rcx, [rbp + 0x108]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x108]
call fcn.14010acb0
nop
jmp 0x1400ec09b
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
lea r8, [rcx + rax*2]
lea rdx, [rbp + 0x28]
cmovae rdx, qword [rbp + 0x28]
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x18], r15
mov byte [rbp + 8], r15b
xor eax, eax
mov r9b, al
lea rcx, [rbp + 8]
call fcn.140051450
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rcx, qword [rbp + 8]
call fcn.14015c7b0
mov rdi, rax
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400ebfb2
inc rdx
mov r8, r12
mov rcx, qword [rbp + 8]
call fcn.140002a70
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x18], r15
mov byte [rbp + 8], r15b
test rdi, rdi
je 0x1400ec09b
mov rcx, rdi
call fcn.14015c670
test eax, eax
jne 0x1400ec093
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x104
lea r8, [rbp + 0x80]
xor edx, edx
mov rcx, rdi
call fcn.14015c570
test eax, eax
jne 0x1400ec093
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x58], r15b
cmp byte [rbp + 0x80], r15b
jne 0x1400ec027
mov r8, r15
jmp 0x1400ec03b
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x1400ec032
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140007260
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400eb0e0
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400ec8d0
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400ec080
inc rdx
mov r8, r12
mov rcx, qword [rbp + 0x58]
call fcn.140002a70
mov rcx, rdi
call fcn.14015c6f0
test eax, eax
je 0x1400ebfd7
mov r14b, r12b
mov rcx, rdi
call fcn.14015c460
cmp qword [rbp + 0x38], r15
sete al
test al, al
jne 0x1400ec0bb
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp - 0x60]
call fcn.140008080
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp + 0x28]
call fcn.140006e40
nop
lea rcx, [rbp - 0x80]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor r8d, r8d
mov dl, r12b
mov rcx, rbx
call fcn.140006e40
mov al, r14b
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret