Function at 0x10089c70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb8
call fcn.10033890
mov eax, dword [0x1012f5f0]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe8]
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xe4]
cmp eax, ebp
push edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
jne 0x10089ce6
call fcn.1003c6a0
mov dword [esp + 0x20], eax
cmp esi, ebp
jne 0x10089cee
mov dword [esp + 0x2c], eax
push eax
call fcn.10052ad0
add esp, 4
cmp dword [esp + 0xd0], ebp
mov ebx, eax
mov dword [esp + 0x30], ebx
jle 0x1008a165
mov esi, dword [esp + 0xd8]
cmp esi, ebp
jle 0x1008a165
cmp edi, esi
jl 0x1008a14a
lea edx, [ebx + ebx + 2]
cmp edi, edx
jl 0x1008a14a
mov ebp, edi
push 0x9e
sub ebp, ebx
sub ebp, 1
push str..crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x40], ebp
call fcn.100407f0
add esp, 0xc
test eax, eax
mov dword [esp + 0x28], eax
jne 0x10089d73
push 0xa0
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.1003ae70
add esp, 0x14
jmp 0x1008a0fb
push 0xa4
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.100407f0
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x1c], ecx
jne 0x10089d97
push 0xa7
jmp 0x10089d58
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xd4]
add ecx, eax
add edi, esi
test eax, eax
mov dword [esp + 0x1c], ecx
jle 0x10089ddf
mov dword [esp + 0x1c], eax
mov edx, esi
not edx
lea eax, [esi - 1]
shr eax, 0x1f
shr edx, 0x1f
and eax, edx
sub eax, 1
mov edx, eax
and edx, 1
sub edi, edx
and al, byte [edi]
sub ecx, 1
sub esi, edx
sub dword [esp + 0x1c], 1
mov byte [ecx], al
jne 0x10089db2
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx]
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
mov eax, dword [esp + 0x2c]
push eax
lea edi, [ecx + 1]
lea ecx, [ebx + ecx + 1]
push ebp
push ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x50]
neg edx
push ebx
push ecx
mov dword [esp + 0x28], edx
call fcn.100898e0
add esp, 0x14
test eax, eax
jne 0x1008a0f7
xor esi, esi
test ebx, ebx
jle 0x10089e40
lea edx, [esp + 0x44]
sub edi, edx
lea esp, [esp]
lea eax, [esp + esi + 0x44]
mov cl, byte [edi + eax]
xor byte [eax], cl
add esi, 1
cmp esi, ebx
jl 0x10089e30
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push edx
push ebx
lea eax, [esp + 0x4c]
push eax
push ebp
push edi
call fcn.100898e0
add esp, 0x14
test eax, eax
jne 0x1008a0f7
test ebp, ebp
jle 0x10089e7d
mov esi, dword [esp + 0x18]
mov eax, edi
sub esi, edi
mov ecx, ebp
nop
mov dl, byte [esi + eax]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x10089e70
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xe4]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call fcn.10073db0
add esp, 0x18
test eax, eax
je 0x1008a0f7
push ebx
lea ecx, [esp + 0x88]
push ecx
push edi
call fcn.10038dc0
lea edx, [eax - 1]
shr edx, 0x1f
not eax
shr eax, 0x1f
and edx, eax
neg edx
and dword [esp + 0x20], edx
add esp, 0xc
xor edi, edi
cmp ebx, ebp
mov esi, ebx
jge 0x10089f42
jmp 0x10089ee0
mov eax, dword [esp + 0x28]
movzx ecx, byte [esi + eax]
mov eax, ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
mov eax, edi
not eax
and eax, edx
or edi, edx
mov dword [esp + 0x10], eax
lea edx, [ecx - 1]
not eax
shr edx, 0x1f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
and ebx, dword [esp + 0x24]
not ecx
shr ecx, 0x1f
and edx, ecx
neg edx
and eax, esi
or edx, edi
and dword [esp + 0x14], edx
or eax, ebx
add esi, 1
cmp esi, ebp
mov dword [esp + 0x24], eax
jl 0x10089ee0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0xd0]
mov edx, ebp
sub edx, dword [esp + 0x24]
mov eax, esi
sub edx, 1
sub eax, edx
xor eax, edx
mov ecx, edx
xor ecx, esi
or eax, ecx
xor eax, esi
shr eax, 0x1f
sub eax, 1
and eax, edi
and dword [esp + 0x14], eax
mov ecx, ebp
sub ecx, ebx
lea edi, [ecx - 1]
mov eax, edi
sub eax, esi
xor eax, esi
mov dword [esp + 0x10], edi
xor edi, esi
or eax, edi
xor eax, dword [esp + 0x10]
lea edi, [ecx - 1]
shr eax, 0x1f
neg eax
mov dword [esp + 0x10], eax
not eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
and eax, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
and edi, esi
or eax, edi
mov edi, 1
cmp dword [esp + 0x20], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0xd0], eax
jle 0x1008a052
sub ecx, edx
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov eax, dword [esp + 0x10]
and eax, edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, ebp
sub eax, edi
lea esi, [ebx + 1]
sub ecx, 1
cmp esi, eax
jge 0x1008a043
mov edx, dword [esp + 0x28]
movzx ebp, cl
mov ecx, dword [esp + 0x30]
add ecx, 1
add esi, edx
mov ebx, ebp
sub eax, ecx
not ebx
mov dword [esp + 0x24], eax
jmp 0x1008a010
mov cl, byte [esi + edi]
mov dl, byte [esi]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
and al, cl
mov ecx, dword [esp + 0x2c]
and cl, dl
or al, cl
mov byte [esi], al
add esi, 1
sub dword [esp + 0x24], 1
jne 0x1008a010
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
add edi, edi
cmp edi, dword [esp + 0x20]
jl 0x10089fd0
mov eax, dword [esp + 0xd0]
xor esi, esi
test eax, eax
jle 0x1008a0cf
movzx eax, byte [esp + 0x14]
mov ecx, edx
mov edi, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
lea eax, [ebx + edx + 1]
shr ecx, 0x1f
neg edi
mov dword [esp + 0x10], eax
mov eax, esi
shr eax, 0x1f
mov bl, al
mov edx, edi
shr edx, 0x1f
xor dl, cl
xor bl, cl
or dl, bl
xor dl, al
neg dl
movzx eax, dl
and eax, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov dl, byte [edx + esi]
mov dword [esp + 0x18], eax
not eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax + esi]
mov ebx, dword [esp + 0x18]
and bl, al
mov eax, dword [esp + 0x30]
and al, dl
mov edx, dword [esp + 0x40]
or bl, al
mov byte [edx + esi], bl
add esi, 1
add edi, 1
cmp esi, dword [esp + 0xd0]
jl 0x1008a076
push 0x108
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.1003ae70
mov eax, dword [esp + 0x28]
and eax, 1
push eax
call fcn.1003abf0
add esp, 0x18
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 0x40
push ecx
call fcn.1004f4c0
mov esi, dword [esp + 0x30]
push ebp
push esi
call fcn.1004f4c0
push esi
call fcn.100409f0
mov esi, dword [esp + 0x30]
push edi
push esi
call fcn.1004f4c0
push esi
call fcn.100409f0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
not eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
and eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
add esp, 0x20
or eax, edx
jmp 0x1008a168
push 0x99
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.1003ae70
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001d3e9
add esp, 0xb8
ret