Function at 0x1400e2950
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov r14, qword [rcx + 0xc0b8]
lea rbx, [rcx + 0xc0c8]
xor r15d, r15d
mov qword [rsp + 0x40], r14
mov rdi, rcx
mov qword [rsp + 0x20], r15
mov rcx, qword [rbx]
lea r9, [rbp - 0x50]
mov edx, 0x102b
lea r8d, [r15 + 0x40]
call qword [r14 + Ordinal_142]
mov rcx, qword [rbx]
lea r9, [rsp + 0x70]
mov edx, 0x102c
mov dword [rbp + 0x80], eax
lea r8d, [r15 + 0x40]
mov qword [rsp + 0x20], r15
call qword [r14 + Ordinal_142]
mov rcx, qword [rbx]
lea r9, [rbp - 0x10]
or dword [rbp + 0x80], eax
lea r8d, [r15 + 0x40]
mov edx, 0x102d
mov qword [rsp + 0x20], r15
call qword [r14 + Ordinal_142]
or dword [rbp + 0x80], eax
jne 0x1400e31a2
lea rdx, str.Advanced_Micro_Devices__Inc.
lea rcx, [rsp + 0x70]
call fcn.140280a30
test eax, eax
mov dword [rdi + 0x12104], r15d
mov esi, r15d
sete sil
mov dword [rbp + 0x98], esi
test eax, eax
jne 0x1400e2ba6
lea rcx, str.atiadlxx.dll
mov r12d, r15d
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
jne 0x1400e2a4f
lea rcx, str.atiadlxy.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400e2b57
lea rdx, str.ADL_Main_Control_Create
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Main_Control_Destroy
mov rcx, rsi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov rcx, rsi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_PowerXpress_Scheme_Get
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test r15, r15
je 0x1400e2b29
test r13, r13
je 0x1400e2b29
test rbx, rbx
je 0x1400e2b29
test rax, rax
je 0x1400e2b29
mov edx, 1
lea rcx, [0x1400e2940]
call r15
xor r15d, r15d
test eax, eax
jne 0x1400e2b2c
lea rcx, [rbp + 0x88]
mov dword [rbp + 0x88], r15d
call rbx
test eax, eax
jne 0x1400e2b24
mov ebx, r15d
cmp dword [rbp + 0x88], r15d
jle 0x1400e2b24
nop dword [rax]
lea r9, [rsp + 0x50]
mov ecx, ebx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call r14
test eax, eax
jne 0x1400e2b24
cmp dword [rsp + 0x60], 2
jge 0x1400e2b1e
inc ebx
cmp ebx, dword [rbp + 0x88]
jl 0x1400e2af0
call r13
jmp 0x1400e2b2c
mov r12d, 1
call r13
jmp 0x1400e2b2c
xor r15d, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r12d, r12d
je 0x1400e2b4b
lea r8, str.OpenCL_acceleration_disabled__switchable_graphics_detected_n
mov edx, 2
jmp 0x1400e319a
mov r14, qword [rsp + 0x40]
lea rbx, [rdi + 0xc0c8]
mov rcx, qword [rbx]
lea r9, [rbp + 0x90]
mov edx, 0x4042
mov dword [rbp + 0x90], 4
mov r8d, 4
mov qword [rsp + 0x20], r15
call qword [r14 + Ordinal_142]
mov dword [rbp + 0x80], eax
test eax, eax
jne 0x1400e2ba6
cmp dword [rbp + 0x90], 1
jne 0x1400e2ba6
mov dword [rbp + 0x98], r15d
mov dword [rdi + 0x12104], 1
cmp dword [rdi + 0x12104], 0
lea rcx, str._SI_
lea r13, [0x1402f0cd0]
mov edx, 2
mov rax, r13
lea r9, [rsp + 0x70]
cmovne rax, rcx
lea r8, str.OpenCL_acceleration_enabled_with__s__s__s_n
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14010dde0
mov rcx, qword [rdi + 0x3c8]
lea rdx, [0x1402f5ec8]
call fcn.1400d4530
mov r12, rax
test rax, rax
je 0x1400e2e63
mov rax, qword [rdi + 0xc0b8]
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x50], rax
mov rsi, r15
lea r8d, [rdx + 2]
call fcn.14027f2f8
mov rcx, r12
call fcn.14027f9b0
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov rbx, rax
call fcn.14027f2f8
test rbx, rbx
js 0x1400e2e47
mov rcx, rbx
mov qword [rbp + 0x90], rbx
call fcn.1400c1e30
mov r15, rax
test rax, rax
je 0x1400e2e47
mov r8, qword [rbp + 0x90]
mov r9, r12
mov edx, 1
mov rcx, rax
call fcn.14027efc0
mov rcx, qword [rbp + 0x90]
cmp rax, rcx
jne 0x1400e2e47
mov r14, 0xffffffffffffffff
mov qword [rsp + 0x48], r15
mov rbx, r14
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400e2ca0
cmp rcx, rbx
jbe 0x1400e2e42
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.1402776e0
test eax, eax
jne 0x1400e2e42
mov rdx, qword [rbp + 0x90]
mov rax, r14
mov rcx, qword [rsp + 0x48]
sub rax, rbx
add rdx, rax
inc rcx
add rcx, rbx
mov qword [rbp + 0x90], rdx
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x70]
mov rbx, r14
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400e2d00
cmp rdx, rbx
jbe 0x1400e2e42
mov r8, rbx
lea rdx, [rsp + 0x70]
call fcn.1402776e0
test eax, eax
jne 0x1400e2e42
mov rdx, qword [rbp + 0x90]
mov rax, r14
mov rcx, qword [rsp + 0x48]
sub rax, rbx
add rdx, rax
inc rcx
add rcx, rbx
mov qword [rbp + 0x90], rdx
mov qword [rsp + 0x48], rcx
lea rax, [rbp - 0x10]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400e2d55
cmp rdx, rbx
jbe 0x1400e2e42
mov r8, rbx
lea rdx, [rbp - 0x10]
call fcn.1402776e0
test eax, eax
jne 0x1400e2e42
mov rdx, qword [rbp + 0x90]
mov rax, r14
mov rcx, qword [rsp + 0x48]
sub rax, rbx
add rdx, rax
inc rcx
add rcx, rbx
mov qword [rbp + 0x90], rdx
mov qword [rsp + 0x48], rcx
lea rax, str.f4b6c29ca248858bb7177e64694e42a8
mov rbx, r14
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400e2db0
cmp rdx, rbx
jbe 0x1400e2e42
mov r8, rbx
mov rdx, rax
call fcn.1402776e0
test eax, eax
jne 0x1400e2e42
mov rcx, qword [rsp + 0x48]
lea rax, [rbp + 0x88]
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x90]
sub r14, rbx
lea rax, [rsp + 0x48]
add qword [rbp + 0x90], r14
inc rcx
add rcx, rbx
xor r14d, r14d
mov qword [rsp + 0x48], rcx
lea rbx, [rdi + 0xc0c8]
mov rcx, qword [rdi + 0xc0c0]
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea edx, [r14 + 1]
mov rax, qword [rsp + 0x50]
call qword [rax + gethostname]
cmp dword [rbp + 0x88], r14d
mov rsi, rax
cmovne rsi, r14
mov r14, qword [rsp + 0x40]
jmp 0x1400e2e4e
mov r14, qword [rsp + 0x40]
lea rbx, [rdi + 0xc0c8]
mov rcx, r12
call fcn.14027af90
mov rcx, r15
call fcn.1400c1d50
test rsi, rsi
jne 0x1400e2ecb
lea r8, str.Compiling_OpenCL_kernels..._n
mov edx, 2
mov rcx, rdi
call fcn.14010dde0
mov rcx, qword [rdi + 0xc0c0]
lea rax, str.pragma_OPENCL_EXTENSION_cl_khr_local_int32_extended_atomics_:_enable_nconstant_sampler_t_sampler__CLK_NORMALIZED_COORDS_FALSE__CLK_ADDRESS_CLAMP_TO_EDGE__CLK_FILTER_NEAREST__n__7.18.1.1__Exact_width_integer_types___ntypedef_signed_char_int8_t__ntypedef_unsigned_char___uint8_t__ntypedef_short__int16_t__ntypedef_unsigned_short__uint16_t__ntypedef_int__int32_t__ntypedef_unsigned___uint32_t__ntypedef_uint8_t__pixel__ntypedef_uint16_t_sum_t__ntypedef_uint32_t_sum2_t__ndefine_LOWRES_COST_MASK___1__14__1__ndefine_LOWRES_COST_SHIFT_14_ndefine_COST_MAX__1__28__ndefine_PIXEL_MAX_255_ndefine_BITS_PER_SUM__8__sizeof_sum_t___n__Constants_for_offsets_into_frame_statistics_buffer___ndefine_COST_EST____0_ndefine_COST_EST_AQ_1_ndefine_INTRA_MBS___2_ndefine_COPY2_IF_LT__x__y__a__b___nif___y_____x____n_n_x____y___n_a____b___n_nconstant_int2_dia_offs_4___n_n0___1___1__0__1__0__0__1__n__ninline_pixel_x264_clip_pixel__int_x___n_nreturn__pixel__clamp__x___int__0___int__PIXEL_MAX____n_ninline_int2_x264_median_mv__short2_a__short2_b__short2_c___n_nshort2_t1__min_a__b___nshort2_t2__min_max_a__b___c___nreturn_convert_int2_max_t1__t2____n_ninline_sum2_t_abs2__sum2_t_a___n_nsum2_t_s____a_____BITS_PER_SUM___1_______sum2_t_1____BITS_PER_SUM___1______sum_t__1___nreturn__a__s___s__n_ndefine_HADAMARD4__d0__d1__d2__d3__s0__s1__s2__s3____nsum2_t_t0__s0__s1__nsum2_t_t1__s0___s1__nsum2_t_t2__s2__s3__nsum2_t_t3__s2___s3__nd0__t0__t2__nd2__t0___t2__nd1__t1__t3__nd3__t1___t3__n_ndefine_HADAMARD4V__d0__d1__d2__d3__s0__s1__s2__s3____nint2_t0__s0__s1__nint2_t1__s0___s1__nint2_t2__s2__s3__nint2_t3__s2___s3__nd0__t0__t2__nd2__t0___t2__nd1__t1__t3__nd3__t1___t3__n_ndefine_SATD_C_8x4_Q__name__q1__q2___nint_name__q1_pixel_pix1__int_i_pix1__q2_pixel_pix2__int_i_pix2___n_nsum2_t_tmp_4__4___nsum2_t_a0__a1__a2__a3__nsum2_t_sum__0__nfor__int_i__0__i___4__i__pix1__i_pix1__pix2__i_pix2___n_na0___pix1_0____pix2_0______sum2_t__pix1_4____pix2_4______BITS_PER_SUM___na1___pix1_1____pix2_1______sum2_t__pix1_5____pix2_5______BITS_PER_SUM___na2___pix1_2____pix2_2______sum2_t__pix1_6____pix2_6______BITS_PER_SUM___na3___pix1_3____pix2_3______sum2_t__pix1_7____pix2_7______BITS_PER_SUM___nHADAMARD4__tmp_i__0___tmp_i__1___tmp_i__2___tmp_i__3___a0__a1__a2__a3____n_nfor__int_i__0__i___4__i___n_nHADAMARD4__a0__a1__a2__a3__tmp_0__i___tmp_1__i___tmp_2__i___tmp_3__i_____nsum__abs2__a0____abs2__a1____abs2__a2____abs2__a3____n_nreturn____sum_t_sum____sum__BITS_PER_SUM______1__n_n__n_Utility_function_to_perform_a_parallel_sum_reduction_of_an_array_of_integers_n__nint_parallel_sum__int_value__int_x__volatile_local_int_array___n_narray_x___value__nbarrier__CLK_LOCAL_MEM_FENCE____nint_dim__get_local_size__0____nwhile__dim___1___n_ndim____1__nif__x___dim___narray_x___array_x__dim___nif__dim___32___nbarrier__CLK_LOCAL_MEM_FENCE____n_nreturn_array_0___n_nint_mv_cost__uint2_mvd___n_nfloat2_mvdf___float2__mvd.x__mvd.y___1.0f__nfloat2_cost__round__log2_mvdf___2.0f__0.718f___float2____mvd.x____mvd.y_____nreturn__int___cost.x__cost.y___n_n__Mode_selection_routines__select_the_least_SATD_cost_mode_for_each_lowres_n_macroblock.__When_measuring_B_slices__this_includes_measuring_the_cost_of_n_three_bidir_modes.____n__Four_threads_cooperatively_measure_8x8_BIDIR_cost_with_SATD___nint_bidir_satd_8x8_ii_coop4__read_only_image2d_t_fenc_lowres__nint2_fencpos__nread_only_image2d_t_fref0_planes__nint2_qpos0__nread_only_image2d_t_fref1_planes__nint2_qpos1__nint_weight__nlocal_sum2_t_tmpp__nint_idx___n_nvolatile_local_sum2_t__tmp___4____volatile_local_sum2_t_____4__tmpp__nsum2_t_b0__b1__b2__b3__nsum2_t_sum__0__nint2_fref0Apos___int2__qpos0.x__2__qpos0.y__2___nint_hpel0A____qpos0.x2___1____qpos0.y2___nint2_qpos0B___int2_qpos0___int2____qpos0.x1___1_____qpos0.y1___1____nint2_fref0Bpos___int2__qpos0B.x__2__qpos0B.y__2___nint_hpel0B____qpos0B.x2___1____qpos0B.y2___nint2_fref1Apos___
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x50], 0x12454
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov edx, 1
call qword [r14 + 0x40]
cmp dword [rbp + 0x80], 0
mov rsi, rax
jne 0x1400e318e
test rax, rax
je 0x1400e318e
cmp dword [rbp + 0x98], 0
lea rax, str._DVECTORIZE1
mov r8, rbx
mov rcx, rsi
cmovne r13, rax
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov r9, r13
mov qword [rsp + 0x20], r12
lea edx, [r12 + 1]
call qword [r14 + reloc.WS2_32.dll_htonl]
mov dword [rbp + 0x80], eax
test eax, eax
jne 0x1400e3080
mov rcx, qword [rdi + 0x3c8]
lea rdx, [0x140312b68]
call fcn.1400d4530
mov rbx, rax
test rax, rax
jne 0x1400e2f3f
lea r8, str.OpenCL:_unable_to_open_clbin_file_for_write_n
mov rcx, rdi
lea edx, [rax + 2]
call fcn.14010dde0
mov rax, rsi
jmp 0x1400e31a4
mov r14, qword [rdi + 0xc0b8]
lea r9, [rsp + 0x40]
mov edx, 0x1165
mov qword [rbp + 0x98], r12
mov r8d, 8
mov qword [rsp + 0x40], r12
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [r14 + 0xa8]
test eax, eax
jne 0x1400e3050
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400e3050
call fcn.1400c1e30
mov qword [rbp + 0x98], rax
test rax, rax
je 0x1400e3064
lea r9, [rbp + 0x98]
mov qword [rsp + 0x20], r12
mov edx, 0x1166
mov r8d, 8
mov rcx, rsi
call qword [r14 + 0xa8]
test eax, eax
je 0x1400e2fcd
lea r8, str.OpenCL:_Unable_to_query_program_binary__no_cache_file_generated_n
jmp 0x1400e3057
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140281f18
mov rdx, rbx
mov ecx, 0xa
call fcn.140281dbc
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140281f18
mov rdx, rbx
mov ecx, 0xa
call fcn.140281dbc
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140281f18
mov rdx, rbx
mov ecx, 0xa
call fcn.140281dbc
mov rdx, rbx
lea rcx, str.f4b6c29ca248858bb7177e64694e42a8
call fcn.140281f18
mov rdx, rbx
mov ecx, 0xa
call fcn.140281dbc
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov rcx, qword [rbp + 0x98]
mov edx, 1
call fcn.14027b8d0
jmp 0x1400e3064
lea r8, str.OpenCL:_Unable_to_query_program_binary_size__no_cache_file_generated_n
mov edx, 2
mov rcx, rdi
call fcn.14010dde0
mov rcx, rbx
call fcn.14027af90
mov rcx, qword [rbp + 0x98]
call fcn.1400c1d50
mov rax, rsi
jmp 0x1400e31a4
mov rdx, qword [rbx]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x1183
mov qword [rsp + 0x20], r12
mov rcx, rsi
mov qword [rsp + 0x58], r12
call qword [r14 + 0xa0]
mov dword [rbp + 0x80], eax
test eax, eax
jne 0x1400e315e
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400e315e
call fcn.1400c1e30
mov r15, rax
test rax, rax
jne 0x1400e30df
lea r8, str.OpenCL:_Compilation_failed__unable_to_alloc_build_log_n
jmp 0x1400e3168
mov r9, qword [rsp + 0x58]
mov r8d, 0x1183
mov rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call qword [r14 + 0xa0]
mov dword [rbp + 0x80], eax
test eax, eax
je 0x1400e3114
lea r8, str.OpenCL:_Compilation_failed__unable_to_get_build_log_n
jmp 0x1400e3168
lea rdx, [0x1402f2518]
lea rcx, str.x264_kernel_build_log.txt
call fcn.1400d4530
mov rbx, rax
test rax, rax
jne 0x1400e3138
lea r8, str.OpenCL:_Compilation_failed__unable_to_create_file_x264_kernel_build_log.txt_n
jmp 0x1400e3168
mov r8, qword [rsp + 0x58]
mov r9, rbx
mov edx, 1
mov rcx, r15
call fcn.14027b8d0
mov rcx, rbx
call fcn.14027af90
lea r8, str.OpenCL:_kernel_build_errors_written_to_x264_kernel_build_log.txt_n
jmp 0x1400e3168
lea r8, str.OpenCL:_Compilation_failed__unable_to_query_build_log_n
mov r15, r12
mov edx, 1
mov rcx, rdi
call fcn.14010dde0
mov rcx, r15
call fcn.1400c1d50
test rsi, rsi
je 0x1400e31a2
mov rcx, rsi
call qword [r14 + reloc.WLDAP32.dll_Ordinal_216]
jmp 0x1400e31a2
lea r8, str.OpenCL:_unable_to_create_program_n
mov edx, 1
mov rcx, rdi
call fcn.14010dde0
xor eax, eax
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret