Function at 0x10079950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0xb0], eax
xor esi, esi
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
push edi
test eax, eax
jne 0x100799a7
call fcn.10050a90
mov dword [ebp - 0x98], eax
test ebx, ebx
push eax
cmove ebx, eax
mov dword [ebp - 0xac], ebx
call sym.ssl.dll_SSL_CIPHER_standard_name
mov ebx, dword [ebp + 0x18]
mov edi, eax
add esp, 4
mov dword [ebp - 0x90], edi
lea ecx, [edi*2 + 2]
cmp ebx, ecx
jb 0x10079d7a
sub ebx, edi
dec ebx
push ebx
mov dword [ebp - 0xa4], ebx
call fcn.1006c4c0
mov esi, eax
add esp, 4
mov dword [ebp - 0xa0], esi
test esi, esi
je 0x10079d95
push dword [ebp - 0xac]
mov eax, dword [ebp - 0x9c]
inc eax
add eax, edi
push ebx
push eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.10051820
add esp, 0x14
test eax, eax
je 0x10079d95
xor edx, edx
test edi, edi
je 0x10079b29
cmp edi, 0x40
jb 0x10079b08
mov ecx, dword [ebp - 0x9c]
lea ebx, [ebp - 0x44]
inc ecx
lea eax, [ecx - 1]
add eax, edi
cmp ebx, eax
mov ebx, dword [ebp - 0xa4]
ja 0x10079a5b
lea eax, [ebp + edi - 0x45]
cmp eax, ecx
jae 0x10079b08
lea ebx, [ebp - 0x44]
mov dword [ebp - 0x88], edi
sub ebx, ecx
mov eax, edi
mov dword [ebp - 0xa8], ebx
and eax, 0x3f
sub dword [ebp - 0x88], eax
lea ebx, [ebp - 0x34]
mov edi, dword [ebp - 0xa8]
lea eax, [ecx + 0x20]
sub ebx, ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x94]
nop dword [eax]
movups xmm0, xmmword [ebp + edx - 0x44]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x44], xmm1
movups xmm0, xmmword [ebp + edx - 0x34]
movups xmm1, xmmword [eax - 0x50]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x34], xmm1
add edx, 0x40
movups xmm0, xmmword [eax + edi - 0x40]
movups xmm1, xmmword [eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax + edi - 0x40], xmm1
movups xmm0, xmmword [eax + esi - 0x40]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [eax + esi - 0x40], xmm1
cmp edx, ecx
jb 0x10079aa0
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0x94], edx
cmp edx, edi
jae 0x10079b29
mov esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x44]
inc esi
sub esi, ecx
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, edi
jb 0x10079b14
mov esi, dword [ebp - 0xa0]
push dword [ebp - 0xac]
lea eax, [ebp - 0x44]
push edi
push eax
push ebx
push esi
call fcn.10051820
add esp, 0x14
test eax, eax
je 0x10079d95
xor ecx, ecx
mov dword [ebp - 0x88], ecx
test ebx, ebx
je 0x10079c44
cmp ebx, 0x40
jb 0x10079c18
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
lea eax, [edx - 1]
add eax, ebx
cmp esi, eax
ja 0x10079b81
lea eax, [esi - 1]
add eax, ebx
cmp eax, edx
jae 0x10079c18
mov edi, dword [ebp - 0x8c]
mov eax, ebx
and eax, 0xffffffc0
add edx, 0x30
sub edi, esi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x94], edi
lea eax, [esi + 0x10]
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0xa8]
jb 0x10079bb0
mov ebx, dword [ebp - 0xa4]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x88], ecx
cmp ecx, ebx
jae 0x10079c44
mov edi, dword [ebp - 0x8c]
mov edx, ebx
add ecx, esi
sub edi, esi
sub edx, dword [ebp - 0x88]
nop word [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10079c30
mov edi, dword [ebp - 0x90]
push 0
push dword [ebp - 0x98]
lea eax, [ebp - 0x84]
push 0
push eax
push dword [ebp + 0x20]
push dword [ebp - 0xb0]
call fcn.1004fa20
add esp, 0x18
test eax, eax
je 0x10079d95
push edi
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.1006c260
or ecx, 0xffffffff
add esp, 0xc
mov dword [ebp - 0x90], ecx
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp - 0x9c]
dec edx
movzx eax, byte [eax]
dec eax
shr eax, 0x1f
dec eax
or edx, eax
xor eax, eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x8c], eax
cmp edi, ebx
jae 0x10079d23
nop dword [eax + eax]
movzx esi, byte [edi + esi]
mov edx, esi
xor edx, 1
dec edx
shr edx, 0x1f
neg edx
mov ecx, edx
not edx
and ecx, dword [ebp - 0x90]
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [ebp - 0x8c]
or eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
and ecx, edx
mov edx, dword [ebp - 0x98]
lea eax, [esi - 1]
mov esi, dword [ebp - 0xa0]
shr eax, 0x1f
dec eax
mov dword [ebp - 0x90], ecx
and eax, ecx
or edx, eax
mov dword [ebp - 0x98], edx
cmp edi, ebx
jb 0x10079cc0
mov eax, dword [ebp - 0x8c]
or ecx, edx
jne 0x10079d7a
inc eax
sub ebx, eax
cmp dword [ebp + 0x10], ebx
jae 0x10079d3d
push 0xef
push str.C:_boringssl_x86crypto_rsa_extra_rsa_crypt.c
push 0x71
jmp 0x10079d89
test ebx, ebx
je 0x10079d53
push ebx
add eax, esi
push eax
push dword [ebp - 0xb4]
call fcn.100a7910
add esp, 0xc
mov eax, dword [ebp - 0xb8]
push esi
mov dword [eax], ebx
call fcn.1006c350
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a69cd
mov esp, ebp
pop ebp
ret
push 0xfb
push str.C:_boringssl_x86crypto_rsa_extra_rsa_crypt.c
push 0x85
push 0
push 4
call fcn.10068920
add esp, 0x14
push esi
call fcn.1006c350
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.100a69cd
mov esp, ebp
pop ebp
ret