Function at 0x568ec0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb8
call fcn.005b2630
mov eax, dword [0x644a10]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
mov esi, dword [esp + 0xe8]
push edi
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
cmp eax, edi
jne 0x568f32
call fcn.004940a0
mov dword [esp + 0x20], eax
cmp esi, edi
jne 0x568f3a
mov dword [esp + 0x2c], eax
push eax
call fcn.004a6d50
add esp, 4
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp dword [esp + 0xd0], edi
jle 0x56938b
mov esi, dword [esp + 0xd8]
cmp esi, edi
jle 0x56938b
cmp ebp, esi
jl 0x569370
lea edx, [ebx + ebx + 2]
cmp ebp, edx
jl 0x569370
push 0x9d
sub ebp, ebx
dec ebp
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x40], ebp
call fcn.0048fb50
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x568fbb
push 0x9f
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.00486d00
add esp, 0x14
jmp 0x569319
mov eax, dword [esp + 0x38]
push 0xa3
push str.crypto_rsa_rsa_oaep.c
push eax
call fcn.0048fb50
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x568fe3
push 0xa6
jmp 0x568fa0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xd4]
add ecx, eax
add edi, esi
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x569028
mov dword [esp + 0x1c], eax
mov edi, edi
mov edx, esi
not edx
lea eax, [esi - 1]
shr eax, 0x1f
shr edx, 0x1f
and eax, edx
dec eax
mov edx, eax
and edx, 1
sub edi, edx
and al, byte [edi]
dec ecx
sub esi, edx
dec dword [esp + 0x1c]
mov byte [ecx], al
jne 0x569000
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx]
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
mov eax, dword [esp + 0x2c]
push eax
lea edi, [ecx + 1]
lea ecx, [ebx + ecx + 1]
push ebp
push ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x50]
neg edx
push ebx
push ecx
mov dword [esp + 0x28], edx
call fcn.00568b20
add esp, 0x14
test eax, eax
jne 0x569315
xor esi, esi
test ebx, ebx
jle 0x569080
lea edx, [esp + 0x44]
sub edi, edx
lea eax, [esp + esi + 0x44]
mov cl, byte [edi + eax]
xor byte [eax], cl
inc esi
cmp esi, ebx
jl 0x569072
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push edx
push ebx
lea eax, [esp + 0x4c]
push eax
push ebp
push edi
call fcn.00568b20
add esp, 0x14
test eax, eax
jne 0x569315
test ebp, ebp
jle 0x5690b9
mov esi, dword [esp + 0x18]
mov eax, edi
sub esi, edi
mov ecx, ebp
nop
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x5690b0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xe4]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call fcn.004ba640
add esp, 0x18
test eax, eax
je 0x569315
push ebx
lea ecx, [esp + 0x88]
push ecx
push edi
call fcn.004a5bf0
lea edx, [eax - 1]
shr edx, 0x1f
not eax
shr eax, 0x1f
and edx, eax
neg edx
and dword [esp + 0x20], edx
add esp, 0xc
xor edi, edi
mov esi, ebx
cmp ebx, ebp
jge 0x569174
mov eax, dword [esp + 0x28]
movzx ecx, byte [esi + eax]
mov eax, ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
mov eax, edi
not eax
and eax, edx
or edi, edx
mov dword [esp + 0x10], eax
lea edx, [ecx - 1]
not eax
shr edx, 0x1f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
and ebx, dword [esp + 0x24]
not ecx
shr ecx, 0x1f
and edx, ecx
neg edx
and eax, esi
or edx, edi
and dword [esp + 0x14], edx
or eax, ebx
inc esi
mov dword [esp + 0x24], eax
cmp esi, ebp
jl 0x569114
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0xd0]
mov edx, ebp
sub edx, dword [esp + 0x24]
mov eax, esi
dec edx
sub eax, edx
xor eax, edx
mov ecx, edx
xor ecx, esi
or eax, ecx
xor eax, esi
shr eax, 0x1f
dec eax
and eax, edi
and dword [esp + 0x14], eax
mov ecx, ebp
sub ecx, ebx
lea edi, [ecx - 1]
mov eax, edi
sub eax, esi
xor eax, esi
mov dword [esp + 0x10], edi
xor edi, esi
or eax, edi
xor eax, dword [esp + 0x10]
lea edi, [ecx - 1]
shr eax, 0x1f
neg eax
mov dword [esp + 0x10], eax
not eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
and eax, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
and edi, esi
or eax, edi
mov edi, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0xd0], eax
cmp dword [esp + 0x20], edi
jle 0x569274
sub ecx, edx
dec ecx
mov dword [esp + 0x10], ecx
jmp 0x569200
mov eax, dword [esp + 0x10]
and eax, edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, ebp
sub eax, edi
lea esi, [ebx + 1]
dec ecx
cmp esi, eax
jge 0x569265
add esi, dword [esp + 0x28]
movzx ebp, cl
mov ecx, dword [esp + 0x30]
inc ecx
mov ebx, ebp
sub eax, ecx
not ebx
mov dword [esp + 0x24], eax
mov cl, byte [esi + edi]
mov dl, byte [esi]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
and al, cl
mov ecx, dword [esp + 0x2c]
and cl, dl
or al, cl
mov byte [esi], al
inc esi
dec dword [esp + 0x24]
jne 0x569235
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add edi, edi
cmp edi, dword [esp + 0x20]
jl 0x569200
mov eax, dword [esp + 0xd0]
xor esi, esi
test eax, eax
jle 0x5692ed
movzx eax, byte [esp + 0x14]
mov ecx, edx
mov edi, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
lea eax, [ebx + edx + 1]
shr ecx, 0x1f
neg edi
mov dword [esp + 0x10], eax
mov eax, esi
shr eax, 0x1f
mov bl, al
mov edx, edi
shr edx, 0x1f
xor dl, cl
xor bl, cl
or dl, bl
xor dl, al
neg dl
movzx eax, dl
and eax, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov dl, byte [edx + esi]
mov dword [esp + 0x30], eax
not eax
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov al, byte [eax + esi]
and bl, dl
mov edx, dword [esp + 0x30]
and dl, al
mov eax, dword [esp + 0x40]
or bl, dl
mov byte [eax + esi], bl
inc esi
inc edi
cmp esi, dword [esp + 0xd0]
jl 0x569298
push 0x107
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.00486d00
mov ecx, dword [esp + 0x28]
and ecx, 1
push ecx
call fcn.00486cb0
add esp, 0x18
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x44]
push 0x40
push edx
call fcn.004d2c70
mov eax, dword [esp + 0x30]
push 0x10b
push str.crypto_rsa_rsa_oaep.c
push ebp
push eax
call fcn.0048fc20
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
push 0x10c
push str.crypto_rsa_rsa_oaep.c
push ecx
push edx
call fcn.0048fc20
mov dword [esp + 0x5c], edi
not edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x5c]
and eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
add esp, 0x28
or eax, ecx
jmp 0x56938e
push 0x98
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.00486d00
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b2129
add esp, 0xb8
ret