Function at 0x1013a330
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x3c
call fcn.10076ab0
mov eax, dword [0x101f1dd0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
push ebp
xor ebp, ebp
dec eax
cmp eax, 0x29
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebp
jl 0x1013a556
mov ebx, eax
sub ebx, dword [esp + 0x5c]
jns 0x1013a38b
mov dword [esp + 0x14], 1
xor ebx, ebx
mov dword [esp + 0x5c], eax
lea edi, [eax - 0x14]
push 0x7c
add eax, edi
push str..crypto_rsa_rsa_oaep.c
push eax
call fcn.100f0170
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x1013a3c0
push 0x7f
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x7a
push 4
call fcn.100ef130
add esp, 0x14
jmp 0x1013a57b
push ebx
lea esi, [edi + ebp]
push 0
push esi
call fcn.10076580
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esi + ebx]
push eax
call fcn.10078b70
lea ebx, [esi + 0x14]
mov dword [esp + 0x28], ebx
call fcn.100fcd70
push eax
push edi
push ebx
lea ecx, [esp + 0x44]
push 0x14
push ecx
call fcn.10139f70
add esp, 0x2c
test eax, eax
jne 0x1013a57b
mov edx, esi
lea eax, [esp + 0x20]
xor ecx, ecx
sub edx, eax
nop
lea eax, [esp + ecx + 0x20]
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
movzx ebx, byte [esi + ecx + 4]
xor byte [eax + 4], bl
add ecx, 5
cmp ecx, 0x14
jl 0x1013a410
call fcn.100fcd70
push eax
push 0x14
lea ecx, [esp + 0x28]
push ecx
push edi
push ebp
call fcn.10139f70
add esp, 0x14
test eax, eax
jne 0x1013a57b
test edi, edi
jle 0x1013a47b
mov ecx, dword [esp + 0x10]
mov eax, ebp
sub ecx, ebp
mov esi, edi
nop
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x1013a470
push 0
call fcn.100fcd70
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x40]
push eax
push ecx
push edx
call fcn.100fb750
add esp, 0x18
test eax, eax
je 0x1013a57b
push 0x14
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.100f71b0
add esp, 0xc
test eax, eax
jne 0x1013a556
cmp dword [esp + 0x14], eax
jne 0x1013a556
mov eax, 0x14
cmp eax, edi
jge 0x1013a4dd
nop
cmp byte [eax + ebp], 0
jne 0x1013a4db
inc eax
cmp eax, edi
jl 0x1013a4d0
cmp eax, edi
je 0x1013a556
cmp byte [eax + ebp], 1
jne 0x1013a556
inc eax
sub edi, eax
cmp dword [esp + 0x54], edi
jge 0x1013a527
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0x7a
push 4
call fcn.100ef130
add esp, 0x14
push ebp
or edi, 0xffffffff
call fcn.100f0310
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10075e13
add esp, 0x3c
ret
mov ecx, dword [esp + 0x1c]
push edi
add eax, ebp
push eax
push ecx
call fcn.10078b70
add esp, 0xc
push ebp
call fcn.100f0310
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10075e13
add esp, 0x3c
ret
push 0xb5
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.100ef130
add esp, 0x14
test ebp, ebp
je 0x1013a57b
push ebp
call fcn.100f0310
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.10075e13
add esp, 0x3c
ret