Function at 0x140037298
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xc8
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [r9 + 8]
lea r15, str.chrome.7z
xor ebx, ebx
mov r14, r8
mov rdi, rcx
mov dword [rbp - 0x79], ebx
cmp qword [r9], rax
je 0x14003739a
mov qword [rbp - 0x69], r15
lea rdx, [rbp - 9]
mov qword [rbp - 0x61], 9
mov r8, r9
movaps xmm0, xmmword [rbp - 0x69]
mov rcx, r14
movdqa xmmword [rbp - 0x69], xmm0
call fcn.140035d84
mov rcx, rax
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x29]
call fcn.14005add0
lea rcx, [rbp - 9]
call fcn.1400599c0
cmp qword [rbp - 0x11], 8
lea rcx, [rbp - 0x29]
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esi, [rbx + 7]
cmp eax, 0xffffffff
je 0x140037345
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140059910
lea ebx, [rsi - 6]
jmp 0x14003735a
mov qword [rbp - 0x59], rbx
lea rax, [rbp - 0x69]
mov word [rbp - 0x69], bx
mov ebx, 2
mov qword [rbp - 0x51], rsi
xor ecx, ecx
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], rcx
mov rdx, rax
mov word [rdi], cx
mov rcx, rdi
call fcn.140029ff0
test bl, 2
je 0x140037383
and ebx, 0xfffffffd
lea rcx, [rbp - 0x69]
call fcn.1400599c0
test bl, 1
je 0x140037391
lea rcx, [rbp - 9]
call fcn.1400599c0
lea rcx, [rbp - 0x29]
jmp 0x140037519
cmp dword [r8 + 0x6c], 2
lea rax, [rdx + 0xf0]
mov esi, 7
mov qword [rbp - 0x39], rbx
cmove rdx, rax
mov qword [rbp - 0x31], rsi
mov word [rbp - 0x49], bx
mov rax, qword [rdx + 0x20]
neg rax
sbb r8, r8
and r8, rdx
je 0x140037456
mov r8, qword [r8 + 0x20]
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x69], r15
mov rcx, r14
mov qword [rbp - 0x61], 9
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
call fcn.140035d84
mov rcx, rax
lea r8, [rbp - 0x69]
lea rdx, [rbp - 9]
call fcn.14005add0
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140059a60
lea rcx, [rbp - 9]
call fcn.1400599c0
lea rcx, [rbp - 0x29]
call fcn.1400599c0
cmp qword [rbp - 0x31], 8
lea rcx, [rbp - 0x49]
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140037456
mov qword [rdi + 0x18], rsi
lea rdx, [rbp - 0x49]
mov qword [rdi + 0x10], rbx
mov rcx, rdi
mov word [rdi], bx
call fcn.140029ff0
jmp 0x140037515
lea rcx, [r14 + 8]
call fcn.140036f24
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x1400374f5
mov qword [rbp - 0x69], r15
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x61], 9
mov r8, rbx
movaps xmm0, xmmword [rbp - 0x69]
mov rcx, r14
movdqa xmmword [rbp - 0x69], xmm0
call fcn.140035d84
mov rcx, rax
lea r8, [rbp - 0x69]
lea rdx, [rbp - 9]
call fcn.14005add0
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140059a60
lea rcx, [rbp - 9]
call fcn.1400599c0
lea rcx, [rbp - 0x29]
call fcn.1400599c0
cmp qword [rbp - 0x31], 8
lea rcx, [rbp - 0x49]
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400374f3
xor ecx, ecx
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], rcx
lea rdx, [rbp - 0x49]
mov word [rdi], cx
mov rcx, rdi
call fcn.140029ff0
jmp 0x140037505
xor eax, eax
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], rax
mov word [rdi], ax
test rbx, rbx
je 0x140037515
mov rcx, rbx
call fcn.14005c4d0
mov rcx, rbx
call fcn.140111e78
lea rcx, [rbp - 0x49]
call fcn.1400599c0
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140111850
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret