Function at 0x100eca40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a2723
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
push esi
push edi
mov eax, dword [0x10290198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp byte [ebx + 8], 0
mov esi, dword [ebx + 0xc]
je 0x100eca9c
cmp dword [edi + 4], 4
je 0x100eca9c
push esi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::Network::DisplayBackward_class_tesseract::NetworkIO_const__
mov byte [ebx + 8], 0
cmp dword [edi + 4], 8
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x2c], eax
jne 0x100eccf4
lea ecx, [ebp - 0x94]
call sym.tesseract41.dll_public:_void___thiscall_GenericVector_class_tesseract::NetworkScratch::IO_::constructor_void_
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call sym.tesseract41.dll_public:_void___thiscall_GenericVector_class_tesseract::NetworkScratch::IO_::constructor_void_
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x94]
call sym.tesseract41.dll_public:_void___thiscall_GenericVector_class_tesseract::NetworkScratch::IO_::init_to_size_int__class_tesseract::NetworkScratch::IO_const__
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
call sym.tesseract41.dll_public:_void___thiscall_GenericVector_class_tesseract::NetworkScratch::IO_::init_to_size_int__class_tesseract::NetworkScratch::IO_const__
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], edx
cmp dword [edi + 0x30], edx
jle 0x100ecc52
mov ecx, dword [ebp - 0x8c]
lea eax, [esi + 0x34]
mov esi, dword [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x40], eax
add esi, 8
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x38]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + esi], 0
jne 0x100ecba4
mov edx, dword [ebx + 0x10]
cmp byte [edx], 0
je 0x100ecb7a
mov eax, dword [ebx + 0xc]
cmp byte [eax + 0x30], 0
je 0x100ecb7a
mov al, 1
jmp 0x100ecb7c
xor al, al
mov byte [ecx - 4], al
test al, al
mov ecx, dword [ebp - 0x3c]
mov eax, 0x34
mov dword [ecx + esi], edx
mov ecx, 4
cmove ecx, eax
add ecx, edx
call sym.tesseract41.dll_public:_class_tesseract::NetworkIO____thiscall_tesseract::NetworkScratch::Stack_class_tesseract::NetworkIO_::Borrow_void_
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x100ecba6
mov ecx, dword [ecx]
mov eax, dword [ebx + 0xc]
push dword [ebp - 0x30]
push dword [ebp - 0x40]
mov al, byte [eax + 0x30]
push eax
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::ResizeToMap_bool__class_tesseract::StrideMap_const___int_
cmp dword [esi], 0
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x44], eax
jne 0x100ecc05
mov edx, dword [ebx + 0x10]
cmp byte [edx], 0
je 0x100ecbe1
mov eax, dword [ebx + 0xc]
cmp byte [eax + 0x30], 0
je 0x100ecbe1
mov al, 1
jmp 0x100ecbe3
xor al, al
test al, al
mov byte [esi - 8], al
mov eax, 0x34
mov dword [esi], edx
mov ecx, 4
cmove ecx, eax
add ecx, edx
call sym.tesseract41.dll_public:_class_tesseract::NetworkIO____thiscall_tesseract::NetworkScratch::Stack_class_tesseract::NetworkIO_::Borrow_void_
mov ecx, eax
mov dword [esi - 4], ecx
jmp 0x100ecc08
mov ecx, dword [esi - 4]
mov eax, dword [ebx + 0xc]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
mov al, byte [eax + 0x30]
push eax
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::ResizeToMap_bool__class_tesseract::StrideMap_const___int_
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x34]
push dword [ebx + 0xc]
mov ecx, dword [eax]
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::CopyUnpacking_class_tesseract::NetworkIO_const___int__int_
mov edx, dword [ebp - 0x38]
add esi, 0xc
mov eax, dword [ebp - 0x34]
inc edx
mov ecx, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
add ecx, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], ecx
cmp edx, dword [edi + 0x30]
jl 0x100ecb50
mov ecx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebx + 0x14]
test ecx, ecx
jle 0x100ecca4
nop
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x38]
mov edx, dword [eax + esi*4]
mov eax, dword [edx]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x44], eax
test esi, esi
jne 0x100ecc79
mov ecx, edi
jmp 0x100ecc83
mov ecx, dword [ebp - 0x50]
lea eax, [esi + esi*2]
mov ecx, dword [ecx + eax*4 + 4]
push ecx
mov ecx, dword [ebp - 0x8c]
lea eax, [esi + esi*2]
push dword [ebx + 0x10]
push dword [ecx + eax*4 + 4]
mov ecx, edx
push dword [ebx + 8]
call dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
inc esi
cmp esi, ecx
jl 0x100ecc60
mov esi, dword [ebp - 0x24]
cmp byte [esi + 0xc], 0
je 0x100eccd5
cmp ecx, 1
jle 0x100eccd5
mov esi, dword [ebp - 0x50]
lea eax, [ecx - 1]
add esi, 0x10
mov dword [ebp - 0x40], eax
nop
push dword [esi]
mov ecx, edi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::AddAllToFloat_class_tesseract::NetworkIO_const__
sub dword [ebp - 0x40], 1
lea esi, [esi + 0xc]
jne 0x100eccc0
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
call sym.tesseract41.dll_public:_void___thiscall_GenericVector_class_tesseract::NetworkScratch::IO_::destructor_void_
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call sym.tesseract41.dll_public:_void___thiscall_GenericVector_class_tesseract::NetworkScratch::IO_::destructor_void_
jmp 0x100ece9b
mov eax, dword [ebx + 0x10]
cmp byte [eax], 0
je 0x100ecd0b
cmp byte [esi + 0x30], 0
je 0x100ecd0b
mov byte [ebp - 0x64], 1
lea ecx, [eax + 4]
jmp 0x100ecd12
mov byte [ebp - 0x64], 0
lea ecx, [eax + 0x34]
mov dword [ebp - 0x5c], eax
call sym.tesseract41.dll_public:_class_tesseract::NetworkIO____thiscall_tesseract::NetworkScratch::Stack_class_tesseract::NetworkIO_::Borrow_void_
mov edx, eax
mov dword [ebp - 0x60], edx
xor esi, esi
mov dword [ebp - 4], 6
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp dword [edi + 0x30], ecx
mov edi, dword [ebx + 0x14]
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], ecx
jle 0x100ece29
jmp 0x100ecd53
mov edx, dword [ebp - 0x60]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4]
mov ecx, edx
mov esi, dword [eax + 0x18]
push esi
push dword [ebp - 0x38]
push dword [ebx + 0xc]
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::CopyUnpacking_class_tesseract::NetworkIO_const___int__int_
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add dword [ebp - 0x38], esi
mov esi, dword [ebx + 0x10]
mov eax, dword [eax + 0x38]
push edi
push esi
push dword [ebp - 0x60]
mov ecx, dword [eax + ecx*4]
push dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
mov ecx, dword [ebp - 0x28]
test al, al
je 0x100ece16
mov al, byte [edi + 0x30]
test ecx, ecx
jne 0x100ecde8
test al, al
je 0x100ecda6
mov eax, dword [edi + 0x28]
jmp 0x100ecda9
mov eax, dword [edi + 0x10]
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x40], eax
jne 0x100ecdc8
lea ecx, [esi + 0x34]
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x48], esi
call sym.tesseract41.dll_public:_class_tesseract::NetworkIO____thiscall_tesseract::NetworkScratch::Stack_class_tesseract::NetworkIO_::Borrow_void_
mov esi, eax
mov dword [ebp - 0x4c], esi
jmp 0x100ecdcb
mov esi, dword [ebp - 0x4c]
push dword [ebp - 0x40]
lea ecx, [edi + 0x34]
push ecx
push 0
mov ecx, esi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::ResizeToMap_bool__class_tesseract::StrideMap_const___int_
push edi
mov ecx, esi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::CopyAll_class_tesseract::NetworkIO_const__
mov ecx, dword [ebp - 0x28]
jmp 0x100ece19
test al, al
je 0x100ecdf1
mov edx, dword [edi + 0x28]
jmp 0x100ecdf4
mov edx, dword [edi + 0x10]
mov esi, dword [ebp - 0x4c]
cmp byte [esi + 0x30], 0
je 0x100ece02
mov eax, dword [esi + 0x28]
jmp 0x100ece05
mov eax, dword [esi + 0x10]
cmp edx, eax
jne 0x100ece19
push edi
mov ecx, esi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::AddAllToFloat_class_tesseract::NetworkIO_const__
mov ecx, dword [ebp - 0x28]
jmp 0x100ece19
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [eax + 0x30]
jl 0x100ecd50
cmp byte [eax + 0xc], 0
je 0x100ece37
push esi
mov ecx, edi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkIO::CopyAll_class_tesseract::NetworkIO_const__
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 8
test eax, eax
jne 0x100ece68
test esi, esi
je 0x100ece71
push 0x42
push str.C:Code_tesseract_srclstm_networkscratch.h
push str.in_file__s__line__d
push 2
push str.network_io___nullptr
push 0x101f16c0
call sym.tesseract41.dll_public:_void___cdecl_ERRCODE::error_char_const___enum_TessErrorLogCode__char_const__const
add esp, 0x18
jmp 0x100ece71
lea ecx, [eax + 0x34]
push esi
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkScratch::Stack_class_GenericVector_double__::Return_class_GenericVector_double___
cmp byte [ebp - 0x64], 0
mov ecx, dword [ebx + 0x10]
push dword [ebp - 0x60]
mov dword [ebp - 4], 9
je 0x100ece89
add ecx, 4
jmp 0x100ece8c
add ecx, 0x34
call sym.tesseract41.dll_public:_void___thiscall_tesseract::NetworkScratch::Stack_class_GenericVector_double__::Return_class_GenericVector_double___
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
cmp byte [esi + 0xc], 0
je 0x100ed002
vmovss xmm0, dword [0x101af3d0]
mov eax, dword [edi]
mov ecx, edi
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [ebp - 0x2c]
vdivss xmm0, xmm0, xmm1
mov eax, dword [eax + 4]
vmovss dword [ebp - 0x40], xmm0
vbroadcastss ymm0, xmm0
vmovups ymmword [ebp - 0xa0], ymm0
vzeroupper
call eax
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x100ed002
cmp edx, 0x20
jb 0x100ecf7f
lea eax, [edi + 4]
mov dword [ebp - 0x44], eax
lea esi, [edx - 1]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea esi, [eax + esi*4]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
ja 0x100ecf11
lea eax, [edi + 4]
cmp dword [ebp - 0x3c], eax
jae 0x100ecf7f
mov eax, edx
and eax, 0x8000001f
jns 0x100ecf1f
dec eax
or eax, 0xffffffe0
inc eax
vmovups ymm1, ymmword [ebp - 0xa0]
mov esi, edx
sub esi, eax
mov eax, 0x40
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x38]
nop word [eax + eax]
vmulps ymm0, ymm1, ymmword [eax + esi - 0x40]
vmovups ymmword [eax + esi - 0x40], ymm0
vmulps ymm0, ymm1, ymmword [eax + esi - 0x20]
vmovups ymmword [eax + esi - 0x20], ymm0
vmulps ymm0, ymm1, ymmword [eax + esi]
vmovups ymmword [eax + esi], ymm0
vmulps ymm0, ymm1, ymmword [eax + esi + 0x20]
add ecx, 0x20
lea eax, [eax + 0x80]
vmovups ymmword [eax + esi - 0x60], ymm0
cmp ecx, dword [ebp - 0x44]
jl 0x100ecf40
mov esi, dword [ebp - 0x24]
cmp ecx, edx
jge 0x100ed002
vmovss xmm1, dword [ebp - 0x40]
mov eax, edx
sub eax, ecx
cmp eax, 4
jl 0x100ecfe4
lea esi, [edx - 3]
nop dword [eax + eax]
mov eax, dword [edi + 4]
vmulss xmm0, xmm1, dword [eax + ecx*4]
vmovss dword [eax + ecx*4], xmm0
mov eax, dword [edi + 4]
vmulss xmm0, xmm1, dword [eax + ecx*4 + 4]
vmovss dword [eax + ecx*4 + 4], xmm0
mov eax, dword [edi + 4]
vmulss xmm0, xmm1, dword [eax + ecx*4 + 8]
vmovss dword [eax + ecx*4 + 8], xmm0
mov eax, dword [edi + 4]
vmulss xmm0, xmm1, dword [eax + ecx*4 + 0xc]
vmovss dword [eax + ecx*4 + 0xc], xmm0
add ecx, 4
cmp ecx, esi
jl 0x100ecfa0
mov esi, dword [ebp - 0x24]
cmp ecx, edx
jge 0x100ed002
nop dword [eax + eax]
mov eax, dword [edi + 4]
vmulss xmm0, xmm1, dword [eax + ecx*4]
vmovss dword [eax + ecx*4], xmm0
inc ecx
cmp ecx, edx
jl 0x100ecff0
mov al, byte [esi + 0xc]
vzeroupper
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10