Function at 0x101688a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x78
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x94]
dec ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
push edi
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0
test ecx, ecx
jne 0x1016892c
call fcn.101031d0
mov ecx, eax
mov dword [esp + 0x10], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x34], esi
call fcn.10107ea0
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
test esi, esi
jg 0x10168984
call fcn.1010b5b0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x51
push str.crypto_rsa_rsa_oaep.c
call fcn.1010b6b0
push 0
push 0xb5
push 4
call fcn.1010b760
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.100b9f43
add esp, 0x78
ret
lea ecx, [esi + esi]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x3c], eax
dec eax
cmp ebp, eax
jle 0x101689cd
call fcn.1010b5b0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x57
push str.crypto_rsa_rsa_oaep.c
call fcn.1010b6b0
push 0
push 0x6e
push 4
call fcn.1010b760
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.100b9f43
add esp, 0x78
ret
lea eax, [ecx + 1]
cmp ebx, eax
jge 0x10168a0d
call fcn.1010b5b0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x5c
push str.crypto_rsa_rsa_oaep.c
call fcn.1010b6b0
push 0
push 0x78
push 4
call fcn.1010b760
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.100b9f43
add esp, 0x78
ret
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
lea ebx, [eax + 1]
mov byte [eax], 0
push 0
add ebx, esi
lea ebp, [eax + 1]
push ebx
push dword [esp + 0xb4]
mov dword [esp + 0x28], ebp
push dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
call fcn.10101430
add esp, 0x18
test eax, eax
je 0x10168d56
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x28]
dec eax
push eax
lea eax, [ebx + esi]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x34]
mov eax, ebx
sub eax, edx
sub eax, esi
add eax, dword [esp + 0x38]
push edx
push dword [esp + 0x2c]
push eax
mov byte [eax - 1], 1
call sub.VCRUNTIME140.dll_memcpy
push 0
push esi
push ebp
push dword [esp + 0x44]
call fcn.10133f10
add esp, 0x28
test eax, eax
jle 0x10168d56
mov edi, dword [esp + 0x2c]
push 0x72
sub edi, esi
push str.crypto_rsa_rsa_oaep.c
push edi
call fcn.101034e0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10168adc
call fcn.1010b5b0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x74
push str.crypto_rsa_rsa_oaep.c
call fcn.1010b6b0
push 0
push 0xc0100
push 4
call fcn.1010b760
add esp, 0x18
jmp 0x10168d56
push dword [esp + 0x30]
push esi
push ebp
push edi
push eax
call fcn.10167fa0
add esp, 0x14
test eax, eax
js 0x10168d56
xor edx, edx
test edi, edi
jle 0x10168c16
cmp edi, 8
jb 0x10168bf3
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
add eax, edi
cmp ebx, eax
ja 0x10168b21
lea eax, [ebx - 1]
add eax, edi
cmp eax, ecx
jae 0x10168bf3
cmp edi, 0x40
jb 0x10168bae
mov eax, edi
and eax, 0x8000003f
jns 0x10168b38
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, edi
sub ebp, eax
lea eax, [ecx + 0x30]
mov dword [esp + 0x20], eax
sub ecx, ebx
mov dword [esp + 0x1c], ebp
lea eax, [ebx + 0x10]
mov ebp, dword [esp + 0x20]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ebp, [ebp + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebp - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ecx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebp - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x1c]
jl 0x10168b50
mov ebp, dword [esp + 0x14]
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x10168bef
jmp 0x10168bb0
sub ecx, ebx
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x10168bbe
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x10], edi
sub dword [esp + 0x10], eax
lea eax, [edx + ebx]
nop dword [eax]
movq xmm0, qword [eax]
lea eax, [eax + 8]
movq xmm1, qword [eax + ecx - 8]
add edx, 8
pxor xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, dword [esp + 0x10]
jl 0x10168bd0
cmp edx, edi
jge 0x10168c16
mov ebp, dword [esp + 0x18]
lea ecx, [edx + ebx]
sub ebp, ebx
mov ebx, edi
sub ebx, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x10168c00
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push edi
push ebx
push esi
push eax
call fcn.10167fa0
add esp, 0x14
test eax, eax
js 0x10168d56
xor ecx, ecx
cmp esi, 8
jb 0x10168d31
lea edx, [ebp - 1]
lea eax, [esp + esi + 0x43]
add edx, esi
cmp ebp, eax
ja 0x10168c56
lea eax, [esp + 0x44]
cmp edx, eax
jae 0x10168d31
cmp esi, 0x40
jb 0x10168cec
mov eax, esi
and eax, 0x8000003f
jns 0x10168c6d
dec eax
or eax, 0xffffffc0
inc eax
mov ebx, esi
lea edx, [esp + 0x44]
sub ebx, eax
lea esi, [esp + 0x54]
sub edx, ebp
lea eax, [ebp + 0x20]
sub esi, ebp
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
nop dword [eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + ecx + 0x44]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + ecx + 0x54]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, ebx
jl 0x10168c90
mov ebp, dword [esp + 0x14]
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x10168d2d
jmp 0x10168cf2
lea edx, [esp + 0x44]
sub edx, ebp
mov eax, esi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x10168d00
dec eax
or eax, 0xfffffff8
inc eax
mov ebx, esi
sub ebx, eax
lea eax, [ecx + ebp]
nop word [eax + eax]
movq xmm0, qword [eax]
lea eax, [eax + 8]
movq xmm1, qword [edx + eax - 8]
add ecx, 8
pxor xmm1, xmm0
movq qword [eax - 8], xmm1
cmp ecx, ebx
jl 0x10168d10
cmp ecx, esi
jge 0x10168d4e
lea ebx, [esp + 0x44]
sub ebx, ebp
lea edx, [ecx + ebp]
sub esi, ecx
nop dword [eax]
mov al, byte [edx + ebx]
lea edx, [edx + 1]
xor byte [edx - 1], al
sub esi, 1
jne 0x10168d40
mov dword [esp + 0x34], 1
lea eax, [esp + 0x44]
push 0x40
push eax
call fcn.10001320
push 0x89
push str.crypto_rsa_rsa_oaep.c
push edi
push dword [esp + 0x2c]
call fcn.101035d0
mov ecx, dword [esp + 0x9c]
add esp, 0x18
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x78
ret