Function at 0x6f94c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x50], ebp
mov edi, ecx
nop
mov dword [esi + 0x54], esp
mov dword [esi + 0x60], 0xffffffff
lea eax, [esi + 0x58]
mov dword [esi + 0x5c], 0x706d10
mov ecx, dword fs:[0]
mov dword [esi + 0x58], ecx
mov dword fs:[0], eax
cmp dword [0xa580cc], 0
jne 0x6f952e
nop
mov dword [esi + 4], edi
push 0x4f8
call fcn.008ea17d
add esp, 4
mov dword [esi + 0x60], 0
mov dword [esi], eax
mov ecx, eax
call fcn.00667be0
nop
mov eax, dword [esi]
mov dword [0xa580cc], eax
nop
mov edi, dword [esi + 4]
nop
mov eax, dword [0xa580cc]
mov dword [esi + 8], eax
mov ecx, dword [eax + 0x370]
lea ebx, [edi + 0x218]
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov dword [esi + 0x60], 0xffffffff
call dword [0xa0535c]
push ebx
mov ebx, edi
push dword [esi]
call ecx
mov eax, dword [edi + 0x218]
or eax, dword [edi + 0x21c]
je 0x6f95c2
nop
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x364]
lea eax, [edi + 0x228]
mov dword [esi], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov ebx, dword [edi + 0x14]
call dword [0xa0535c]
sub esp, 0x14
movsd xmm0, qword [esi + 0x48]
movsd qword [esp + 4], xmm0
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
mov dword [esp + 0x10], 0
call ecx
mov eax, dword [edi + 0x228]
or eax, dword [edi + 0x22c]
je 0x6f95c9
xor eax, eax
jmp 0x6f9c2f
nop
mov dword [esi + 0x28], 0
test byte [edi + 0x240], 4
jne 0x6f95ea
lea ecx, [edi + 0x74]
push dword [edi + 0x218]
call fcn.006bc8c0
jmp 0x6f9610
nop
mov eax, dword [edi + 0x218]
mov ecx, dword [edi + 0x21c]
cmp eax, 0x1000
sbb ecx, 0
mov edx, 0x1000
cmovl edx, eax
lea ecx, [edi + 0x74]
push edx
call fcn.006bc8c0
nop
mov eax, dword [edi + 0x21c]
mov ecx, 0xfff
add ecx, dword [edi + 0x218]
adc eax, 0
mov edx, eax
sar edx, 0x1f
shr edx, 0x14
add edx, ecx
adc eax, 0
shld eax, edx, 0x14
cmp dword [edi + 0xa4], eax
nop
mov dword [esi + 4], edi
jae 0x6f9791
lea ecx, [edi + 0x98]
mov edx, dword [edi + 0xa0]
mov dword [esi], edx
test edx, edx
je 0x6f979a
nop
mov ebx, dword [edi + 0x9c]
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov byte [edi + 0xa8], 1
push eax
push 0
call fcn.00703d70
test ebx, ebx
je 0x6f97a3
nop
mov eax, dword [edi + 0x9c]
mov edi, dword [esi]
mov edx, edi
shl edx, 4
lea ecx, [edi + edx]
cmp ecx, 1
adc edx, edi
mov dword [esi], edx
xor edi, edi
cmp ecx, 8
jb 0x6f9716
mov edx, eax
sub edx, ebx
cmp edx, 0x20
jb 0x6f9716
xor edi, edi
cmp ecx, 0x20
jb 0x6f96f7
mov edi, dword [esi]
and edi, 0xffffffe0
xor edx, edx
nop
nop
movups xmm0, xmmword [ebx + edx]
movups xmm1, xmmword [ebx + edx + 0x10]
movups xmmword [eax + edx], xmm0
movups xmmword [eax + edx + 0x10], xmm1
add edx, 0x20
cmp edi, edx
jne 0x6f96d0
cmp dword [esi], edi
je 0x6f977a
test byte [esi], 0x18
je 0x6f9716
mov edx, edi
mov edi, dword [esi]
and edi, 0xfffffff8
nop
nop
movsd xmm0, qword [ebx + edx]
movsd qword [eax + edx], xmm0
add edx, 8
cmp edi, edx
jne 0x6f9700
cmp dword [esi], edi
je 0x6f977a
mov dword [esi + 0xc], ecx
mov edx, edi
mov edi, dword [esi]
mov dword [esi + 0x18], edx
and edi, 3
je 0x6f973c
mov edx, dword [esi + 0x18]
nop dword [eax + eax]
nop
movzx ecx, byte [ebx + edx]
mov byte [eax + edx], cl
inc edx
dec edi
jne 0x6f9730
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi]
cmp ecx, 0xfffffffc
mov edi, dword [esi + 0xc]
ja 0x6f977a
nop dword [eax]
nop
movzx ecx, byte [ebx + edx]
mov byte [eax + edx], cl
movzx ecx, byte [ebx + edx + 1]
mov byte [eax + edx + 1], cl
movzx ecx, byte [ebx + edx + 2]
mov byte [eax + edx + 2], cl
movzx ecx, byte [ebx + edx + 3]
mov byte [eax + edx + 3], cl
add edx, 4
cmp edi, edx
jne 0x6f9750
nop
push ebx
call fcn.008ea1ce
add esp, 4
mov dword [esi + 0x60], 0xffffffff
nop
mov edi, dword [esi + 4]
jmp 0x6f97a3
nop
mov dword [edi + 0xa0], eax
jmp 0x6f97a3
nop
push eax
push 0
call fcn.00703d70
nop
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov edi, dword [edi + 0x7c]
cmp edi, 0x1000
mov ebx, 0x1000
cmovb ebx, edi
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x35c]
test edi, edi
je 0x6f97cd
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x78]
call dword [0xa0535c]
lea eax, [esi + 0x28]
push 0
push eax
push ebx
push edi
push dword [esi]
call ecx
test eax, eax
setne al
mov dword [esi + 0x18], eax
je 0x6f97fb
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x9c]
mov byte [eax], 1
jmp 0x6f9c2b
nop
mov ecx, dword [esi + 4]
or byte [ecx + 0xc], 0x20
lea eax, [ecx + 0x24c]
cmp dword [ecx + 0x260], 0x10
mov edx, eax
mov dword [esi + 0xc], eax
jb 0x6f981d
mov eax, dword [ecx + 0x24c]
mov dword [ecx + 0x25c], 0
mov byte [eax], 0
lea eax, [esi + 0x30]
mov dword [esi + 8], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
movzx eax, byte [0xa19340]
cmp al, 0xaa
je 0x6f98ea
mov cl, 0xc1
nop word cs:[eax + eax]
mov al, 0xd
lock cmpxchg byte [0xa19340], cl
je 0x6f9872
cmp al, 0xaa
jne 0x6f9860
jmp 0x6f98ea
xor ecx, ecx
mov eax, 0x85e39300
mov edi, 0x85e392fe
nop
nop
mov dword [esi], eax
mov eax, dword [esi]
mov edx, 0xaaaaaaab
mul edx
mov ebx, edx
mov eax, edi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
and edx, 0xfffffff0
lea eax, [edx + edx*2]
neg eax
movzx eax, byte [ecx + eax - 0x79822971]
xor al, 0x8c
add byte [ecx + 0xa19310], al
shr ebx, 1
and ebx, 0xfffffff0
lea eax, [ebx + ebx*2]
neg eax
movzx eax, byte [ecx + eax - 0x79822970]
xor al, 0x8c
add byte [ecx + 0xa19311], al
mov eax, dword [esi]
add ecx, 2
add eax, 2
add edi, 2
cmp ecx, 0x30
jne 0x6f9880
mov al, 0xaa
xchg byte [0xa19340], al
mov dword [esi + 0x60], 0xffffffff
nop
mov dword [esi + 0x60], 0xffffffff
sub esp, 0xc
movzx eax, byte [esi + 0x10]
mov byte [esp + 4], al
mov dword [esp + 8], 0xa19310
mov dword [esp], 0x2f
lea ecx, [esi + 0x30]
call fcn.0066cb40
mov dword [esi + 0x2c], 0x920fc0
mov eax, dword [esi + 0x40]
cmp dword [esi + 0x44], 0x10
jb 0x6f992e
mov ecx, eax
mov eax, dword [esi + 0x30]
mov dword [esi + 8], eax
mov eax, ecx
mov edi, dword [esi + 4]
mov ebx, dword [edi + 0x25c]
mov ecx, dword [edi + 0x260]
mov edx, ecx
sub edx, ebx
cmp edx, eax
jae 0x6f9975
nop
mov dword [esi + 0x60], 2
sub esp, 0x10
movzx ecx, byte [esi + 0x10]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov ecx, dword [esi + 0xc]
call fcn.0066d8c0
jmp 0x6f9bf3
nop
mov dword [esi], eax
lea edx, [ebx + eax]
mov eax, edx
mov dword [esi + 0x1c], edx
mov dword [edi + 0x25c], edx
cmp ecx, 0x10
jb 0x6f9994
mov ecx, dword [edi + 0x24c]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], ebx
lea edi, [ecx + ebx]
mov edx, edi
sub edx, dword [esi + 8]
jae 0x6f99c3
mov eax, dword [esi]
test eax, eax
je 0x6f9be8
xor ebx, ebx
cmp eax, 8
jae 0x6f9a86
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x6f9af9
mov ebx, dword [esi]
test ebx, ebx
je 0x6f9be8
cmp ebx, 4
jb 0x6f9b69
mov ecx, dword [esi + 8]
sub ecx, edi
cmp ecx, 0x10
jb 0x6f9b69
xor edi, edi
cmp ebx, 0x10
jb 0x6f9a36
mov edi, ebx
and edi, 0xfffffff0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
add eax, ecx
add eax, 0xfffffff0
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi]
lea edx, [ecx + eax]
add edx, 0xfffffff0
mov ebx, edi
neg ebx
xor ecx, ecx
mov eax, dword [esi + 4]
nop
movups xmm0, xmmword [edx + ecx]
movups xmmword [eax + ecx], xmm0
add ecx, 0xfffffff0
cmp ebx, ecx
jne 0x6f9a12
mov eax, dword [esi]
cmp eax, edi
je 0x6f9be8
test al, 0xc
mov ebx, eax
je 0x6f9b66
mov edx, ebx
and edx, 0xfffffffc
and ebx, 3
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
add eax, ecx
add eax, 0xfffffffc
mov dword [esi + 4], eax
neg edi
mov dword [esi + 0x20], edx
mov ecx, edx
neg ecx
mov eax, dword [esi + 8]
mov edx, dword [esi]
add eax, edx
add eax, 0xfffffffc
mov dword [esi + 0x24], eax
nop
mov eax, dword [esi + 0x24]
mov edx, dword [eax + edi]
mov eax, dword [esi + 4]
mov dword [eax + edi], edx
add edi, 0xfffffffc
cmp ecx, edi
jne 0x6f9a62
mov eax, dword [esi]
cmp eax, dword [esi + 0x20]
jne 0x6f9b69
jmp 0x6f9be8
cmp edx, 0x20
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jb 0x6f9af9
xor ebx, ebx
cmp ecx, 0x20
jb 0x6f9ad6
mov ebx, ecx
and ebx, 0xffffffe0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add edx, ecx
add edx, 0x10
mov ecx, ebx
xor ebx, ebx
nop
movups xmm0, xmmword [eax + ebx]
movups xmm1, xmmword [eax + ebx + 0x10]
movups xmmword [edx + ebx - 0x10], xmm0
movups xmmword [edx + ebx], xmm1
add ebx, 0x20
cmp ecx, ebx
jne 0x6f9aab
mov ebx, ecx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x6f9be8
test cl, 0x18
je 0x6f9af9
mov edx, ebx
mov ebx, ecx
and ebx, 0xfffffff8
nop
movsd xmm0, qword [eax + edx]
movsd qword [edi + edx], xmm0
add edx, 8
cmp ebx, edx
jne 0x6f9add
mov ecx, dword [esi]
cmp ecx, ebx
je 0x6f9be8
mov edx, ecx
mov dword [esi + 4], ebx
and edx, 3
je 0x6f9b1c
mov ebx, dword [esi + 4]
nop word cs:[eax + eax]
nop
movzx ecx, byte [eax + ebx]
mov byte [edi + ebx], cl
inc ebx
dec edx
jne 0x6f9b10
mov edi, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, edi
cmp ecx, 0xfffffffc
ja 0x6f9be8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add ecx, edx
add ecx, 3
nop
movzx edx, byte [eax + ebx]
mov byte [ecx + ebx - 3], dl
movzx edx, byte [eax + ebx + 1]
mov byte [ecx + ebx - 2], dl
movzx edx, byte [eax + ebx + 2]
mov byte [ecx + ebx - 1], dl
movzx edx, byte [eax + ebx + 3]
mov byte [ecx + ebx], dl
add ebx, 4
cmp edi, ebx
jne 0x6f9b37
jmp 0x6f9be8
and ebx, 0xf
lea eax, [ebx - 1]
mov dword [esi + 4], eax
mov ecx, ebx
and ecx, 3
je 0x6f9ba7
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add eax, edx
dec eax
mov dword [esi], eax
mov edi, dword [esi + 8]
nop word cs:[eax + eax]
lea eax, [ebx - 1]
movzx edx, byte [edi + ebx - 1]
mov edi, dword [esi]
mov byte [edi + ebx], dl
mov edi, dword [esi + 8]
dec ecx
mov ebx, eax
jne 0x6f9b90
jmp 0x6f9bac
mov eax, ebx
mov edi, dword [esi + 8]
cmp dword [esi + 4], 3
jb 0x6f9be8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
add ecx, edx
dec ecx
mov edx, eax
nop
movzx ebx, byte [edi + eax - 1]
mov byte [ecx + eax], bl
movzx ebx, byte [edi + eax - 2]
mov byte [ecx + eax - 1], bl
movzx ebx, byte [edi + eax - 3]
mov byte [ecx + eax - 2], bl
movzx ebx, byte [edi + eax - 4]
mov byte [ecx + eax - 3], bl
add edx, 0xfffffffc
mov eax, edx
jne 0x6f9bbd
nop
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov byte [eax + ecx], 0
nop
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x6f9c2b
nop
mov ecx, dword [esi + 0x30]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x6f9c20
nop
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x6f9c42
add eax, 0x24
mov edx, eax
mov ecx, edi
nop
push edx
push ecx
call fcn.008ea1ad
add esp, 8
nop
mov eax, dword [esi + 0x18]
nop
mov ecx, dword [esi + 0x58]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [esi + 0x60], 1
call fcn.008cd651
nop
push ebp
sub esp, 0x14
lea esi, [ebp - 0x64]
mov ebp, dword [esi + 0x50]
call fcn.00901a00
nop
push ebp
sub esp, 0x14
lea esi, [ebp - 0x64]
mov ebp, dword [esi + 0x50]
lea ecx, [esi + 0x2c]
call fcn.00657390
add esp, 0x14
pop ebp
ret