Function at 0x10020690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100bb084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x1002089f
mov dword [esi + 0x24], eax
xor eax, eax
mov word [esi + 0x20], 1
mov word [esi + 0x28], ax
call fcn.10020d90
movaps xmm0, xmmword [str._IAMEBEBK_fxEAI]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x1c1c770c
mov dword [ebp - 0x34], 0x711c1c16
mov byte [ebp - 0x30], 0
nop
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x17
jb 0x10020700
cmp byte [ebp - 0x47], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x1002072d
xor ecx, ecx
jmp 0x1002073c
lea ecx, [ebp - 0x47]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020733
sub ecx, edx
push ecx
lea eax, [ebp - 0x47]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004a40
mov byte [ebp - 4], 1
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1002076f
push 4
push edi
call ebx
test eax, eax
jne 0x1002076f
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call dword [0x100ad8f4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10020788
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.100048f0
cmp dword [ebp + 0x1c], 0
jne 0x10020821
mov byte [ebp - 0x20], 0xd
mov al, 0x5e
xor al, byte [ebp - 0x20]
mov cl, 0x64
xor cl, byte [ebp - 0x20]
mov dl, 0x68
mov byte [ebp - 0x1f], al
mov ah, dl
mov byte [ebp - 0x1e], cl
mov ch, 0x2d
mov cl, byte [ebp - 0x20]
mov dh, 0x4e
mov byte [ebp - 0x11], 0x6c
xor ah, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x17], al
mov bl, 0x6a
mov al, byte [ebp - 0x12]
mov bh, 0x61
xor al, cl
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x16], al
xor dl, cl
xor bl, cl
mov byte [ebp - 0x1a], ch
xor dh, cl
mov byte [ebp - 0x15], 0
xor bh, cl
mov byte [ebp - 0x1d], dl
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x1c], bl
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x19], dh
mov byte [ebp - 0x18], bh
mov byte [ebp - 0x15], 0
call fcn.10004b40
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1002088a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002088a
lea eax, [ebp - 0x48]
push eax
jmp 0x10020882
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x100af1e0]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x2d
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10020840
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0x48]
push eax
call fcn.100043b0
add esp, 0x20
mov edi, eax
mov byte [ebp - 4], 3
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1002088a
push 4
push esi
call ebx
test eax, eax
jne 0x1002088a
push edi
mov ecx, esi
call dword [0x100ad8f4]
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1002089f
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.100048f0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100208b4
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.100048f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c