Function at 0x10121780
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb4
call fcn.1005d3c0
mov eax, dword [0x101c10e0]
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 0x10121804
call fcn.100b2610
mov dword [esp + 0x2c], eax
test edi, edi
push eax
cmove edi, eax
mov dword [esp + 0x1c], edi
call fcn.100c4460
add esp, 4
mov edi, eax
mov dword [esp + 0x28], edi
cmp dword [esp + 0xcc], esi
jle 0x10121bce
test ebx, ebx
jle 0x10121bce
cmp ebp, ebx
jl 0x10121b52
lea eax, [edi*2 + 2]
cmp ebp, eax
jl 0x10121b52
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.100ac710
push 0x9a
mov esi, eax
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x4c], esi
call fcn.100ac710
add esp, 0x18
mov dword [esp + 0x14], eax
test esi, esi
je 0x10121bb4
test eax, eax
je 0x10121bb4
push ebp
push 0
push eax
call fcn.1005e5b0
mov eax, dword [esp + 0x28]
sub ebp, eax
add ebp, dword [esp + 0x20]
push eax
push dword [esp + 0x20]
push ebp
call fcn.1005ec70
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.10121230
add esp, 0x2c
test eax, eax
jne 0x10121b75
xor edx, edx
test edi, edi
jle 0x10121990
cmp edi, 0x40
jb 0x10121972
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 0x1012190d
cmp ecx, ebp
jae 0x10121972
mov eax, edi
and eax, 0x8000003f
jns 0x1012191b
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 0x10121920
cmp edx, edi
jge 0x10121990
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 0x10121980
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push edi
push eax
push ebx
push esi
call fcn.10121230
add esp, 0x14
test eax, eax
jne 0x10121b75
xor edx, edx
test ebx, ebx
jle 0x10121a74
cmp ebx, 0x40
jb 0x10121a51
mov ecx, dword [esp + 0x1c]
lea ebp, [esi - 1]
add ebp, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x101219d5
cmp ebp, ecx
jae 0x10121a51
mov eax, ebx
and eax, 0x8000003f
jns 0x101219e3
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 0x10121a00
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jge 0x10121a74
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 0x10121a62
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.100b1c40
add esp, 0x18
test eax, eax
je 0x10121b75
push edi
lea eax, [esp + 0x84]
push eax
push esi
call fcn.100c1230
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 0x10121b1f
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 0x10121ad0
jmp 0x10121b21
xor ecx, ecx
test edx, ebp
je 0x10121b52
inc ecx
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0xcc], eax
jge 0x10121ba1
push 0xdf
push str.crypto_rsa_rsa_oaep.c
push 0x6d
push 0x99
push 4
call fcn.100b9ee0
add esp, 0x14
push 0xec
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.100b9ee0
mov dword [esp + 0x34], 0xffffffff
add esp, 0x14
push 0xee
push str.crypto_rsa_rsa_oaep.c
push esi
call fcn.100ac740
push 0xef
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x28]
call fcn.100ac740
mov eax, dword [esp + 0x38]
add esp, 0x18
jmp 0x10121bd1
push eax
lea eax, [ecx + esi]
push eax
push dword [esp + 0x44]
call fcn.1005ec70
add esp, 0xc
jmp 0x10121b75
push 0x9c
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.100b9ee0
jmp 0x10121b72
or eax, 0xffffffff
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005cef4
add esp, 0xb4
ret