Function at 0x100a65c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], 0
call sym.ssl.dll_SSL_CIPHER_standard_name
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x5c], 1
call fcn.10051280
push 0
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.10051360
add esp, 0x1c
test eax, eax
je 0x100a6853
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
test ecx, ecx
je 0x100a6844
mov esi, dword [ebp - 0x4c]
mov edx, 1
nop
cmp esi, ecx
mov byte [ebp - 0x45], dl
mov edi, esi
mov eax, edx
cmova edi, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, edx
push 0
push 0
shr eax, 8
push 0
mov byte [ebp - 0x46], al
lea eax, [ebp - 0x9c]
push 0
push eax
mov dword [ebp - 0x68], edi
call fcn.10051360
add esp, 0x14
test eax, eax
je 0x100a6853
push dword [ebp + 0x14]
lea eax, [ebp - 0x9c]
push dword [ebp - 0x64]
push eax
call fcn.10051670
add esp, 0xc
test eax, eax
je 0x100a6853
push 4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10051670
add esp, 0xc
test eax, eax
je 0x100a6853
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.100512a0
add esp, 0xc
test eax, eax
je 0x100a6853
test edi, edi
je 0x100a66ed
push edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.100a7910
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], 1
cmp eax, 1
jbe 0x100a6828
push 0
push 0
push 0
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.10051360
add esp, 0x14
test eax, eax
je 0x100a6853
push esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10051670
add esp, 0xc
test eax, eax
je 0x100a6853
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.100512a0
add esp, 0xc
test eax, eax
je 0x100a6853
xor ecx, ecx
test edi, edi
je 0x100a6815
cmp edi, 0x40
jb 0x100a67f8
lea edx, [ebx - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp ebx, eax
ja 0x100a677f
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x100a67f8
mov edx, edi
lea esi, [ebp - 0x44]
sub esi, ebx
lea edi, [ebp - 0x34]
and edx, 0xffffffc0
lea eax, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x50]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [ebp + ecx - 0x34]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jb 0x100a67a0
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x50], ecx
cmp ecx, edi
jae 0x100a6812
lea esi, [ebp - 0x44]
mov edx, edi
sub esi, ebx
lea eax, [ebx + ecx]
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100a6804
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp + 0x18]
jb 0x100a6700
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
add ebx, edi
mov edx, dword [ebp - 0x5c]
sub ecx, edi
inc edx
mov dword [ebp + 0x20], ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], edx
test ecx, ecx
jne 0x100a6640
xor ecx, ecx
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea eax, [ebp - 0x9c]
push eax
call fcn.100511a0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x60]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100a69cd
mov esp, ebp
pop ebp
ret