Function at 0x4e8a40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc4
call fcn.006149d0
mov eax, dword [0x6ae280]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
push ebx
mov dword [esp + 0x40], eax
xor ebx, ebx
mov eax, dword [esp + 0xdc]
push ebp
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], ebx
push esi
push edi
test eax, eax
jne 0x4e8ab2
call fcn.004e5b20
mov dword [esp + 0x34], eax
test ebp, ebp
push eax
cmove ebp, eax
mov dword [esp + 0x34], ebp
call fcn.00487740
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0xdc], ebx
jle 0x4e912e
mov esi, dword [esp + 0xe4]
test esi, esi
jle 0x4e912e
mov ecx, dword [esp + 0x40]
cmp ecx, esi
jl 0x4e9107
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x4e9107
mov ebp, ecx
push 0xcb
sub ebp, edi
dec ebp
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x34], ebp
call fcn.004829d0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x4e90b3
push 0xcf
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x48]
call fcn.004829d0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4e90b3
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x40]
add edx, esi
add ecx, eax
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x4e8b97
mov ebx, eax
mov edi, ecx
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec edi
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [edi], cl
sub ebx, 1
jne 0x4e8b68
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x30]
movzx ebx, byte [ecx]
lea eax, [ecx + 1]
add eax, edi
lea esi, [ecx + 1]
push ebp
push eax
lea ebx, [ebx - 1]
mov dword [esp + 0x48], eax
shr ebx, 0x1f
lea eax, [esp + 0x5c]
push edi
neg ebx
mov dword [esp + 0x20], esi
push eax
mov dword [esp + 0x28], ebx
call fcn.004e8870
add esp, 0x14
test eax, eax
jne 0x4e90b3
xor edx, edx
test edi, edi
jle 0x4e8cf5
cmp edi, 8
jb 0x4e8cdf
lea eax, [esi - 1]
lea ebp, [esp + 0x50]
add eax, edi
cmp ebp, eax
lea ecx, [esp + edi + 0x4f]
mov ebp, dword [esp + 0x28]
ja 0x4e8c02
cmp ecx, esi
jae 0x4e8cdf
cmp edi, 0x40
jb 0x4e8ca4
mov eax, edi
and eax, 0x8000003f
jns 0x4e8c19
dec eax
or eax, 0xffffffc0
inc eax
lea ebp, [esp + 0x50]
mov ecx, edi
sub ebp, esi
lea ebx, [esp + 0x50]
mov dword [esp + 0x48], ebp
sub ecx, eax
mov edi, dword [esp + 0x48]
lea ebp, [esp + 0x60]
sub ebp, esi
lea eax, [esi + 0x20]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
movups xmm0, xmmword [ebx + edx]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
xorps xmm1, xmm0
movups xmmword [ebx + edx], xmm1
movups xmm0, xmmword [esp + edx + 0x60]
movups xmm1, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [esp + edx + 0x60], xmm1
add edx, 0x40
movups xmm0, xmmword [edi + eax - 0x40]
movups xmm1, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
movups xmm1, xmmword [eax - 0x30]
movups xmm0, xmmword [esi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [esi + eax - 0x40], xmm1
cmp edx, ecx
jl 0x4e8c44
mov edi, dword [esp + 0x1c]
mov eax, edi
mov ebx, dword [esp + 0x14]
and al, 0x3f
mov esi, dword [esp + 0x10]
cmp al, 8
jb 0x4e8cdb
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x4e8cb2
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
sub ecx, eax
nop word [eax + eax]
movq xmm1, qword [esi + edx]
movq xmm0, qword [esp + edx + 0x50]
xorps xmm1, xmm0
movq qword [esp + edx + 0x50], xmm1
add edx, 8
cmp edx, ecx
jl 0x4e8cc0
cmp edx, edi
jge 0x4e8cf5
lea eax, [esp + 0x50]
sub esi, eax
lea ecx, [esp + 0x50]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, edi
jl 0x4e8ce5
push dword [esp + 0x30]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push edi
push eax
push ebp
push esi
call fcn.004e8870
add esp, 0x14
test eax, eax
jne 0x4e90b3
xor edx, edx
test ebp, ebp
jle 0x4e8e47
cmp ebp, 8
jb 0x4e8e20
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 1]
add eax, ebp
cmp esi, eax
ja 0x4e8d42
lea eax, [esi - 1]
add eax, ebp
cmp eax, ecx
jae 0x4e8e20
cmp ebp, 0x40
jb 0x4e8dd8
mov eax, ebp
and eax, 0x8000003f
jns 0x4e8d59
dec eax
or eax, 0xffffffc0
inc eax
mov edi, dword [esp + 0x3c]
add ecx, 0x30
mov dword [esp + 0x14], ebp
sub dword [esp + 0x14], eax
sub edi, esi
mov dword [esp + 0x10], edi
lea eax, [esi + 0x10]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x14]
jl 0x4e8d80
mov esi, dword [esp + 0x20]
mov eax, ebp
and al, 0x3f
cmp al, 8
jb 0x4e8e20
mov eax, ebp
and eax, reloc.WS2_32.dll_getsockopt
jns 0x4e8de6
dec eax
or eax, 0xfffffff8
inc eax
mov edi, dword [esp + 0x3c]
mov ecx, ebp
sub ecx, eax
sub edi, esi
mov dword [esp + 0x10], edi
lea eax, [edx + esi]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
nop
movq xmm1, qword [eax + ebp]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, ecx
jl 0x4e8e00
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jge 0x4e8e47
mov edi, dword [esp + 0x3c]
lea ecx, [edx + esi]
sub edi, esi
mov esi, ebp
sub esi, edx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4e8e31
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push 0
push dword [esp + 0x38]
lea eax, [esp + 0x98]
push 0
push eax
push dword [esp + 0x100]
push dword [esp + 0x2c]
call fcn.00480c70
add esp, 0x18
test eax, eax
je 0x4e90b3
push edi
lea eax, [esp + 0x94]
push eax
push esi
call fcn.00401390
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov dword [esp + 0x14], ebx
xor ebx, ebx
cmp edx, ebp
jge 0x4e8ef3
movzx esi, byte [edi + esi]
mov eax, ebx
mov edx, esi
not eax
xor edx, 1
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or ebx, edx
mov dword [esp + 0x18], eax
not eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
and ecx, edi
and eax, dword [esp + 0x2c]
inc edi
or eax, ecx
mov dword [esp + 0x2c], eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x20]
shr eax, 0x1f
neg eax
or eax, ebx
and dword [esp + 0x14], eax
cmp edi, ebp
jl 0x4e8ea3
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xdc]
mov eax, ebp
sub eax, dword [esp + 0x2c]
mov esi, ebp
dec eax
sub esi, edx
sub ecx, eax
mov dword [esp + 0x44], eax
xor ecx, eax
xor eax, dword [esp + 0xdc]
or ecx, eax
mov eax, dword [esp + 0xdc]
xor ecx, eax
lea edi, [esi - 1]
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x34], edi
and ecx, ebx
mov ebx, dword [esp + 0x14]
and ebx, ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x14], ebx
xor ecx, eax
mov eax, edi
xor eax, dword [esp + 0xdc]
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
neg ecx
mov dword [esp + 0x18], ecx
not ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and eax, edi
and ecx, dword [esp + 0xdc]
mov edi, 1
or ecx, eax
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x34], edi
jle 0x4e900e
sub esi, dword [esp + 0x44]
inc edx
mov dword [esp + 0x48], edx
lea eax, [esi - 1]
mov dword [esp + 0x2c], eax
nop
and eax, edi
mov esi, ebp
sub esi, edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, esi
jge 0x4e8ff6
mov eax, dword [esp + 0x20]
movzx ecx, cl
add eax, edx
mov ebp, ecx
mov dword [esp + 0x38], ecx
not ebp
sub esi, edx
nop dword [eax + eax]
mov dword [esp + 0x18], ecx
lea eax, [eax + 1]
movzx ecx, byte [eax + edi - 1]
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and bl, cl
movzx ecx, byte [eax - 1]
and dl, cl
mov ecx, dword [esp + 0x38]
or dl, bl
mov byte [eax - 1], dl
sub esi, 1
jne 0x4e8fc0
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
add edi, edi
cmp edi, dword [esp + 0x34]
jl 0x4e8f90
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
xor esi, esi
test ecx, ecx
jle 0x4e9081
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
inc ebp
shr ecx, 0x1f
neg edi
mov dword [esp + 0x38], ecx
add ebp, edx
nop dword [eax]
mov eax, edi
lea ebp, [ebp + 1]
shr eax, 0x1f
inc edi
xor al, cl
or al, cl
neg al
movzx ecx, al
movzx eax, bl
and ecx, eax
movzx eax, byte [ebp - 1]
mov dword [esp + 0x18], ecx
not ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and dl, al
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x4c]
or cl, dl
mov byte [eax + esi], cl
inc esi
mov ecx, dword [esp + 0x38]
cmp esi, dword [esp + 0x30]
jl 0x4e9030
mov ebp, dword [esp + 0x28]
call fcn.0048aed0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0x134
push str.crypto_rsa_rsa_oaep.c
call fcn.0048afd0
push 0
push 0x79
push 4
call fcn.0048b0e0
mov eax, ebx
and eax, 1
push eax
call fcn.004a9040
add esp, 0x1c
lea eax, [esp + 0x50]
push 0x40
push eax
call fcn.00401320
push 0x139
push str.crypto_rsa_rsa_oaep.c
push ebp
push dword [esp + 0x34]
call fcn.00482af0
push 0x13a
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x60]
push dword [esp + 0x48]
call fcn.00482af0
mov dword [esp + 0x40], ebx
add esp, 0x28
not ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
or eax, ecx
jmp 0x4e9131
call fcn.0048aed0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0xc6
push str.crypto_rsa_rsa_oaep.c
call fcn.0048afd0
push 0
push 0x79
push 4
call fcn.0048b0e0
add esp, 0x18
or eax, 0xffffffff
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00614242
add esp, 0xc4
ret