Function at 0x5832c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.005ba320
mov eax, dword [0x689300]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe0]
push esi
push edi
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
test eax, eax
jne 0x583336
call fcn.005311e0
mov dword [esp + 0x2c], eax
test ebx, ebx
push eax
cmove ebx, eax
mov dword [esp + 0x40], ebx
call fcn.00540ef0
add esp, 4
mov ebx, eax
mov dword [esp + 0x34], ebx
cmp dword [esp + 0xd8], edi
jle 0x5838c7
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x5838c7
cmp ebp, esi
jl 0x5838ac
lea eax, [ebx*2 + 2]
cmp ebp, eax
jl 0x5838ac
push 0x9e
sub ebp, ebx
dec ebp
push str..crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x34], ebp
call fcn.005354b0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x5833c3
push 0xa0
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.0052f160
add esp, 0x14
jmp 0x583860
mov edi, dword [esp + 0x44]
push 0xa4
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.005354b0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x583402
push 0xa7
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.0052f160
add esp, 0x14
jmp 0x58385c
mov edx, dword [esp + 0xdc]
add eax, edi
add edx, esi
mov dword [esp + 0x18], eax
test edi, edi
jle 0x583445
mov ebp, eax
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebp
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [ebp], cl
dec edi
jne 0x583417
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
push dword [esp + 0x3c]
push ebp
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, dword [esp + 0x20]
neg ecx
mov dword [esp + 0x1c], ecx
lea edi, [eax + 1]
add edi, ebx
lea esi, [eax + 1]
push edi
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.00582d40
add esp, 0x14
test eax, eax
jne 0x58385c
xor edx, edx
test ebx, ebx
jle 0x583530
cmp ebx, 0x20
jb 0x583515
lea eax, [esi - 1]
lea ebp, [esp + 0x4c]
add eax, ebx
cmp ebp, eax
lea ecx, [esp + ebx + 0x4b]
mov ebp, dword [esp + 0x28]
ja 0x5834af
cmp ecx, esi
jae 0x583515
mov eax, ebx
and eax, 0x8000001f
jns 0x5834bd
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebx
mov ebp, esi
sub ecx, eax
lea eax, [esp + 0x4c]
mov ebx, eax
sub ebp, ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
jmp 0x5834e0
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [esi + edx + 0x10]
add edx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x5834e0
mov ebx, dword [esp + 0x34]
cmp edx, ebx
jge 0x583530
lea eax, [esp + 0x4c]
sub esi, eax
nop
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, ebx
jl 0x583520
push dword [esp + 0x3c]
lea eax, [esp + 0x50]
push ebx
push eax
push ebp
push dword [esp + 0x30]
call fcn.00582d40
add esp, 0x14
test eax, eax
jne 0x58385c
xor esi, esi
test ebp, ebp
jle 0x5835ee
mov edx, dword [esp + 0x20]
cmp ebp, 0x20
jb 0x5835d5
lea eax, [ebp - 1]
lea ecx, [edx - 1]
add eax, edi
add ecx, ebp
cmp edx, eax
ja 0x583574
cmp ecx, edi
jae 0x5835d5
mov eax, ebp
and eax, 0x8000001f
jns 0x583582
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebp
mov ebx, edi
sub ecx, eax
sub ebx, edx
mov dword [esp + 0x1c], ebx
mov eax, edx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
jmp 0x5835a0
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edi + esi + 0x10]
add esi, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp esi, ecx
jl 0x5835a0
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jge 0x5835ee
lea ecx, [esi + edx]
sub edi, edx
mov edx, ebp
sub edx, esi
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x5835e2
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x24]
call fcn.00537bc0
add esp, 0x18
test eax, eax
je 0x58385c
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x8c]
push ebx
push eax
push esi
call fcn.0052da80
add esp, 0xc
xor edx, edx
mov edi, ebx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and dword [esp + 0x14], ecx
cmp ebx, ebp
jge 0x5836b8
xor ebx, ebx
lea esp, [esp]
movzx esi, byte [edi + esi]
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, ebx
not eax
neg edx
and eax, edx
or ebx, edx
mov dword [esp + 0x10], eax
not eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
and ecx, edi
and eax, dword [esp + 0x30]
inc edi
or ecx, eax
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov dword [esp + 0x30], ecx
mov esi, dword [esp + 0x20]
neg eax
or eax, ebx
and dword [esp + 0x14], eax
cmp edi, ebp
jl 0x583650
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xd8]
mov eax, ebp
sub eax, dword [esp + 0x30]
mov ecx, edi
dec eax
mov esi, ebp
sub ecx, eax
mov dword [esp + 0x40], eax
xor ecx, eax
sub esi, ebx
xor eax, edi
mov ebx, 1
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
dec ecx
and ecx, edx
and dword [esp + 0x14], ecx
lea ecx, [esi - 1]
mov edx, ecx
mov eax, ecx
sub edx, edi
xor eax, edi
xor edx, edi
or edx, eax
xor edx, ecx
lea ecx, [esi - 1]
shr edx, 0x1f
neg edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], edx
not edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
and edx, ecx
and eax, edi
or edx, eax
mov dword [esp + 0x2c], edx
cmp ecx, ebx
jle 0x5837b1
sub esi, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x30], edx
lea ecx, [esi - 1]
mov dword [esp + 0x24], ecx
mov edi, edi
mov eax, ecx
mov edi, ebp
and eax, ebx
sub edi, ebx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, edi
jge 0x5837a1
mov esi, dword [esp + 0x20]
movzx eax, cl
add esi, edx
mov ebp, eax
mov dword [esp + 0x3c], eax
not ebp
sub edi, edx
lea ecx, [ecx]
mov cl, byte [esi]
lea esi, [esi + 1]
mov dword [esp + 0x10], eax
mov al, byte [esi + ebx - 1]
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x10]
and dl, al
mov eax, dword [esp + 0x1c]
and al, cl
or dl, al
mov eax, dword [esp + 0x3c]
mov byte [esi - 1], dl
dec edi
jne 0x583770
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ebx, ebx
cmp ebx, dword [esp + 0x38]
jl 0x583740
mov edx, dword [esp + 0x2c]
xor esi, esi
test edx, edx
jle 0x583834
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x40]
movzx eax, al
neg edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
inc eax
shr ebx, 0x1f
add eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, esi
mov edx, edi
shr ecx, 0x1f
mov al, bl
xor al, cl
shr edx, 0x1f
xor dl, bl
inc edi
or dl, al
xor dl, cl
neg dl
movzx eax, dl
and eax, ebp
mov dword [esp + 0x10], eax
not eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dl, byte [eax + esi]
mov eax, dword [esp + 0x48]
mov al, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x10]
and al, dl
or cl, al
mov eax, dword [esp + 0x48]
mov byte [eax + esi], cl
inc esi
cmp esi, dword [esp + 0x2c]
jl 0x5837e0
mov ebp, dword [esp + 0x28]
push 0x108
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.0052f160
mov eax, dword [esp + 0x28]
and eax, 1
push eax
call fcn.0052f4e0
add esp, 0x18
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push 0x40
push eax
call fcn.00401360
mov ebx, dword [esp + 0x28]
push ebp
push ebx
call fcn.00401360
push ebx
call fcn.00535430
push dword [esp + 0x58]
push edi
call fcn.00401360
push edi
call fcn.00535430
mov eax, dword [esp + 0x34]
add esp, 0x20
mov dword [esp + 0x24], eax
not eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
and eax, dword [esp + 0x40]
or eax, dword [esp + 0x38]
jmp 0x5838ca
push 0x99
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.0052f160
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b8774
add esp, 0xc0
ret