Function at 0x542a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x64
call fcn.00451900
mov eax, dword [0x67b374]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
push edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
dec edi
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x542ad5
call fcn.004ee780
mov ecx, eax
mov dword [esp + 0x18], eax
test ebx, ebx
push ecx
cmove ebx, ecx
mov dword [esp + 0x2c], ebx
call fcn.00502b80
mov esi, eax
mov ebx, edi
add esp, 4
mov dword [esp + 0x2c], esi
lea eax, [esi + esi]
sub ebx, eax
lea ecx, [ebx - 1]
cmp ebp, ecx
jle 0x542b28
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.004f4f80
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00450cb7
add esp, 0x64
ret
inc eax
cmp edi, eax
jge 0x542b5a
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0xa0
push 4
call fcn.004f4f80
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00450cb7
add esp, 0x64
ret
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x1c]
lea ebp, [eax + 1]
mov byte [eax], 0
add eax, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
inc eax
push 0
push eax
push dword [esp + 0x9c]
push dword [esp + 0x38]
call fcn.004edf40
add esp, 0x18
test eax, eax
je 0x542e4e
sub ebx, dword [esp + 0x14]
dec ebx
push ebx
mov ebx, dword [esp + 0x20]
inc ebx
push 0
lea eax, [ebx + esi]
push eax
call fcn.005c7c50
mov ecx, dword [esp + 0x20]
mov eax, ebx
sub eax, ecx
sub eax, esi
push ecx
push dword [esp + 0x20]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.005c7150
push esi
push ebp
call fcn.004f2180
add esp, 0x20
test eax, eax
jle 0x542e4e
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.004e7000
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x542c1d
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa0
push 4
call fcn.004f4f80
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00450cb7
add esp, 0x64
ret
push dword [esp + 0x28]
push esi
push ebp
push edi
push eax
call fcn.005428c0
add esp, 0x14
test eax, eax
js 0x542e42
xor ebx, ebx
test edi, edi
jle 0x542d1e
mov edx, dword [esp + 0x14]
cmp edi, 0x40
jb 0x542ce6
mov ecx, dword [esp + 0x1c]
inc ecx
lea eax, [ecx - 1]
add eax, edi
mov dword [esp + 0x10], eax
lea eax, [edx - 1]
add eax, edi
cmp ecx, eax
ja 0x542c69
cmp dword [esp + 0x10], edx
jae 0x542ce6
mov eax, edi
and eax, 0x8000003f
jns 0x542c77
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x18], edi
mov ebp, edx
sub dword [esp + 0x18], eax
sub ebp, ecx
mov dword [esp + 0x10], ebp
mov eax, ecx
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx + ebx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx + ebx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edx + ebx + 0x30]
add ebx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jl 0x542c95
mov esi, dword [esp + 0x2c]
cmp ebx, edi
jge 0x542d1e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebp, dword [esp + 0x20]
sub edx, eax
mov dword [esp + 0x10], edx
inc ecx
add ecx, ebx
mov edx, edi
sub edx, ebx
mov ebx, dword [esp + 0x10]
nop dword [eax + eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x542d10
push dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edi
inc eax
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.005428c0
add esp, 0x14
test eax, eax
js 0x542e42
xor edx, edx
test esi, esi
jle 0x542e1e
cmp esi, 0x40
jb 0x542dfc
lea ecx, [ebp - 1]
lea eax, [esp + esi + 0x2f]
add ecx, esi
cmp ebp, eax
ja 0x542d6b
lea eax, [esp + 0x30]
cmp ecx, eax
jae 0x542dfc
mov eax, esi
and eax, 0x8000003f
jns 0x542d79
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea edi, [esp + 0x30]
lea esi, [esp + 0x50]
sub ecx, eax
sub esi, ebp
lea ebx, [esp + 0x40]
mov dword [esp + 0x10], esi
sub edi, ebp
sub ebx, ebp
lea esi, [esp + 0x60]
sub esi, ebp
mov eax, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], esi
movups xmm0, xmmword [eax]
mov esi, dword [esp + 0x24]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + eax - 0x40]
mov esi, dword [esp + 0x2c]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x542da3
mov ebp, dword [esp + 0x20]
cmp edx, esi
jge 0x542e1e
lea edi, [esp + 0x30]
sub edi, ebp
lea ecx, [edx + ebp]
sub esi, edx
nop dword [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x542e10
push dword [esp + 0x14]
call fcn.004e6f20
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00450cb7
add esp, 0x64
ret
push dword [esp + 0x14]
call fcn.004e6f20
add esp, 4
mov ecx, dword [esp + 0x70]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450cb7
add esp, 0x64
ret