Function at 0x10020b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092f78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 ax, word [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
mov word [esi + 0x28], ax
jne 0x10020c9f
mov bh, 0x42
mov byte [ebp - 0x24], 0x23
mov byte [ebp - 0x12], bh
mov al, 0x4a
xor al, byte [ebp - 0x24]
mov cl, 0x46
mov byte [ebp - 0x11], 0x70
mov bl, cl
mov bh, byte [ebp - 0x11]
mov dl, 0x44
xor bh, byte [ebp - 0x24]
mov ah, 3
mov byte [ebp - 0x11], bh
mov ch, 0x60
mov byte [ebp - 0x22], al
mov dh, 0x4f
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x23], bh
xor cl, al
mov bh, byte [ebp - 0x12]
xor dl, al
xor bl, al
mov byte [ebp - 0x13], 0x4d
xor ah, al
mov byte [ebp - 0x19], 0
xor ch, al
mov byte [ebp - 0x21], cl
xor dh, al
mov byte [ebp - 0x20], dl
xor bh, al
mov byte [ebp - 0x1f], bl
mov al, byte [ebp - 0x13]
xor al, byte [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 0x1e], ah
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1c], dh
mov byte [ebp - 0x1b], bh
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x10020c5a
xor ecx, ecx
jmp 0x10020c69
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020c60
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004a40
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x10]
test esi, esi
je 0x10020d47
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10020d47
lea eax, [ebp - 0x40]
push eax
jmp 0x10020d3f
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x100af420]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x3a
nop
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10020cc0
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10020cee
mov eax, dword [edx]
jmp 0x10020cf0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x10020cfd
xor ecx, ecx
jmp 0x10020d0c
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020d03
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0x40]
push eax
call fcn.100043b0
add esp, 0x20
mov edi, eax
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x10]
test esi, esi
je 0x10020d47
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10020d47
push edi
mov ecx, esi
call dword [0x100ad8f4]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10020d5c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100048f0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x10020d71
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