Function at 0x1000f630
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077d0d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x128
mov eax, dword [0x100a900c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov al, byte [0x100b01fc]
mov dword [ebp - 0x44], 0x100b01fc
mov byte [0x100b01fd], al
test al, al
je 0x1000fa89
call fcn.1000fcf0
test al, al
jne 0x1000f6a6
mov dword [0x100b0224], 2
jmp 0x1000fa8b
mov eax, dword [0x100b0224]
sub eax, 0
je 0x1000f6c3
sub eax, 1
je 0x1000fa89
mov ebx, dword [ebp - 0x14]
xor al, al
jmp 0x1000fa8b
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.OpenCL.dll_clGetPlatformIDs]
push eax
push 0
push 0
mov dword [ebp - 0x34], 0
call edi
test eax, eax
jne 0x1000fb8c
mov esi, dword [ebp - 0x34]
lea eax, [esi*4]
call fcn.10075d20
mov dword [ebp - 0x10], esp
mov eax, esp
push 0
push eax
push esi
mov dword [ebp - 0x24], eax
call edi
test eax, eax
jne 0x1000fbaa
mov eax, dword [ebp - 0x24]
mov ecx, 0x100b0200
push 0x100b0204
sub esp, 8
mov eax, dword [eax]
mov dword [0x100b0200], eax
call fcn.1000f390
mov byte [ebp - 4], 1
mov esi, dword [0x100b0208]
mov edi, dword [0x100b0204]
sub esi, edi
sar esi, 3
lea eax, [esi*4]
call fcn.10075d20
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov edx, esp
test esi, esi
je 0x1000f769
mov eax, dword [edi + ecx*8]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jae 0x1000f769
mov edi, dword [0x100b0204]
jmp 0x1000f756
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push edx
push esi
push 0
call dword [sym.imp.OpenCL.dll_clCreateContext]
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
test eax, eax
jne 0x1000fbc8
mov byte [ebp - 4], 2
mov eax, dword [0x100b0210]
mov edi, dword [sym.imp.OpenCL.dll_clReleaseContext]
test eax, eax
je 0x1000f7a9
push eax
call edi
test eax, eax
jne 0x1000fbe6
mov dword [0x100b0210], esi
test esi, esi
je 0x1000f7c2
push esi
call dword [sym.imp.OpenCL.dll_clRetainContext]
test eax, eax
jne 0x1000fc04
mov byte [ebp - 4], 0
test esi, esi
je 0x1000f7cd
push esi
call edi
cmp byte [0x100b0011], 0
je 0x1000fc22
cmp byte [0x100b0218], 0
je 0x1000f7fa
mov eax, dword [0x100b0214]
test eax, eax
je 0x1000f7f3
push eax
call dword [sym.imp.OpenCL.dll_clReleaseProgram]
mov byte [0x100b0218], 0
mov ecx, 0x100a9180
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f817
sub ecx, edx
push ecx
push 0x100a9180
lea ecx, [ebp - 0x68]
call fcn.10026940
push ecx
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
push 0x100b0210
mov ecx, 0x100b0214
call fcn.1000f540
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x1000f882
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f878
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000f878
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007516e
add esp, 8
push 0
push 0
push 0
push 0
push 0
push dword [0x100b0214]
mov byte [0x100b0218], 1
call dword [sym.imp.OpenCL.dll_clBuildProgram]
test eax, eax
jne 0x1000fc4f
call fcn.1001fca0
xor edx, edx
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
xor eax, eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
mov ecx, dword [0x100b0208]
mov edi, dword [sym.imp.OpenCL.dll_clGetDeviceInfo]
mov esi, dword [0x100b0204]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x20], edi
cmp esi, ecx
je 0x1000f974
push 0
lea eax, [ebp - 0x40]
push eax
push 8
push 0x1000
push dword [esi]
call edi
test eax, eax
jne 0x1000fc6d
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
cmp edi, dword [ebp - 0x28]
je 0x1000f952
push esi
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.1000f140
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add eax, 0x10
mov ecx, dword [ebp - 0x48]
add esi, 8
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x1000f8e4
lea eax, [ebp - 0x50]
push eax
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.1002a670
mov eax, dword [ebp - 0x2c]
add esi, 8
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x20]
jmp 0x1000f8e4
mov byte [ebp - 0x20], 0
mov ecx, eax
push dword [ebp - 0x20]
sub ecx, edx
push edx
sar ecx, 4
push eax
call fcn.10034d50
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov esi, dword [0x100b0204]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
nop dword [eax + eax]
cmp edi, eax
je 0x1000f9b7
push edi
mov ecx, esi
call fcn.1000f270
mov eax, dword [ebp - 0x20]
add esi, 8
add edi, 0x10
jmp 0x1000f9a0
mov eax, dword [0x100b0204]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push ecx
push 0
push 0
push dword [eax]
push dword [0x100b0210]
call dword [sym.imp.OpenCL.dll_clCreateCommandQueue]
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], esi
test eax, eax
jne 0x1000fc8b
mov byte [ebp - 4], 8
mov eax, dword [0x100b021c]
mov edi, dword [sym.imp.OpenCL.dll_clReleaseCommandQueue]
test eax, eax
je 0x1000fa04
push eax
call edi
test eax, eax
jne 0x1000fca9
mov dword [0x100b021c], esi
test esi, esi
je 0x1000fa20
push esi
call dword [sym.imp.OpenCL.dll_clRetainCommandQueue]
test eax, eax
jne 0x1000fcc7
push esi
call edi
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1000fa7f
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x1000fa4d
nop
mov eax, dword [esi]
test eax, eax
je 0x1000fa43
cmp byte [esi + 4], 0
je 0x1000fa43
push eax
call dword [sym.imp.OpenCL.dll_clReleaseDevice]
add esi, 0x10
cmp esi, edi
jne 0x1000fa30
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1000fa75
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fa75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1007516e
add esp, 8
mov dword [0x100b0224], 1
mov al, 1
lea esp, [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1007491a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x10099988
push eax
lea ecx, [ebp - 0x84]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x10099988
push eax
lea ecx, [ebp - 0x98]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x1009999c
push eax
lea ecx, [ebp - 0xac]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Release_Object
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Retain_Object
push eax
lea ecx, [ebp - 0xd4]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
xor esi, esi
xor edi, edi
mov ecx, edi
lea esi, [esi + 1]
and ecx, 7
mov dl, 0x2d
rol dl, cl
add edi, 3
xor byte [esi + 0x100a917f], dl
cmp edi, 0x14bb3
jb 0x1000fc26
mov byte [0x100b0011], 1
jmp 0x1000f7da
push 0x100999e0
push eax
lea ecx, [ebp - 0xe8]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x1009c404
push eax
lea ecx, [ebp - 0xfc]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x100999ac
push eax
lea ecx, [ebp - 0x110]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Release_Object
push eax
lea ecx, [ebp - 0x124]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Retain_Object
push eax
lea ecx, [ebp - 0x138]
call fcn.1000efc0
push 0x100a67ac
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3