Function at 0x140006370
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400ed1f8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
mov r12, rcx
mov qword [rsp + 0x68], rdx
xor esi, esi
cmp qword [rdx + 0x10], rsi
jne 0x1400066d3
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140051130
nop
movzx eax, byte [rbp - 0x30]
cmp al, 1
je 0x1400064ce
mov r14d, dword [rbp - 0x50]
cmp al, 1
cmove r14d, esi
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostBrowserHostFrameworkClient.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CBrowserHostFrameworkClient::Load
lea r8d, [rsi + 0x2d]
mov dl, 4
lea rcx, [rbp - 0x20]
call fcn.140004ac0
nop
lea rbx, [rax + 0xa8]
lea rdx, str.Error_querying_current_process_path._Error:
mov rcx, rbx
call fcn.14000aa80
mov edx, r14d
mov rcx, rbx
call fcn.140007780
nop
lea rcx, [rbp - 0x20]
call fcn.140004d50
nop
movzx ecx, byte [rbp - 0x30]
test ecx, ecx
je 0x140006487
cmp ecx, 1
jne 0x140006487
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140006477
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ade
call fcn.14005ce30
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400064c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400064c1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ac0
mov rcx, r8
call fcn.14005ce30
mov eax, r14d
jmp 0x140006a7a
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140007e00
nop
lea r11, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
setae r15b
mov r14, qword [rsp + 0x70]
cmovae r11, r14
mov rbx, qword [rbp - 0x80]
lea rdx, [r11 + rbx*2]
mov rcx, r11
call fcn.140003c40
cmp rax, rdx
je 0x14000653c
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140006518
cmp cx, 0x2f
jne 0x140006520
add rax, 2
jmp 0x140006504
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000653c
cmp cx, 0x2f
je 0x14000653c
mov rdx, r8
cmp rax, r8
jne 0x140006520
sub rdx, r11
sar rdx, 1
cmp rbx, rdx
jb 0x140006ac6
lea rax, [rsp + 0x70]
test r15b, r15b
cmovne rax, r14
mov qword [rbp - 0x80], rdx
mov word [rax + rdx*2], si
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
mov r8d, 0x18
lea rdx, str.BrowserHostFramework.dll
lea rcx, [rbp - 0x70]
call fcn.1400027c0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140003d30
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400065d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006acc
call fcn.14005ce30
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140007e00
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.140007d10
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140006634
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000662e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ad2
call fcn.14005ce30
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140006675
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ad8
call fcn.14005ce30
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
movzx ecx, byte [rbp - 0x30]
test ecx, ecx
je 0x1400066d3
cmp ecx, 1
jne 0x1400066d3
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400066d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ade
call fcn.14005ce30
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400066e0
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400067b2
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostBrowserHostFrameworkClient.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CBrowserHostFrameworkClient::Load
mov r8d, 0x3b
mov dl, 4
lea rcx, [rbp - 0x20]
call fcn.140004ac0
nop
lea rbx, [rax + 0xa8]
lea rdx, str.Error_loading_DLL
mov rcx, rbx
call fcn.14000aa80
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140006736
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14000c660
lea rdx, str.._Error:
mov rcx, rbx
call fcn.14000aa80
mov edx, 2
mov rcx, rbx
call fcn.140007780
nop
lea rcx, [rbp - 0x20]
call fcn.140004d50
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400067a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400067a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006aba
mov rcx, r8
call fcn.14005ce30
mov eax, 2
jmp 0x140006a7a
mov rcx, qword [r12]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140071fe6.0]
mov ebx, eax
test eax, eax
je 0x140006891
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostBrowserHostFrameworkClient.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CBrowserHostFrameworkClient::Load
mov r8d, 0x42
mov dl, 4
lea rcx, [rbp - 0x20]
call fcn.140004ac0
nop
lea r14, [rax + 0xa8]
lea rdx, str.Error_loading_DLL
mov rcx, r14
call fcn.14000aa80
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000681b
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, r14
call fcn.14000c660
lea rdx, str.._Error:
mov rcx, r14
call fcn.14000aa80
mov edx, ebx
mov rcx, r14
call fcn.140007780
nop
lea rcx, [rbp - 0x20]
call fcn.140004d50
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000688a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140006885
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006aba
mov rcx, r8
call fcn.14005ce30
mov eax, ebx
jmp 0x140006a7a
mov rbx, qword [r12]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov r8d, 0x17
lea rdx, str.GetBrowserHostFramework
lea rcx, [rsp + 0x70]
call fcn.140009630
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140006916
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006911
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ab4
call fcn.14005ce30
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
test rbx, rbx
jne 0x140006981
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostBrowserHostFrameworkClient.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CBrowserHostFrameworkClient::Load
lea r8d, [rbx + 0x4b]
mov dl, 4
lea rcx, [rbp - 0x20]
call fcn.140004ac0
nop
lea rbx, [rax + 0xa8]
lea rdx, str.Error_getting_exported_function_address_from_DLL
mov rcx, rbx
call fcn.14000aa80
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140006972
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14000c660
nop
jmp 0x1400069ed
mov rax, rbx
call qword [case.0x140071fe6.0]
mov qword [r12 + 8], rax
test rax, rax
jne 0x140006a3d
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostBrowserHostFrameworkClient.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CBrowserHostFrameworkClient::Load
mov r8d, 0x52
mov dl, 4
lea rcx, [rbp - 0x20]
call fcn.140004ac0
nop
lea rbx, [rax + 0xa8]
lea rdx, str.Error__nullptr_as_framework_interface_address_from_DLL
mov rcx, rbx
call fcn.14000aa80
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400069e0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14000c660
nop
lea rcx, [rbp - 0x20]
call fcn.140004d50
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140006a36
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140006a31
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006aba
mov rcx, r8
call fcn.14005ce30
mov eax, 1
jmp 0x140006a7a
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140006a78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140006a73
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006aba
mov rcx, r8
call fcn.14005ce30
xor eax, eax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140068e00
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14008c3ec
nop
call fcn.14008c3ec
int3
call fcn.14008c3ec
nop
call fcn.14000a970
nop
call fcn.14008c3ec
int3
call fcn.14008c3ec
nop
call fcn.14008c3ec
nop
call fcn.14008c3ec
int3