Function at 0x10154270
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb8
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
mov esi, dword [esp + 0xe8]
push edi
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe8]
cmp eax, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
jne 0x101542e2
call fcn.100dfd10
mov dword [esp + 0x20], eax
cmp esi, edi
jne 0x101542ea
mov dword [esp + 0x2c], eax
push eax
call fcn.100e91a0
add esp, 4
cmp dword [esp + 0xd0], edi
mov ebx, eax
mov dword [esp + 0x30], ebx
jle 0x1015475d
mov esi, dword [esp + 0xd8]
cmp esi, edi
jle 0x1015475d
cmp ebp, esi
jl 0x10154742
lea edx, [ebx + ebx + 2]
cmp ebp, edx
jl 0x10154742
push 0x9d
sub ebp, ebx
sub ebp, 1
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x40], ebp
call fcn.100de150
add esp, 0xc
test eax, eax
mov dword [esp + 0x28], eax
jne 0x1015436d
push 0x9f
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x101546eb
mov eax, dword [esp + 0x38]
push 0xa3
push str.crypto_rsa_rsa_oaep.c
push eax
call fcn.100de150
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x1c], ecx
jne 0x10154395
push 0xa6
jmp 0x10154352
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 0x101543dd
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 0x101543b0
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.10153eb0
add esp, 0x14
test eax, eax
jne 0x101546e7
xor esi, esi
test ebx, ebx
jle 0x10154437
lea edx, [esp + 0x44]
sub edi, edx
lea eax, [esp + esi + 0x44]
mov cl, byte [edi + eax]
xor byte [eax], cl
add esi, 1
cmp esi, ebx
jl 0x10154427
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.10153eb0
add esp, 0x14
test eax, eax
jne 0x101546e7
test ebp, ebp
jle 0x10154473
mov esi, dword [esp + 0x18]
mov eax, edi
sub esi, edi
mov ecx, ebp
mov dl, byte [esi + eax]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x10154466
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.100e3730
add esp, 0x18
test eax, eax
je 0x101546e7
push ebx
lea ecx, [esp + 0x88]
push ecx
push edi
call fcn.10100b10
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 0x10154532
mov edi, edi
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 0x101544d0
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 0x10154642
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 0x10154633
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 0x10154600
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 0x10154600
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add edi, edi
cmp edi, dword [esp + 0x20]
jl 0x101545c0
mov eax, dword [esp + 0xd0]
xor esi, esi
test eax, eax
jle 0x101546bf
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 0x10154666
push 0x107
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.100dc5a0
mov eax, dword [esp + 0x28]
and eax, 1
push eax
call fcn.100dc550
add esp, 0x18
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push 0x40
push ecx
call fcn.100f9f20
mov edx, dword [esp + 0x30]
push 0x10b
push str.crypto_rsa_rsa_oaep.c
push ebp
push edx
call fcn.100de220
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
push 0x10c
push str.crypto_rsa_rsa_oaep.c
push eax
push ecx
call fcn.100de220
mov dword [esp + 0x5c], edi
not edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x5c]
and eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
add esp, 0x28
or eax, edx
jmp 0x10154760
push 0x98
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.100dc5a0
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0xb8
ret