Function at 0x4eafc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [edx + 4]
test eax, eax
je 0x4eb105
mov ebx, edx
mov edi, ecx
mov ecx, dword [edx]
xor edx, edx
mov esi, 0
cmp eax, 8
jb 0x4eb0e0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov edx, eax
and edx, 0xfffffff8
lea esi, [edx - 8]
mov ebx, esi
shr ebx, 3
add ebx, 1
mov edi, ebx
and edi, 3
cmp esi, 0x18
jae 0x4eb016
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
jmp 0x4eb087
and ebx, 0xfffffffc
neg ebx
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
nop word cs:[eax + eax]
nop
movdqu xmm2, xmmword [ecx + esi*4]
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + esi*4 + 0x10]
por xmm0, xmm1
movdqu xmm1, xmmword [ecx + esi*4 + 0x20]
movdqu xmm3, xmmword [ecx + esi*4 + 0x30]
movdqu xmm4, xmmword [ecx + esi*4 + 0x40]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ecx + esi*4 + 0x50]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + esi*4 + 0x60]
por xmm0, xmm4
movdqu xmm1, xmmword [ecx + esi*4 + 0x70]
por xmm1, xmm2
add esi, 0x20
add ebx, 4
jne 0x4eb030
test edi, edi
je 0x4eb0b7
lea esi, [ecx + esi*4]
add esi, 0x10
neg edi
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm2, xmmword [esi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [esi]
por xmm1, xmm2
add esi, 0x20
inc edi
jne 0x4eb0a0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd esi, xmm0
cmp eax, edx
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
je 0x4eb0ea
nop dword [eax + eax]
or esi, dword [ecx + edx*4]
add edx, 1
cmp eax, edx
jne 0x4eb0e0
test esi, esi
je 0x4eb105
test eax, eax
jle 0x4eb0f7
test byte [ecx], 1
jne 0x4eb127
push 0xa9
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x68
jmp 0x4eb111
push 0xa5
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x69
push 0
push 3
call fcn.004d86c0
add esp, 0x14
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x4eb13b
push 0xad
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x6d
jmp 0x4eb111
lea esi, [edi + 0x14]
cmp esi, ebx
je 0x4eb180
push eax
push esi
call fcn.004de700
add esp, 8
test eax, eax
je 0x4eb28c
mov eax, dword [ebx + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x4eb172
push ecx
push dword [ebx]
push dword [esi]
call fcn.006452d0
add esp, 0xc
mov eax, dword [ebx + 4]
mov dword [edi + 0x18], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [edi + 0x20], ecx
jmp 0x4eb186
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x18]
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
mov edi, eax
nop
test edi, edi
jle 0x4eb1b7
mov edx, dword [esi]
lea ebx, [edi - 1]
cmp dword [edx + edi*4 - 4], 0
mov edi, ebx
je 0x4eb190
add ebx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], ebx
mov eax, dword [edx]
cmp ebx, 2
jl 0x4eb1cc
mov edx, dword [edx + 4]
jmp 0x4eb1ce
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
test eax, eax
js 0x4eb1c8
mov dword [edx + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov esi, 1
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 0x14], edx
nop dword [eax + eax]
mov edx, esi
and edx, 1
neg edx
mov eax, 0
sbb eax, eax
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x14]
and edi, eax
mov eax, edi
xor eax, ecx
and edi, ecx
and edx, dword [ebp - 0x1c]
mov ecx, edx
xor ecx, esi
and edx, esi
shrd ecx, eax, 1
shr eax, 1
add edx, ecx
adc edi, eax
mov esi, edx
and esi, 1
neg esi
mov eax, 0
sbb eax, eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
and ecx, eax
mov eax, ecx
xor eax, edi
and ecx, edi
and esi, dword [ebp - 0x1c]
mov edi, esi
xor edi, edx
and esi, edx
shrd edi, eax, 1
shr eax, 1
add esi, edi
adc ecx, eax
shrd dword [ebp - 0x18], ebx, 2
shr ebx, 2
mov eax, dword [ebp - 0x28]
shr eax, 1
and eax, 0x40000000
or ebx, eax
mov eax, dword [ebp - 0x24]
and eax, 0x80000000
or ebx, eax
add dword [ebp - 0x20], 0xfffffffe
jne 0x4eb1f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
mov eax, 1
jmp 0x4eb11f
push 0xb3
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x44
jmp 0x4eb111