Function at 0x101455f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a446b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x10290198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x10145631
mov byte [ebp - 0x11], 0
cmp eax, 1
jne 0x10145635
mov byte [ebp - 0x11], 1
movsx edx, word [ecx + 0xa]
movsx ebx, word [ecx + 0xe]
sub ebx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ebx
je 0x1014566c
movzx edi, word [ecx + 8]
movsx eax, word [ecx + 0xc]
mov ecx, dword [ebp + 8]
sub ecx, edx
movsx esi, di
sub eax, esi
imul eax, ecx
mov ecx, dword [ebp + 0x10]
cdq
idiv ebx
mov edx, dword [ebp - 0x18]
lea ebx, [esi + eax]
mov eax, edi
jmp 0x10145673
movzx eax, word [ecx + 8]
movsx ebx, ax
mov esi, dword [ebp - 0x1c]
movsx edi, ax
test esi, esi
je 0x10145692
movsx eax, word [ecx + 0xc]
mov ecx, dword [ebp + 0xc]
sub eax, edi
sub ecx, edx
imul eax, ecx
cdq
idiv esi
add eax, edi
jmp 0x10145694
mov eax, edi
cmp byte [ebp - 0x11], 0
je 0x1014569e
cmp eax, ebx
jmp 0x101456a0
cmp ebx, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0xa0]
cmovge ebx, eax
call sym.tesseract41.dll_public:_void___thiscall_tesseract::GridSearch_class_BLOBNBOX__class_BLOBNBOX_CLIST__class_BLOBNBOX_C_IT_::constructor_class_tesseract::BBGrid_class_BLOBNBOX__class_BLOBNBOX_CLIST__class_BLOBNBOX_C_IT___
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp + 0xc]
push esi
push ebx
mov ecx, dword [eax + 4]
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x8c], 0
lea eax, [eax*2 - 1]
add eax, ecx
cdq
idiv ecx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
call sym.tesseract41.dll_private:_void___thiscall_tesseract::GridSearch_class_BLOBNBOX__class_BLOBNBOX_CLIST__class_BLOBNBOX_C_IT_::CommonStart_int__int_
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x11]
mov dword [ebx], 0
call sym.tesseract41.dll_public:_class_BLOBNBOX____thiscall_tesseract::GridSearch_class_BLOBNBOX__class_BLOBNBOX_CLIST__class_BLOBNBOX_C_IT_::NextSideSearch_bool_
mov edx, eax
test edx, edx
je 0x101458a8
movzx edi, word [edx + 0xa]
movsx eax, di
mov dword [ebp - 0x2c], eax
cmp eax, esi
jge 0x10145890
movzx esi, word [edx + 0xe]
movsx eax, si
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp + 8]
jle 0x1014588d
movzx eax, word [edx + 0xc]
movzx ebx, word [edx + 8]
mov dword [ebp - 0x18], eax
cmp bx, ax
jge 0x10145751
cmp si, di
jle 0x10145751
xor cl, cl
jmp 0x10145753
mov cl, 1
mov eax, esi
mov dword [ebp - 0x1c], 0
sub eax, edi
test cl, cl
mov dword [ebp - 0x24], eax
movzx eax, ax
cmovne eax, dword [ebp - 0x1c]
movsx ecx, ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
add eax, eax
cmp ecx, eax
jl 0x101457d6
movzx ecx, word [edx + 0xc]
cmp bx, cx
jge 0x1014578f
cmp si, di
jle 0x1014578f
mov eax, dword [ebp - 0x24]
movzx eax, ax
jmp 0x10145791
xor eax, eax
cmp bx, cx
jge 0x1014579f
mov byte [ebp - 0xd], 0
cmp si, di
jg 0x101457a3
mov byte [ebp - 0xd], 1
cwde
vxorps xmm1, xmm1, xmm1
vcvtsi2sd xmm1, xmm1, eax
mov eax, ecx
xor ecx, ecx
sub eax, ebx
cmp byte [ebp - 0xd], cl
movzx eax, ax
cmovne eax, ecx
vxorps xmm0, xmm0, xmm0
cwde
vcvtsi2sd xmm0, xmm0, eax
vmulsd xmm0, xmm0, qword [0x101bb3f8]
vcomisd xmm1, xmm0
ja 0x1014588a
cmp byte [ebp + 0x14], 0
je 0x10145803
mov eax, dword [edx + 0x28]
cmp eax, 1
je 0x1014588a
cmp eax, 2
je 0x1014588a
cmp eax, 3
je 0x1014588a
cmp eax, 4
je 0x1014588a
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0xa]
movsx edi, word [eax + 0xe]
sub edi, ecx
je 0x10145837
movsx esi, word [eax + 8]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xc]
sub ecx, esi
imul eax, ecx
cdq
idiv edi
lea edx, [esi + eax]
jmp 0x1014583b
movsx edx, word [eax + 8]
cmp byte [ebp - 0x11], 0
je 0x1014585b
mov eax, dword [ebp - 0x18]
mov ecx, edx
cwde
sub ecx, eax
jns 0x10145873
movsx eax, bx
mov ebx, dword [ebp + 0x1c]
sub eax, edx
cmp eax, dword [ebx]
jge 0x10145876
mov dword [ebx], eax
jmp 0x10145876
movsx ecx, bx
sub ecx, edx
mov ebx, dword [ebp + 0x1c]
jns 0x10145876
mov eax, dword [ebp - 0x18]
cwde
sub eax, edx
cmp eax, dword [ebx]
jle 0x10145876
mov dword [ebx], eax
jmp 0x10145876
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
test ecx, ecx
jle 0x10145890
mov eax, dword [ebp + 0x18]
cmp ecx, eax
cmovl eax, ecx
mov dword [ebp + 0x18], eax
jmp 0x10145890
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x11]
lea ecx, [ebp - 0xa0]
call sym.tesseract41.dll_public:_class_BLOBNBOX____thiscall_tesseract::GridSearch_class_BLOBNBOX__class_BLOBNBOX_CLIST__class_BLOBNBOX_C_IT_::NextSideSearch_bool_
mov edx, eax
test edx, edx
jne 0x10145713
mov eax, dword [ebx]
lea ecx, [ebp - 0x4c]
mov esi, dword [ebp + 0x18]
cdq
xor eax, edx
sub eax, edx
sub esi, eax
call sym.tesseract41.dll_public:_void___thiscall_std::_Hash_class_std::_Uset_traits_class_BLOBNBOX___class_std::_Uhash_compare_class_BLOBNBOX___struct_tesseract::PtrHash_class_BLOBNBOX___struct_std::equal_to_class_BLOBNBOX_____class_std::allocator_class_BLOBNBOX____0__::destructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18