Function at 0x1400eb1c4
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12c0]
mov eax, 0x13c0
call fcn.14012a8c0
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1410], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x12b0], rax
mov r15b, r8b
mov r14, rdx
mov rbx, rcx
mov qword [rbp + 0x100], rdx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x48], 0x78
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
lea rsi, str.CChromeExtension::GetFileListInExtenstion
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.14003fda0
nop
mov r12b, r13b
mov qword [rbp + 0x160], 7
mov qword [rbp + 0x158], r13
mov word [rbp + 0x148], r13w
lea rcx, [rbp + 0xa0]
call fcn.1400ce060
nop
lea rdx, [rbp + 0x168]
mov rcx, rbx
call fcn.1400ec5b8
lea edi, [r13 + 1]
test al, al
jne 0x1400eb3c4
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400eb915
mov rax, qword [rcx]
mov edi, 0x1388
mov edx, edi
call qword [rax + 0x10]
test eax, eax
je 0x1400eb915
lea edx, [r13 + 2]
lea r8d, [r13 + 1]
lea rcx, [rbp + 0x1a0]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1a0]
add rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400eb310
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400eb310
mov r8, qword [rax]
lea edx, [r13 + 1]
mov rcx, rax
call qword [r8]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400eb31a
mov rbx, qword [rbx]
mov rdx, rsi
lea rcx, [rbp + 0x1a0]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Error_while_ReadCrxFileHeader_for_file
call fcn.140043d80
mov rcx, rax
mov rdx, rbx
call fcn.140043d80
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x1a0]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x108]
cmp qword [rbp + 0x120], 8
cmovae r8, qword [rbp + 0x108]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x118]
mov edx, edi
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x108]
call fcn.140006e40
nop
lea rcx, [rbp + 0x228]
call fcn.14003fff0
nop
lea rsi, vtable.std::ios_base.0
mov qword [rbp + 0x228], rsi
lea rcx, [rbp + 0x228]
call fcn.14010acb0
nop
jmp 0x1400eb915
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 + 0x50], rax
lea rax, [rbp + 0x148]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x50]
mov r8d, edi
lea rdx, str.UnpackedExtension
lea rcx, [rbp + 0xa0]
call fcn.1400ce2d0
nop
mov edx, dword [rbp + 0x170]
mov eax, dword [rbp + 0x174]
add eax, 0x10
add edx, eax
lea r8, [rbp + 0x148]
mov rcx, rbx
call fcn.1400eb9b0
test al, al
jne 0x1400eb55b
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400eb915
mov rax, qword [rcx]
mov edi, 0x1388
mov edx, edi
call qword [rax + 0x10]
test eax, eax
je 0x1400eb915
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x1a0]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1a0]
add rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400eb4a7
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400eb4a7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400eb4b1
mov rbx, qword [rbx]
mov rdx, rsi
lea rcx, [rbp + 0x1a0]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Error_while_ExtractZipFromCrx_for_file
call fcn.140043d80
mov rcx, rax
mov rdx, rbx
call fcn.140043d80
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x1a0]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x108]
cmp qword [rbp + 0x120], 8
cmovae r8, qword [rbp + 0x108]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x118]
mov edx, edi
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x108]
call fcn.140006e40
nop
lea rcx, [rbp + 0x228]
call fcn.14003fff0
nop
lea rsi, vtable.std::ios_base.0
mov qword [rbp + 0x228], rsi
lea rcx, [rbp + 0x228]
call fcn.14010acb0
nop
jmp 0x1400eb915
lea rcx, [rbp + 0x148]
cmp qword [rbp + 0x160], 8
cmovae rcx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x158]
lea r8, [rcx + rax*2]
lea rdx, [rbp + 0x148]
cmovae rdx, qword [rbp + 0x148]
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x118], r13
mov byte [rbp + 0x108], r13b
xor eax, eax
mov r9b, al
lea rcx, [rbp + 0x108]
call fcn.140051450
lea rcx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae rcx, qword [rbp + 0x108]
call fcn.14015c7b0
mov rbx, rax
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x1400eb5f5
inc rdx
mov r8, rdi
mov rcx, qword [rbp + 0x108]
call fcn.140002a70
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x118], r13
mov byte [rbp + 0x108], r13b
test rbx, rbx
je 0x1400eb915
mov rcx, rbx
call fcn.14015c670
test eax, eax
jne 0x1400eb90d
mov r8, rdi
lea rdx, [0x14025f110]
mov rcx, r14
call fcn.140009880
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x104
lea r8, [rbp + 0x1a0]
xor edx, edx
mov rcx, rbx
call fcn.14015c570
test eax, eax
jne 0x1400eb90d
mov eax, 0x2f
mov word [rsp + 0x40], ax
lea rsi, vtable.std::ios_base.0
mov edx, 0xfde9
lea rcx, [rsp + 0x50]
call fcn.1400d7670
nop
xor r9d, r9d
lea r8, [rbp + 0x1a0]
lea rdx, [rbp + 0x178]
mov rcx, rax
call fcn.1400655c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400eb6ad
mov rax, qword [rax]
mov r8, rax
mov rdx, r14
lea rcx, [rbp + 0x128]
call fcn.14000d6f0
nop
xor r8d, r8d
mov dl, dil
lea rcx, [rbp + 0x178]
call fcn.140006e40
nop
lea rcx, [rsp + 0x50]
call fcn.140008080
mov r9, rdi
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x128]
call fcn.14000d4b0
mov rcx, rax
mov rax, qword [rbp + 0x138]
dec rax
cmp rcx, rax
jne 0x1400eb72c
lea rcx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rcx, qword [rbp + 0x128]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
jmp 0x1400eb8a3
test r15b, r15b
jne 0x1400eb752
lea rcx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rcx, qword [rbp + 0x128]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400eb727
mov rcx, rbx
call fcn.14015c7c0
test eax, eax
jne 0x1400eb8fb
lea rcx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, edi
lea rcx, [rbp - 0x70]
call fcn.1400cc350
nop
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rdx, qword [rbp + 0x128]
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
lea rcx, [rbp - 0x68]
call fcn.1400a1a80
test rax, rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
jne 0x1400eb7dd
lea r9, [rbp - 0x70]
add rcx, r9
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r13
cmove edx, eax
jmp 0x1400eb7f2
lea rax, [rbp - 0x70]
add rcx, rax
mov rax, qword [rcx + 0x48]
neg rax
sbb edx, edx
not edx
and edx, 4
xor r8d, r8d
call fcn.14003e290
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x60], 6
je 0x1400eb838
lea rcx, [rbp - 0x70]
call fcn.1400a1954
mov rcx, rbx
call fcn.14015c4b0
nop
lea rcx, [rbp + 0x38]
call fcn.14009de48
nop
mov qword [rbp + 0x38], rsi
lea rcx, [rbp + 0x38]
call fcn.14010acb0
nop
jmp 0x1400eb727
mov r8d, 0x1000
jmp 0x1400eb85f
movsxd r8, edi
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp - 0x70]
call fcn.1400a2390
mov eax, 0x1000
cmp edi, eax
jb 0x1400eb874
mov r8d, eax
lea rdx, [rbp + 0x2b0]
mov rcx, rbx
call fcn.14015d170
test eax, eax
mov edi, eax
jns 0x1400eb840
lea rcx, [rbp - 0x70]
call fcn.1400a1954
mov rcx, rbx
call fcn.14015c4b0
nop
lea rcx, [rbp + 0x38]
call fcn.14009de48
nop
mov qword [rbp + 0x38], rsi
lea rcx, [rbp + 0x38]
call fcn.14010acb0
nop
mov edi, 1
xor r8d, r8d
mov dl, dil
lea rcx, [rbp + 0x128]
call fcn.140006e40
mov rcx, rbx
call fcn.14015c6f0
test eax, eax
jne 0x1400eb8f6
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x104
lea r8, [rbp + 0x1a0]
xor edx, edx
mov rcx, rbx
call fcn.14015c570
test eax, eax
je 0x1400eb679
jmp 0x1400eb90d
mov r12b, dil
jmp 0x1400eb90d
xor r8d, r8d
mov dl, dil
lea rcx, [rbp + 0x128]
call fcn.140006e40
mov rcx, rbx
call fcn.14015c460
cmp qword [rbp + 0x158], r13
sete al
test al, al
jne 0x1400eb941
lea rcx, [rbp + 0x148]
cmp qword [rbp + 0x160], 8
cmovae rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0xa0]
call fcn.140008080
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x148]
call fcn.140006e40
nop
lea rcx, [rsp + 0x70]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor r8d, r8d
mov dl, 1
mov rcx, r14
call fcn.140006e40
mov al, r12b
mov rcx, qword [rbp + 0x12b0]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x1410]
add rsp, 0x13c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret