Function at 0x10070980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0335
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x110]
xor cl, cl
mov edx, eax
mov esi, 6
cmp dword [edx - 4], 0
je 0x100709c3
cmp dword [edx], 0
jne 0x100709c5
inc cl
add edx, 0x18
sub esi, 1
jne 0x100709b8
cmp cl, 6
jne 0x10070b1c
movaps xmm0, xmmword [str.0__GUB]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x100709e3
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070a10
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10002540
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100af510]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x255585c
mov word [ebp - 0x10], 0xd
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x10070a47
xorps xmm0, xmm0
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070a73
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002540
push 0
push 0
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.10024260
mov ecx, dword [ebp - 0x28]
add esp, 8
cmp ecx, 0xf
jbe 0x10070ad3
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070ac9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070c99
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10070c88
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070b01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070c99
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ecx, [esi + 6]
cmp dword [eax - 4], 0
jbe 0x10070b2f
cmp dword [eax], 0
jbe 0x10070b2f
add esi, dword [eax + 4]
add eax, 0x18
sub ecx, 1
jne 0x10070b21
mov ecx, edi
call fcn.1006ee50
mov ecx, edi
call fcn.1006f290
push 0x2e
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.10013c80
add esp, 4
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x10070b63
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af500]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x85e5b
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x10070b78
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070ba8
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x3c]
push eax
call fcn.1000ae50
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x7c]
call fcn.100182e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10070c0f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070c05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070c9e
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 0xf
jbe 0x10070c58
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070c4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070c9e
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
test esi, esi
je 0x10070c88
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10070c88
push 1
mov ecx, esi
call dword [0x100ae54c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10084bdf
call fcn.10084bdf
int3