Function at 0x100d44a0
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 0x100d44d4
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 0x100d4500
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 0x100d4678
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp ecx, 8
jb 0x100d4626
lea eax, [esi - 8]
lea eax, [eax + ecx*8]
cmp edx, eax
ja 0x100d455f
lea eax, [edx - 8]
lea eax, [eax + ecx*8]
cmp eax, esi
jae 0x100d4626
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
add eax, 0xfffffffc
cmp edx, eax
ja 0x100d457b
lea eax, [edx - 8]
lea eax, [eax + ecx*8]
cmp eax, dword [ebp + 0xc]
jae 0x100d4626
lea eax, [ecx - 1]
lea eax, [edi + eax*4]
cmp edx, eax
ja 0x100d4593
lea eax, [edx - 8]
lea eax, [eax + ecx*8]
cmp eax, edi
jae 0x100d4626
mov eax, ecx
and eax, 0x80000007
jns 0x100d45a1
dec eax
or eax, 0xfffffff8
inc eax
vmovupd ymm2, 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 ymm1, xmmword [edi + ebx*4]
vcvtps2pd ymm0, xmmword [ecx - 0x10]
mov edx, dword [ebp + 0x10]
lea ecx, [ecx + 0x20]
vfnmadd213pd ymm1, ymm1, ymm2
vmulpd ymm0, ymm1, ymm0
vmulpd ymm0, ymm0, ymmword [esi + ebx*8]
vcvtps2pd ymm1, xmmword [edx + ecx - 0x20]
mov edx, dword [ebp + 0x14]
lea eax, [eax + 0x40]
vmovupd ymmword [eax - 0x60], ymm0
vcvtps2pd ymm0, xmmword [ecx - 0x20]
vfnmadd213pd ymm1, ymm1, ymm2
vmulpd ymm0, ymm1, ymm0
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 0x100d45d0
mov ecx, dword [ebp - 8]
cmp ebx, ecx
jge 0x100d4678
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]
lea edx, [edx + 4]
lea eax, [eax + 8]
vmovss xmm0, dword [edx + edi - 4]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, xmm0
vsubsd xmm1, xmm2, xmm0
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 0x100d4643
pop edi
pop esi
pop ebx
vzeroupper
mov esp, ebp
pop ebp
ret 0x14