Function at 0x4baea0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb4
call fcn.0052e070
mov eax, dword [0x6c0924]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc4]
push ebp
mov ebp, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd4]
push esi
mov dword [esp + 0x34], eax
xor esi, esi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], esi
push edi
mov edi, dword [esp + 0xe8]
test eax, eax
jne 0x4baf24
call fcn.0048c700
mov dword [esp + 0x2c], eax
test edi, edi
push eax
cmove edi, eax
mov dword [esp + 0x1c], edi
call fcn.0048d530
add esp, 4
mov edi, eax
mov dword [esp + 0x28], edi
cmp dword [esp + 0xcc], esi
jle 0x4bb2ee
test ebx, ebx
jle 0x4bb2ee
cmp ebp, ebx
jl 0x4bb272
lea eax, [edi*2 + 2]
cmp ebp, eax
jl 0x4bb272
mov ebx, ebp
push 0x99
sub ebx, edi
dec ebx
push str.crypto_rsa_rsa_oaep.c
push ebx
mov dword [esp + 0x30], ebx
call fcn.00491130
push 0x9a
mov esi, eax
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x4c], esi
call fcn.00491130
add esp, 0x18
mov dword [esp + 0x14], eax
test esi, esi
je 0x4bb2d4
test eax, eax
je 0x4bb2d4
push ebp
push 0
push eax
call fcn.005b1170
mov eax, dword [esp + 0x28]
sub ebp, eax
add ebp, dword [esp + 0x20]
push eax
push dword [esp + 0x20]
push ebp
call fcn.005b0670
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
push ebx
movzx eax, byte [ecx]
lea ebp, [ecx + 1]
dec eax
shr eax, 0x1f
neg eax
mov dword [esp + 0x30], eax
lea eax, [ecx + 1]
add eax, edi
push eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x64]
push edi
push eax
call fcn.004ba950
add esp, 0x2c
test eax, eax
jne 0x4bb295
xor edx, edx
test edi, edi
jle 0x4bb0b0
cmp edi, 0x40
jb 0x4bb092
lea eax, [ebp - 1]
lea ebx, [esp + 0x40]
add eax, edi
cmp ebx, eax
lea ecx, [esp + edi + 0x3f]
mov ebx, dword [esp + 0x24]
ja 0x4bb02d
cmp ecx, ebp
jae 0x4bb092
mov eax, edi
and eax, 0x8000003f
jns 0x4bb03b
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
sub ecx, eax
nop
movups xmm0, xmmword [esp + edx + 0x40]
movups xmm1, xmmword [edx + ebp]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x40], xmm1
movups xmm0, xmmword [esp + edx + 0x50]
movups xmm1, xmmword [edx + ebp + 0x10]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x50], xmm1
movups xmm0, xmmword [esp + edx + 0x60]
movups xmm1, xmmword [edx + ebp + 0x20]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x60], xmm1
movups xmm0, xmmword [esp + edx + 0x70]
movups xmm1, xmmword [edx + ebp + 0x30]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x70], xmm1
add edx, 0x40
cmp edx, ecx
jl 0x4bb040
cmp edx, edi
jge 0x4bb0b0
lea eax, [esp + 0x40]
sub ebp, eax
nop dword [eax]
lea ecx, [esp + 0x40]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor byte [ecx], al
cmp edx, edi
jl 0x4bb0a0
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push edi
push eax
push ebx
push esi
call fcn.004ba950
add esp, 0x14
test eax, eax
jne 0x4bb295
xor edx, edx
test ebx, ebx
jle 0x4bb194
cmp ebx, 0x40
jb 0x4bb171
mov ecx, dword [esp + 0x1c]
lea ebp, [esi - 1]
add ebp, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x4bb0f5
cmp ebp, ecx
jae 0x4bb171
mov eax, ebx
and eax, 0x8000003f
jns 0x4bb103
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, ebx
mov edi, ecx
sub ebp, eax
sub edi, esi
mov dword [esp + 0x18], edi
mov eax, esi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ebp
jl 0x4bb120
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jge 0x4bb194
mov edi, dword [esp + 0x1c]
lea ecx, [edx + esi]
mov ebp, ebx
sub edi, esi
sub ebp, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebp, 1
jne 0x4bb182
mov edi, dword [esp + 0x28]
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x88]
push 0
push eax
push dword [esp + 0xf0]
push dword [esp + 0x4c]
call fcn.00491850
add esp, 0x18
test eax, eax
je 0x4bb295
push edi
lea eax, [esp + 0x84]
push eax
push esi
call fcn.004913d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor ebp, ebp
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
mov dword [esp + 0x10], edx
cmp edi, ebx
jge 0x4bb23f
movzx esi, byte [edi + esi]
mov ecx, ebp
mov eax, esi
not ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or ebp, edx
mov edx, dword [esp + 0x10]
mov eax, ecx
not eax
and ecx, edi
and eax, dword [esp + 0x30]
inc edi
or ecx, eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x34]
shr eax, 0x1f
neg eax
mov dword [esp + 0x30], ecx
or eax, ebp
and edx, eax
mov dword [esp + 0x10], edx
cmp edi, ebx
jl 0x4bb1f0
jmp 0x4bb241
xor ecx, ecx
test edx, ebp
je 0x4bb272
inc ecx
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0xcc], eax
jge 0x4bb2c1
push 0xdf
push str.crypto_rsa_rsa_oaep.c
push 0x6d
push 0x99
push 4
call fcn.00492a30
add esp, 0x14
push 0xec
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.00492a30
mov dword [esp + 0x34], 0xffffffff
add esp, 0x14
push 0xee
push str.crypto_rsa_rsa_oaep.c
push esi
call fcn.00491160
push 0xef
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x28]
call fcn.00491160
mov eax, dword [esp + 0x38]
add esp, 0x18
jmp 0x4bb2f1
push eax
lea eax, [ecx + esi]
push eax
push dword [esp + 0x44]
call fcn.005b0670
add esp, 0xc
jmp 0x4bb295
push 0x9c
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.00492a30
jmp 0x4bb292
or eax, 0xffffffff
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052e057
add esp, 0xb4
ret