Function at 0x100281d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 ax, word [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
mov word [esi + 0x28], ax
jne 0x100282df
mov bh, 0x7e
mov byte [ebp - 0x24], 0x1f
mov byte [ebp - 0x12], bh
mov al, 0x76
xor al, byte [ebp - 0x24]
mov cl, 0x7a
mov byte [ebp - 0x11], 0x4c
mov bl, cl
mov bh, byte [ebp - 0x11]
mov dl, 0x78
xor bh, byte [ebp - 0x24]
mov ah, 0x3f
mov byte [ebp - 0x11], bh
mov ch, 0x5c
mov byte [ebp - 0x22], al
mov dh, 0x73
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], 0x71
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 0x1002829a
xor ecx, ecx
jmp 0x100282a9
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100282a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x40]
call fcn.100055d0
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x10]
test esi, esi
je 0x10028387
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10028387
lea eax, [ebp - 0x40]
push eax
jmp 0x1002837f
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x100b2a80]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x63
nop
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10028300
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 0x1002832e
mov eax, dword [edx]
jmp 0x10028330
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1002833d
xor ecx, ecx
jmp 0x1002834c
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028343
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.100055d0
lea eax, [ebp - 0x40]
push eax
call fcn.10004f40
add esp, 0x20
mov edi, eax
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x10]
test esi, esi
je 0x10028387
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10028387
push edi
mov ecx, esi
call dword [0x100b0938]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1002839c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10005480
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100283b1
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