Function at 0x4df6a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.0047a3d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], 0
test eax, eax
mov dword [esp + 0x10], edi
push ecx
cmovne edx, eax
mov dword [esp + 0x20], edx
call fcn.00494e50
mov esi, dword [esp + 0x40]
mov ebp, eax
add esp, 4
mov dword [esp + 0x38], ebp
test ebp, ebp
js 0x4df9a7
cmp esi, 0xffffffff
jne 0x4df75d
mov esi, ebp
mov eax, dword [esp + 0x28]
push dword [eax + 0x14]
call fcn.0048a450
push dword [esp + 0x2c]
lea ebx, [eax - 1]
and ebx, 7
mov dword [esp + 0x28], ebx
call fcn.0047d200
add esp, 8
mov ecx, eax
test ebx, ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x2c]
jne 0x4df72a
mov byte [ebx], 0
inc ebx
dec ecx
mov dword [esp + 0x14], ecx
lea eax, [ebp + 2]
cmp ecx, eax
jge 0x4df79d
call fcn.00486d10
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xc1
push str.crypto_rsa_rsa_pss.c
call fcn.00486e10
push 0
push 0x6e
push 4
call fcn.00486ec0
add esp, 0x18
jmp 0x4df9a7
cmp esi, 0xfffffffe
jne 0x4df769
mov esi, 0xfffffffd
jmp 0x4df6f1
cmp esi, 0xfffffffd
jge 0x4df6f1
call fcn.00486d10
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xb6
push str.crypto_rsa_rsa_pss.c
call fcn.00486e10
push 0
push 0x88
push 4
call fcn.00486ec0
add esp, 0x18
jmp 0x4df9a7
mov ebp, ecx
sub ebp, dword [esp + 0x38]
lea eax, [ebp - 2]
cmp esi, 0xfffffffd
jne 0x4df7f8
mov esi, eax
test esi, esi
jle 0x4df82b
push 0xcb
push str.crypto_rsa_rsa_pss.c
push esi
call fcn.004867f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4df810
call fcn.00486d10
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xcd
push str.crypto_rsa_rsa_pss.c
call fcn.00486e10
push edi
push 0xc0100
push 4
call fcn.00486ec0
add esp, 0x18
jmp 0x4df9a7
cmp esi, eax
jle 0x4df7ad
call fcn.00486d10
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xc7
jmp 0x4df740
mov eax, dword [esp + 0x28]
push 0
push esi
push edi
push dword [eax + 4]
call fcn.004e7ec0
add esp, 0x10
test eax, eax
jle 0x4df9a7
call fcn.0047eef0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4df9a7
push 0
push dword [esp + 0x38]
push eax
call fcn.0047e9f0
add esp, 0xc
test eax, eax
je 0x4df9a7
push 8
push 0x5fba5c
push dword [esp + 0x18]
call fcn.0047ea30
add esp, 0xc
test eax, eax
je 0x4df9a7
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x18]
call fcn.0047ea30
add esp, 0xc
test eax, eax
je 0x4df9a7
test esi, esi
je 0x4df8a4
push esi
push edi
push dword [esp + 0x18]
call fcn.0047ea30
add esp, 0xc
test eax, eax
je 0x4df9a7
lea eax, [ebp - 1]
push 0
add eax, ebx
push eax
push dword [esp + 0x18]
call fcn.0047e8c0
add esp, 0xc
test eax, eax
je 0x4df9a7
push dword [esp + 0x1c]
lea ecx, [ebp - 1]
push dword [esp + 0x3c]
lea eax, [ecx + ebx]
push eax
push ecx
push ebx
call fcn.004bd5e0
add esp, 0x14
test eax, eax
jne 0x4df9a7
sub ebp, esi
xor byte [ebx + ebp - 2], 1
lea ecx, [ebx + ebp]
lea eax, [ecx - 2]
dec ecx
test esi, esi
jle 0x4df97e
xor edx, edx
cmp esi, 0x40
jb 0x4df96b
lea ebp, [eax + esi]
lea eax, [esi - 1]
add eax, edi
cmp ecx, eax
ja 0x4df90e
cmp ebp, edi
jae 0x4df96b
mov eax, esi
and eax, 0x8000003f
jns 0x4df91c
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, esi
sub ebp, eax
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [edi + edx]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [edi + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [edi + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm0, xmmword [ecx + 0x30]
movups xmm1, xmmword [edi + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
add ecx, 0x40
cmp edx, ebp
jl 0x4df920
cmp edx, esi
jge 0x4df97e
nop
mov al, byte [edx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, esi
jl 0x4df970
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4df996
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebx], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
mov byte [eax + ebx - 1], 0xbc
push dword [esp + 0x10]
call fcn.0047ee60
push 0xfc
push str.crypto_rsa_rsa_pss.c
push esi
push edi
call fcn.004868d0
mov eax, dword [esp + 0x2c]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret