Function at 0x10027cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095e60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100be084]
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 0x10027edf
mov dword [esi + 0x24], eax
xor eax, eax
mov word [esi + 0x20], 1
mov word [esi + 0x28], ax
call fcn.100283d0
movaps xmm0, xmmword [0x100b2390]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x5056e15
mov dword [ebp - 0x34], 0x6805050f
mov byte [ebp - 0x30], 0
nop
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x17
jb 0x10027d40
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 0x10027d6d
xor ecx, ecx
jmp 0x10027d7c
lea ecx, [ebp - 0x47]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027d73
sub ecx, edx
push ecx
lea eax, [ebp - 0x47]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100055d0
mov byte [ebp - 4], 1
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10027daf
push 4
push edi
call ebx
test eax, eax
jne 0x10027daf
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call dword [0x100b0938]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10027dc8
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005480
cmp dword [ebp + 0x1c], 0
jne 0x10027e61
mov byte [ebp - 0x20], 0x7a
mov al, 0x29
xor al, byte [ebp - 0x20]
mov cl, 0x13
xor cl, byte [ebp - 0x20]
mov dl, 0x1f
mov byte [ebp - 0x1f], al
mov ah, dl
mov byte [ebp - 0x1e], cl
mov ch, 0x5a
mov cl, byte [ebp - 0x20]
mov dh, 0x39
mov byte [ebp - 0x11], 0x1b
xor ah, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x14
mov byte [ebp - 0x17], al
mov bl, 0x1d
mov al, byte [ebp - 0x12]
mov bh, 0x16
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.100056d0
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x10]
test esi, esi
je 0x10027eca
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10027eca
lea eax, [ebp - 0x48]
push eax
jmp 0x10027ec2
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x100b2490]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x3b
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10027e80
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100056d0
lea eax, [ebp - 0x48]
push eax
call fcn.10004f40
add esp, 0x20
mov edi, eax
mov byte [ebp - 4], 3
mov esi, dword [esi + 0x10]
test esi, esi
je 0x10027eca
push 4
push esi
call ebx
test eax, eax
jne 0x10027eca
push edi
mov ecx, esi
call dword [0x100b0938]
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10027edf
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10005480
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x10027ef4
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.10005480
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