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

Disassembly:
test rcx, rcx
je 0x140007966
push rbp
sub rsp, 0x40
cmp qword [rcx + 8], 2
mov rbp, rdx
jne 0x140007961
mov rax, qword [rcx]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rax]
test rbx, rbx
je 0x14000795c
mov qword [rsp + 0x60], rdi
lea rdi, str.gecko
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, rdi
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140007740
mov rax, qword [rbx]
mov rax, qword [rax + 8]
cmp byte [rdi + rax], 0
je 0x140007759
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140007720
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], r13
lea r13, [0x14000bd00]
cmp rax, r13
je 0x140007952
cmp qword [rax + 8], 2
jne 0x140007952
mov rax, qword [rax]
mov rbx, qword [rax]
test rbx, rbx
je 0x140007952
lea rdi, str.rules
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx]
mov rcx, rdi
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1400077c0
mov rax, qword [rbx]
mov rax, qword [rax + 8]
cmp byte [rdi + rax], 0
je 0x1400077ce
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400077a0
jmp 0x140007952
mov rax, qword [rbx + 8]
cmp rax, r13
je 0x140007952
cmp qword [rax + 8], 3
jne 0x140007952
mov rax, qword [rax]
mov qword [rsp + 0x58], rsi
mov rsi, qword [rax]
test rsi, rsi
je 0x14000794d
mov qword [rsp + 0x38], r12
lea r12, str.browser_name
mov qword [rsp + 0x20], r15
lea r15, str.path
mov qword [rsp + 0x28], r14
nop word [rax + rax]
mov rbx, qword [rsi]
cmp qword [rbx + 8], 2
jne 0x140007931
test rbx, rbx
je 0x14000786e
mov rbx, qword [rbx]
mov rbx, qword [rbx]
test rbx, rbx
je 0x14000786e
nop
mov rdx, qword [rbx]
mov rcx, r15
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140007865
mov rax, qword [rbx]
mov rax, qword [rax + 8]
cmp byte [r15 + rax], 0
je 0x140007967
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140007840
mov rdi, r13
mov rax, qword [rsi]
test rax, rax
je 0x1400078be
cmp qword [rax + 8], 2
jne 0x1400078be
mov rax, qword [rax]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400078be
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, r12
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1400078b5
mov rax, qword [rbx]
mov rax, qword [rax + 8]
cmp byte [r12 + rax], 0
je 0x140007970
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140007890
mov rax, r13
cmp rdi, r13
je 0x140007931
cmp rax, r13
je 0x140007931
cmp qword [rdi + 8], 0
jne 0x140007931
cmp qword [rax + 8], 0
jne 0x140007931
mov rdi, qword [rdi]
mov r14, qword [rax]
mov rbx, qword [0x14000d488]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call rbx
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007931
test al, 0x10
je 0x140007931
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1400069a0
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140007820
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
mov rdi, qword [rbx + 8]
jmp 0x140007871
mov rax, qword [rbx + 8]
jmp 0x1400078c1