Function at 0x1804b71c0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea rcx, str.OPENCV_OPENCL_RAISE_ERROR
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rsi, rax
test rax, rax
je 0x1804b74bd
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov rbp, 0xffffffffffffffff
mov rdi, rbp
inc rdi
cmp byte [rax + rdi], r14b
jne 0x1804b7211
lea rcx, [rdi + 4]
and rcx, 0xfffffffffffffffc
add rcx, 4
call fcn.180448ef0
mov dword [rax], 1
lea rbx, [rax + 4]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov byte [rdi + rbx], r14b
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
nop
lea rax, [0x1805b0fdc]
cmp rbx, rax
je 0x1804b74c1
lea r8, [0x1805a2ed6]
mov rcx, r8
test rbx, rbx
cmovne rcx, rbx
movzx eax, byte [rcx]
cmp al, byte [0x1805b0fdc]
jne 0x1804b728f
movzx eax, byte [rcx + 1]
cmp al, byte [0x1805b0fdd]
jne 0x1804b728f
mov eax, r14d
jmp 0x1804b7294
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b74c1
lea r9, str.True
cmp rbx, r9
je 0x1804b74c1
mov rdx, r8
test rbx, rbx
cmovne rdx, rbx
mov rcx, r14
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1804b72d9
cmp rcx, 5
jne 0x1804b72c0
mov eax, r14d
jmp 0x1804b72de
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b74c1
lea r9, str.true
cmp rbx, r9
je 0x1804b74c1
mov rdx, r8
test rbx, rbx
cmovne rdx, rbx
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1804b7329
cmp rcx, 5
jne 0x1804b7310
mov eax, r14d
jmp 0x1804b732e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b74c1
lea r9, str.TRUE
cmp rbx, r9
je 0x1804b74c1
mov rdx, r8
test rbx, rbx
cmovne rdx, rbx
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1804b7379
cmp rcx, 5
jne 0x1804b7360
mov eax, r14d
jmp 0x1804b737e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b74c1
lea rax, [0x1805ac070]
cmp rbx, rax
je 0x1804b7492
mov rcx, r8
test rbx, rbx
cmovne rcx, rbx
movzx eax, byte [rcx]
cmp al, byte [0x1805ac070]
jne 0x1804b73bc
movzx eax, byte [rcx + 1]
cmp al, byte [0x1805ac071]
jne 0x1804b73bc
mov eax, r14d
jmp 0x1804b73c1
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b7492
lea r9, str.False
cmp rbx, r9
je 0x1804b7492
mov rdx, r8
test rbx, rbx
cmovne rdx, rbx
mov rcx, r14
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1804b7409
cmp rcx, 6
jne 0x1804b73f0
mov eax, r14d
jmp 0x1804b740e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b7492
lea r9, str.false
cmp rbx, r9
je 0x1804b7492
mov rdx, r8
test rbx, rbx
cmovne rdx, rbx
mov rcx, r14
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1804b7449
cmp rcx, 6
jne 0x1804b7430
mov eax, r14d
jmp 0x1804b744e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804b7492
lea rdx, str.FALSE
cmp rbx, rdx
je 0x1804b7492
test rbx, rbx
cmovne r8, rbx
mov rcx, r14
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1804b7489
cmp rcx, 6
jne 0x1804b7470
mov eax, r14d
jmp 0x1804b748e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1804b7509
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
test rbx, rbx
je 0x1804b74bd
lea rcx, [rbx - 4]
lock xadd dword [rcx], ebp
cmp ebp, 1
jne 0x1804b74bd
test rcx, rcx
je 0x1804b74bd
mov rcx, qword [rcx - 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
jmp 0x1804b74ee
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
test rbx, rbx
je 0x1804b74ec
lea rcx, [rbx - 4]
lock xadd dword [rcx], ebp
cmp ebp, 1
jne 0x1804b74ec
test rcx, rcx
je 0x1804b74ec
mov rcx, qword [rcx - 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rcx, [rsp + 0x38]
call fcn.180139a40
mov r9, rax
lea r8, str.OPENCV_OPENCL_RAISE_ERROR
lea rdx, str.Invalid_value_for__s_parameter:__s
lea rcx, [rsp + 0x48]
call fcn.180474350
nop
mov dword [rsp + 0x20], 0x59
lea r8, str.getBoolParameter
mov rdx, rax
call fcn.1804b7570
int3