Function at 0x1804f2430
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 0x1804f272d
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 0x1804f2481
lea rcx, [rdi + 4]
and rcx, 0xfffffffffffffffc
add rcx, 4
call fcn.180484a10
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, [0x1805f3adc]
cmp rbx, rax
je 0x1804f2731
lea r8, [0x1805e24b8]
mov rcx, r8
test rbx, rbx
cmovne rcx, rbx
movzx eax, byte [rcx]
cmp al, byte [0x1805f3adc]
jne 0x1804f24ff
movzx eax, byte [rcx + 1]
cmp al, byte [0x1805f3add]
jne 0x1804f24ff
mov eax, r14d
jmp 0x1804f2504
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2731
lea r9, str.True
cmp rbx, r9
je 0x1804f2731
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 0x1804f2549
cmp rcx, 5
jne 0x1804f2530
mov eax, r14d
jmp 0x1804f254e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2731
lea r9, str.true
cmp rbx, r9
je 0x1804f2731
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 0x1804f2599
cmp rcx, 5
jne 0x1804f2580
mov eax, r14d
jmp 0x1804f259e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2731
lea r9, str.TRUE
cmp rbx, r9
je 0x1804f2731
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 0x1804f25e9
cmp rcx, 5
jne 0x1804f25d0
mov eax, r14d
jmp 0x1804f25ee
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2731
lea rax, [0x1805efc54]
cmp rbx, rax
je 0x1804f2702
mov rcx, r8
test rbx, rbx
cmovne rcx, rbx
movzx eax, byte [rcx]
cmp al, byte [0x1805efc54]
jne 0x1804f262c
movzx eax, byte [rcx + 1]
cmp al, byte [0x1805efc55]
jne 0x1804f262c
mov eax, r14d
jmp 0x1804f2631
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2702
lea r9, str.False
cmp rbx, r9
je 0x1804f2702
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 0x1804f2679
cmp rcx, 6
jne 0x1804f2660
mov eax, r14d
jmp 0x1804f267e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2702
lea r9, str.false
cmp rbx, r9
je 0x1804f2702
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 0x1804f26b9
cmp rcx, 6
jne 0x1804f26a0
mov eax, r14d
jmp 0x1804f26be
sbb eax, eax
or eax, 1
test eax, eax
je 0x1804f2702
lea rdx, str.FALSE
cmp rbx, rdx
je 0x1804f2702
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 0x1804f26f9
cmp rcx, 6
jne 0x1804f26e0
mov eax, r14d
jmp 0x1804f26fe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1804f2779
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
test rbx, rbx
je 0x1804f272d
lea rcx, [rbx - 4]
lock xadd dword [rcx], ebp
cmp ebp, 1
jne 0x1804f272d
test rcx, rcx
je 0x1804f272d
mov rcx, qword [rcx - 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
jmp 0x1804f275e
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
test rbx, rbx
je 0x1804f275c
lea rcx, [rbx - 4]
lock xadd dword [rcx], ebp
cmp ebp, 1
jne 0x1804f275c
test rcx, rcx
je 0x1804f275c
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.180170ed0
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.1804af880
nop
mov dword [rsp + 0x20], 0x59
lea r8, str.getBoolParameter
mov rdx, rax
call fcn.1804f27e0
int3