Function at 0x100a5860
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.1007c490
mov eax, dword [0x1010f770]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xcc]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0xd8]
push ebp
mov dword [esp + 0x10], eax
xor ebp, ebp
mov eax, dword [esp + 0xe0]
push esi
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
push edi
mov edi, dword [esp + 0xf4]
test eax, eax
jne 0x100a58e2
call fcn.10091c30
mov dword [esp + 0x14], eax
test edi, edi
push eax
cmove edi, eax
mov dword [esp + 0x3c], edi
call fcn.100854b0
add esp, 4
mov edi, eax
mov dword [esp + 0x20], edi
cmp dword [esp + 0xd8], ebx
jle 0x100a5cdb
test esi, esi
jle 0x100a5cdb
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jl 0x100a5c79
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x100a5c79
mov ebx, ecx
push 0x9b
sub ebx, edi
dec ebx
push str..crypto_rsa_rsa_oaep.c
push ebx
call fcn.10083b80
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x44], ebp
test ebp, ebp
jne 0x100a5970
push 0x9d
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.10084ed0
mov eax, dword [esp + 0x40]
add esp, 0x14
jmp 0x100a5cde
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x100a59ce
push 0xa2
push str..crypto_rsa_rsa_oaep.c
push eax
call fcn.10083b80
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
jne 0x100a59a4
push 0xa5
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x100a5c85
push dword [esp + 0x18]
push 0
push eax
call fcn.10065910
mov eax, dword [esp + 0x24]
push esi
push dword [esp + 0x20]
sub eax, esi
add eax, dword [esp + 0x44]
push eax
call fcn.100659a0
mov edx, dword [esp + 0x48]
add esp, 0x18
jmp 0x100a59d2
mov edx, dword [esp + 0x10]
movzx eax, byte [edx]
lea esi, [edx + 1]
push dword [esp + 0x38]
mov dword [esp + 0x2c], esi
push ebx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edi + 1]
add eax, edx
neg ecx
push eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
push edi
push eax
mov dword [esp + 0x30], ecx
call fcn.100a52e0
add esp, 0x14
test eax, eax
jne 0x100a5c94
xor edx, edx
test edi, edi
jle 0x100a5ac5
cmp edi, 0x20
jb 0x100a5aab
lea eax, [edi - 1]
lea ecx, [esp + edi + 0x4b]
add eax, esi
lea edi, [esp + 0x4c]
cmp edi, eax
mov edi, dword [esp + 0x20]
ja 0x100a5a40
cmp ecx, esi
jae 0x100a5aab
mov eax, edi
and eax, 0x8000001f
jns 0x100a5a4e
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, edi
mov edi, esi
sub ecx, eax
lea eax, [esp + 0x4c]
mov ebp, eax
sub edi, ebp
mov dword [esp + 0x10], edi
lea edi, [esi + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edx + ebp]
add edx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x100a5a73
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
cmp edx, edi
jge 0x100a5ac5
lea eax, [esp + 0x4c]
sub esi, eax
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, edi
jl 0x100a5ab5
push dword [esp + 0x38]
lea eax, [esp + 0x50]
push edi
push eax
push ebx
push ebp
call fcn.100a52e0
add esp, 0x14
test eax, eax
jne 0x100a5c94
xor esi, esi
test ebx, ebx
jle 0x100a5b86
cmp ebx, 0x20
jb 0x100a5b65
mov ecx, dword [esp + 0x34]
lea edx, [ebp - 1]
add edx, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp ebp, eax
ja 0x100a5b06
cmp edx, ecx
jae 0x100a5b65
mov eax, ebx
and eax, 0x8000001f
jns 0x100a5b14
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x10], ecx
mov edx, ebx
sub dword [esp + 0x10], ebp
sub edx, eax
add ecx, 0x10
mov eax, ebp
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [ecx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edi + esi]
add esi, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp esi, edx
jl 0x100a5b31
mov edi, dword [esp + 0x20]
cmp esi, ebx
jge 0x100a5b86
mov edi, dword [esp + 0x34]
lea ecx, [esi + ebp]
mov edx, ebx
sub edi, ebp
sub edx, esi
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100a5b76
mov edi, dword [esp + 0x20]
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x50]
call fcn.10091590
add esp, 0x18
test eax, eax
je 0x100a5c94
push edi
lea eax, [esp + 0x90]
push eax
push ebp
call fcn.10083ff0
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
cmp edi, ebx
jge 0x100a5c3c
movzx esi, byte [edi + ebp]
not ecx
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [esp + 0x24]
or eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
or ecx, edx
mov edx, dword [esp + 0x1c]
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov dword [esp + 0x14], ecx
neg eax
or eax, ecx
and edx, eax
mov dword [esp + 0x1c], edx
cmp edi, ebx
jl 0x100a5be6
test edx, ecx
je 0x100a5c79
mov eax, dword [esp + 0x24]
mov esi, ebx
inc eax
sub esi, eax
mov dword [esp + 0x2c], esi
cmp dword [esp + 0xd8], esi
jge 0x100a5cc9
push 0xea
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.10084ed0
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
push 0xf7
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.10084ed0
add esp, 0x14
test ebp, ebp
je 0x100a5ca8
push ebx
push ebp
call fcn.100068a0
push ebp
call fcn.10083b00
add esp, 0xc
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x100a5cc3
push dword [esp + 0x18]
push ebx
call fcn.100068a0
push ebx
call fcn.10083b00
add esp, 0xc
mov eax, dword [esp + 0x2c]
jmp 0x100a5cde
push esi
add eax, ebp
push eax
push dword [esp + 0x48]
call fcn.100659a0
add esp, 0xc
jmp 0x100a5c94
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005f171
add esp, 0xc0
ret