Function at 0x100d42a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0x30], 0
je 0x100d42d4
push 0x11d
push str.C:Code_tesseract_srclstm_networkio.h
push str.in_file__s__line__d
push 2
push str._int_mode_
push 0x101efd80
call sym.tesseract41.dll_public:_void___cdecl_ERRCODE::error_char_const___enum_TessErrorLogCode__char_const__const
add esp, 0x18
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x30], 0
je 0x100d4300
push 0x11e
push str.C:Code_tesseract_srclstm_networkio.h
push str.in_file__s__line__d
push 2
push str._v_io.int_mode_
push 0x101efd80
call sym.tesseract41.dll_public:_void___cdecl_ERRCODE::error_char_const___enum_TessErrorLogCode__char_const__const
add esp, 0x18
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 4]
push 0
push dword [ebp + 8]
call dword [eax + 8]
mov ecx, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
lea edi, [esi + eax*4]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
call dword [eax + 8]
mov ecx, dword [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 8], ecx
lea eax, [esi + eax*4]
mov dword [ebp + 0xc], eax
test ecx, ecx
jle 0x100d4485
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp ecx, 8
jb 0x100d442c
lea eax, [esi - 8]
lea eax, [eax + ecx*8]
cmp edx, eax
ja 0x100d435f
lea eax, [edx - 8]
lea eax, [eax + ecx*8]
cmp eax, esi
jae 0x100d442c
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
add eax, 0xfffffffc
cmp edx, eax
ja 0x100d437b
lea eax, [edx - 8]
lea eax, [eax + ecx*8]
cmp eax, dword [ebp + 0xc]
jae 0x100d442c
lea eax, [ecx - 1]
lea eax, [edi + eax*4]
cmp edx, eax
ja 0x100d4393
lea eax, [edx - 8]
lea eax, [eax + ecx*8]
cmp eax, edi
jae 0x100d442c
mov eax, ecx
and eax, 0x80000007
jns 0x100d43a1
dec eax
or eax, 0xfffffff8
inc eax
vmovupd ymm3, ymmword [0x101efc40]
mov esi, ecx
mov ecx, edi
sub esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
sub ecx, eax
mov dword [ebp + 0x10], ecx
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0x14]
mov eax, esi
mov ecx, dword [ebp + 8]
sub eax, edx
mov dword [ebp + 0x14], eax
lea eax, [edx + 0x20]
vcvtps2pd ymm2, xmmword [edi + ebx*4]
vcvtps2pd ymm1, xmmword [ecx - 0x10]
mov edx, dword [ebp + 0x10]
lea ecx, [ecx + 0x20]
vsubpd ymm0, ymm3, ymm2
vmulpd ymm0, ymm0, ymm2
vmulpd ymm0, ymm0, ymm1
vmulpd ymm0, ymm0, ymmword [esi + ebx*8]
vcvtps2pd ymm2, xmmword [edx + ecx - 0x20]
mov edx, dword [ebp + 0x14]
lea eax, [eax + 0x40]
vcvtps2pd ymm1, xmmword [ecx - 0x20]
vmovupd ymmword [eax - 0x60], ymm0
vsubpd ymm0, ymm3, ymm2
vmulpd ymm0, ymm0, ymm2
vmulpd ymm0, ymm0, ymm1
vmulpd ymm0, ymm0, ymmword [edx + eax - 0x40]
mov edx, dword [ebp + 0x18]
add ebx, 8
vmovupd ymmword [eax - 0x40], ymm0
cmp ebx, dword [ebp - 4]
jl 0x100d43d0
mov ecx, dword [ebp - 8]
cmp ebx, ecx
jge 0x100d4485
sub edi, dword [ebp + 0xc]
lea eax, [edx + ebx*8]
mov edx, dword [ebp + 0xc]
sub esi, dword [ebp + 0x18]
sub ecx, ebx
vmovsd xmm2, qword [0x101af3e0]
lea edx, [edx + ebx*4]
nop dword [eax]
lea edx, [edx + 4]
lea eax, [eax + 8]
vmovss xmm1, dword [edx + edi - 4]
vcvtss2sd xmm1, xmm1, xmm1
vsubsd xmm0, xmm2, xmm1
vmulsd xmm1, xmm0, xmm1
vmovss xmm0, dword [edx - 4]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm1, xmm0
vmulsd xmm0, xmm0, qword [eax + esi - 8]
vmovsd qword [eax - 8], xmm0
sub ecx, 1
jne 0x100d4450
pop edi
pop esi
pop ebx
vzeroupper
mov esp, ebp
pop ebp
ret 0x14