Function at 0x100ed970
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb0
call fcn.1011fc40
mov eax, dword [0x101b2070]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
push esi
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x14], ecx
xor ecx, ecx
xor ebx, ebx
push edi
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
jne 0x100ed9fc
call fcn.10072090
mov dword [esp + 0x14], eax
xor ecx, ecx
cmp esi, ecx
jne 0x100eda04
mov dword [esp + 0x24], eax
push eax
call fcn.1007b800
add esp, 4
mov esi, eax
cmp dword [esp + 0xc8], ebx
jle 0x100edcc8
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x100edcc8
cmp ebp, eax
jl 0x100edc55
lea eax, [esi + esi + 2]
cmp ebp, eax
jl 0x100edc55
mov ebx, ebp
push 0xa0
sub ebx, esi
dec ebx
push str.crypto_rsa_rsa_oaep.c
push ebx
call fcn.10079030
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100eda7c
push 0xa2
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.100719e0
add esp, 0x14
jmp 0x100edc89
cmp dword [esp + 0x18], ebp
je 0x100edabb
push 0xa7
push str.crypto_rsa_rsa_oaep.c
push ebp
call fcn.10079070
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100edaa4
push 0xaa
jmp 0x100eda61
mov ecx, dword [esp + 0x18]
push ecx
sub ebp, ecx
add ebp, eax
push edi
push ebp
call fcn.1011fc70
mov edi, dword [esp + 0x2c]
add esp, 0xc
movzx eax, byte [edi]
mov edx, dword [esp + 0x24]
lea ebp, [eax - 1]
not eax
shr eax, 0x1f
push edx
shr ebp, 0x1f
and ebp, eax
lea eax, [edi + esi + 1]
push ebx
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
lea ecx, [edi + 1]
push esi
push eax
neg ebp
mov dword [esp + 0x2c], ecx
call fcn.100ed5d0
add esp, 0x14
test eax, eax
jne 0x100edc85
xor edi, edi
test esi, esi
jle 0x100edb1e
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
sub ecx, edx
lea esp, [esp]
lea eax, [esp + edi + 0x3c]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, esi
jl 0x100edb10
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x44]
push ecx
push ebx
push edx
call fcn.100ed5d0
add esp, 0x14
test eax, eax
jne 0x100edc85
test ebx, ebx
jle 0x100edb59
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
sub edi, eax
mov ecx, ebx
nop
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x100edb50
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xdc]
push 0
push eax
mov eax, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.10082e60
add esp, 0x18
test eax, eax
je 0x100edc85
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.10081c90
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
add esp, 0xc
xor edi, edi
mov dword [esp + 0x14], ebp
cmp esi, ebx
jge 0x100edc14
jmp 0x100edbc0
mov edx, dword [esp + 0x10]
movzx ecx, byte [esi + edx]
mov eax, ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, edi
not eax
neg edx
and eax, edx
mov ebp, eax
and eax, esi
not ebp
and ebp, dword [esp + 0x28]
or edi, edx
or ebp, eax
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
and eax, ecx
neg eax
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x14]
or eax, edi
and ebp, eax
inc esi
mov dword [esp + 0x14], ebp
cmp esi, ebx
jl 0x100edbc0
test ebp, edi
je 0x100edc51
mov ecx, dword [esp + 0x28]
inc ecx
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xc8], eax
jge 0x100edc72
push 0xee
push str.crypto_rsa_rsa_oaep.c
push 0x6d
push 0x99
push 4
call fcn.100719e0
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
mov ebp, dword [esp + 0x1c]
push 0xfb
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.100719e0
add esp, 0x14
jmp 0x100edc89
add ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
call fcn.1011fc70
add esp, 0xc
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push 0x40
push ecx
call fcn.1008d870
mov edx, dword [esp + 0x18]
push 0xfe
push str.crypto_rsa_rsa_oaep.c
push ebx
push edx
call fcn.10079100
mov eax, dword [esp + 0x38]
push 0xff
push str.crypto_rsa_rsa_oaep.c
push ebp
push eax
call fcn.10079100
mov eax, dword [esp + 0x54]
add esp, 0x28
jmp 0x100edccb
or eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011bab4
add esp, 0xb0
ret