Function at 0x6e7360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x70
call fcn.006fed10
mov eax, dword [0x8f5da4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], 0
call fcn.00675760
push edi
call fcn.00675660
push edi
mov dword [ebp - 0x34], eax
call fcn.00675660
push edi
mov dword [ebp - 0x48], eax
call fcn.00675660
push edi
mov dword [ebp - 0x44], eax
call fcn.00675660
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x54], edi
test edi, edi
je 0x6e781d
push 6
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.006e80d0
add esp, 0xc
test eax, eax
je 0x6e7802
cmp eax, 6
jg 0x6e7802
lea eax, [ebp - 0x1c]
push eax
push esi
mov esi, dword [ebp - 0x44]
push esi
call fcn.006e6ef0
add esp, 0xc
test eax, eax
je 0x6e781d
push esi
call fcn.00630630
add esp, 4
test eax, eax
jne 0x6e781d
push ebx
push edi
call fcn.006303a0
add esp, 8
test eax, eax
je 0x6e781d
push esi
call fcn.00630710
push edi
mov dword [ebp - 0x30], eax
call fcn.00630710
mov edi, dword [ebx + 4]
push edi
push esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], edi
call fcn.00630f30
add esp, 0x10
test eax, eax
je 0x6e781d
mov edx, dword [ebp - 0x44]
mov esi, dword [esi]
mov dword [ebp - 0x4c], esi
mov eax, dword [edx + 4]
cmp eax, edi
jge 0x6e7471
mov ecx, dword [ebp - 0x24]
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x24]
push edi
push dword [ebp - 0x34]
mov dword [edx + 4], edi
call fcn.00630f30
add esp, 8
test eax, eax
je 0x6e781d
mov edx, dword [ebp - 0x34]
mov ebx, dword [edx]
mov dword [ebp - 0x2c], ebx
mov dword [ebx], 1
cmp edi, 1
jle 0x6e74a8
lea ecx, [edi - 1]
xor eax, eax
lea edi, [ebx + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x24]
mov dword [edx + 4], edi
push edi
mov edi, dword [ebp - 0x48]
push edi
call fcn.00630f30
add esp, 8
test eax, eax
je 0x6e781d
mov edx, dword [ebp - 0x24]
mov edi, dword [edi]
mov dword [ebp - 0x28], edi
test edx, edx
jle 0x6e74d2
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x6e75b4
nop dword [eax + eax]
mov ebx, dword [esi]
test bl, 1
jne 0x6e75ab
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax]
mov edx, eax
mov ecx, dword [ecx]
and edx, 1
neg edx
mov dword [ebp - 0x58], edx
mov ecx, dword [ecx]
and ecx, edx
mov edx, dword [ebp - 0x24]
xor eax, ecx
dec edx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
test edx, edx
jle 0x6e758d
mov ecx, dword [ebp - 0x2c]
mov edx, esi
sub edx, ecx
mov dword [ebp - 0x38], 0xfffffffc
sub dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], edx
lea edi, [ecx + 4]
nop dword [eax]
mov edx, dword [edx + edi]
mov ecx, edx
shl ecx, 0x1f
shr ebx, 1
or ecx, ebx
shr eax, 1
mov ebx, dword [ebp - 0x3c]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x4c]
add edx, edi
mov ecx, dword [ecx]
mov edx, dword [edx + ecx + 4]
and edx, dword [ebp - 0x58]
xor edx, dword [edi]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x24]
mov dword [edi - 4], ecx
dec edx
mov ecx, dword [ebp - 0x3c]
add edi, 4
inc ecx
cmp ecx, edx
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x40]
jl 0x6e7540
shr ebx, 1
mov dword [esi + ecx*4], ebx
mov ebx, dword [ebp - 0x2c]
shr eax, 1
mov dword [ebx + ecx*4], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
jne 0x6e74f0
jmp 0x6e75ae
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
cmp ecx, 0x20
jg 0x6e75cc
mov eax, dword [esi]
test eax, eax
je 0x6e781d
cmp eax, 1
je 0x6e77dc
cmp ecx, dword [ebp - 0x50]
jge 0x6e760d
mov ebx, dword [ebp - 0x54]
mov eax, ecx
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], esi
mov esi, edi
mov ebx, dword [ebx]
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
jmp 0x6e7610
mov eax, dword [ebp - 0x28]
xor edi, edi
test edx, edx
jle 0x6e7792
cmp edx, 8
jb 0x6e7746
lea eax, [eax + edx*4]
add eax, 0xfffffffc
lea ecx, [edx - 1]
lea ecx, [ebx + ecx*4]
cmp ebx, eax
ja 0x6e763c
cmp ecx, dword [ebp - 0x28]
jae 0x6e7746
lea eax, [edx - 1]
lea eax, [esi + eax*4]
cmp ebx, eax
ja 0x6e764e
cmp ecx, esi
jae 0x6e7746
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp ebx, eax
ja 0x6e7666
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jae 0x6e7749
mov eax, dword [ebp - 0x28]
lea ecx, [edx - 1]
lea ecx, [esi + ecx*4]
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp esi, eax
ja 0x6e7682
cmp ecx, dword [ebp - 0x28]
jae 0x6e7746
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp esi, eax
ja 0x6e769a
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jae 0x6e7749
mov eax, edx
and eax, reloc.WS2_32.dll_getsockopt
jns 0x6e76a8
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edx
mov edx, ebx
sub ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x40], eax
lea ecx, [esi + 0x10]
mov eax, dword [ebp - 0x28]
sub eax, esi
mov dword [ebp - 0x3c], eax
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
sub eax, ebx
mov dword [ebp - 0x60], eax
nop
movups xmm0, xmmword [ecx - 0x10]
mov ebx, dword [ebp - 0x58]
lea ecx, [ecx + 0x20]
add eax, edx
add edi, 8
movups xmm1, xmmword [eax + ebx]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x3c]
movups xmm1, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [edx], xmm1
add edx, 0x20
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
movups xmm1, xmmword [eax + ecx - 0x20]
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [eax + ecx - 0x20], xmm1
mov eax, dword [ebp - 0x60]
cmp edi, dword [ebp - 0x5c]
jl 0x6e76e0
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp edi, edx
jge 0x6e778f
sub eax, esi
lea ecx, [esi + edi*4]
mov dword [ebp - 0x60], eax
sub ebx, esi
mov eax, dword [ebp - 0x28]
sub eax, esi
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x60]
sub edx, edi
mov esi, dword [ebp - 0x40]
mov edi, eax
mov dword [ebp - 0x5c], eax
nop dword [eax]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edi - 4]
xor dword [ecx + esi - 4], eax
sub edx, 1
jne 0x6e7770
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x50]
jne 0x6e74e3
lea eax, [ecx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov eax, dword [esi + edi*4]
test eax, eax
jne 0x6e77bf
test edi, edi
je 0x6e77bf
mov eax, dword [esi + edi*4 - 4]
dec edi
test eax, eax
je 0x6e77b2
push eax
call fcn.00630750
mov edx, dword [ebp - 0x24]
add esp, 4
shl edi, 5
lea ecx, [edi + eax]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
jmp 0x6e74e3
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.00630cf0
push ebx
push dword [ebp - 0x6c]
call fcn.006303a0
xor ecx, ecx
add esp, 0xc
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x68], ecx
jmp 0x6e781d
push 0x18e
push str.crypto_bn_bn_gf2m.c
push 0x6a
push 0x83
push 3
call fcn.0063c6c0
add esp, 0x14
push dword [ebp - 0x70]
call fcn.006755d0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x68]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006fffda
mov esp, ebp
pop ebp
ret