Function at 0x10035a80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.100d6420
mov eax, dword [0x10151618]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x88]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
add edi, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
jne 0x10035adf
call sym.LIBEAY32.dll_EVP_sha1
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10035ae7
mov dword [esp + 0x14], eax
push eax
call sym.LIBEAY32.dll_EVP_MD_size
mov esi, eax
lea eax, [esi + esi]
sub edi, eax
lea edx, [edi - 1]
add esp, 4
cmp ebp, edx
jle 0x10035b2b
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100d6528
add esp, 0x5c
ret
add eax, 1
cmp dword [esp + 0x1c], eax
jge 0x10035b3f
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x10035b07
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push 0
push ecx
lea eax, [ebx + 1]
mov byte [ebx], 0
push 0
lea ebx, [ebx + esi + 1]
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push edx
push eax
call sym.LIBEAY32.dll_EVP_Digest
add esp, 0x18
test eax, eax
je 0x10035b16
sub edi, ebp
sub edi, 1
push edi
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.100d7a80
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov edx, ebx
sub edx, ebp
sub edx, esi
push ebp
lea eax, [edx + edi]
push ecx
push eax
mov byte [eax - 1], 1
call fcn.100d73f0
mov ebp, dword [esp + 0x30]
push esi
push ebp
call sym.LIBEAY32.dll_RAND_bytes
add esp, 0x20
test eax, eax
jle 0x10035b16
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10035bdc
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x10035b07
mov edx, dword [esp + 0x14]
push edx
push esi
push ebp
push edi
push eax
call sym.LIBEAY32.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
jl 0x10035c2a
test edi, edi
jle 0x10035c11
mov ebp, dword [esp + 0x10]
mov eax, ebx
sub ebp, ebx
mov ecx, edi
nop
mov dl, byte [eax + ebp]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x10035c00
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push eax
push edi
push ebx
lea ecx, [esp + 0x34]
push esi
push ecx
call sym.LIBEAY32.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
jge 0x10035c4c
mov edx, dword [esp + 0x10]
push edx
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100d6528
add esp, 0x5c
ret
test esi, esi
jle 0x10035c65
lea ecx, [esp + 0x28]
mov eax, ebp
sub ecx, ebp
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x10035c58
mov eax, dword [esp + 0x10]
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov ecx, dword [esp + 0x6c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100d6528
add esp, 0x5c
ret