Function at 0x1000b890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100d9180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
jne 0x1000bb17
movzx eax, byte [0x100d708c]
cmp dword [ebp + 0x14], eax
jg 0x1000bb17
push ebx
mov byte [ebp - 0x10], 0x26
mov al, 0x64
xor al, byte [ebp - 0x10]
mov cl, 0x4f
mov byte [ebp - 0xf], al
mov dl, 0xca
mov al, byte [ebp - 0x10]
mov bl, 6
mov bh, 0x56
mov byte [ebp - 7], 0
xor bl, al
mov byte [ebp - 7], 0
xor bh, al
mov byte [ebp - 0xc], bl
mov ch, cl
mov byte [ebp - 8], bh
mov ebx, dword [ebp - 0x24]
mov dh, dl
push 8
mov ah, 0x4d
xor cl, al
xor dl, al
mov byte [ebp - 0xe], cl
xor ah, al
mov byte [ebp - 0xd], dl
xor ch, al
mov byte [ebp - 0xb], ah
xor dh, al
mov byte [ebp - 0xa], ch
push 0
push ebx
mov byte [ebp - 9], dh
call fcn.10015790
add esp, 8
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.1008dcd0
add esp, 0xc
test eax, eax
je 0x1000bad0
movaps xmm0, xmmword [0x100bdae0]
movd eax, xmm0
movups xmmword [ebp - 0x1c], xmm0
mov word [ebp - 0xc], 0x7cde
movsx eax, al
push 0x11
push 0
mov byte [ebp - 0xa], 0
movd xmm0, eax
mov al, byte [ebp - 0x1c]
xor byte [ebp - 0xb], al
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp - 0x1b]
push ebx
mov byte [ebp - 0xa], 0
xorps xmm0, xmm1
movups xmmword [ebp - 0x1b], xmm0
call fcn.10015790
add esp, 8
push eax
lea eax, [ebp - 0x1b]
push eax
call fcn.1008dcd0
add esp, 0xc
test eax, eax
je 0x1000bad0
movaps xmm0, xmmword [0x100bdaa0]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
nop
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0xe
jb 0x1000b9a0
push 0xe
push 0
push ebx
mov byte [ebp - 9], 0
call fcn.10015790
add esp, 8
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.1008dcd0
add esp, 0xc
test eax, eax
je 0x1000bad0
mov byte [ebp - 0x14], 0x32
mov al, 0x79
xor al, byte [ebp - 0x14]
mov cl, 0x5a
mov byte [ebp - 0x13], al
mov dl, 0x5b
mov al, byte [ebp - 0x14]
mov bl, 0xde
xor bl, al
mov byte [ebp - 0x1d], 0x55
mov ah, 0x12
mov byte [ebp - 0x10], bl
mov ch, 0x51
mov byte [ebp - 0xa], 0
mov dh, 0xc6
mov byte [ebp - 0xa], 0
mov bh, 0x5c
xor cl, al
xor bh, al
mov byte [ebp - 0x12], cl
xor dl, al
mov byte [ebp - 0xc], bh
mov ebx, dword [ebp - 0x24]
xor ah, al
xor ch, al
mov byte [ebp - 0x11], dl
xor dh, al
mov byte [ebp - 0xf], ah
mov al, byte [ebp - 0x1d]
xor al, byte [ebp - 0x14]
push 9
push 0
push ebx
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xd], dh
mov byte [ebp - 0xb], al
call fcn.10015790
add esp, 8
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.1008dcd0
add esp, 0xc
test eax, eax
je 0x1000bad0
movaps xmm0, xmmword [0x100bdad0]
mov ecx, 0x10
movd eax, xmm0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0xf4d2414d
movsx eax, al
mov word [ebp - 8], 0x56
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp - 0x1b]
xorps xmm0, xmm1
movups xmmword [ebp - 0x1b], xmm0
nop dword [eax]
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x14
jb 0x1000ba90
push 0x14
push 0
push ebx
mov byte [ebp - 7], 0
call fcn.10015790
add esp, 8
push eax
lea eax, [ebp - 0x1b]
push eax
call fcn.1008dcd0
add esp, 0xc
test eax, eax
je 0x1000bad0
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006638a
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push ebx
call fcn.1000aa00
add esp, 8
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, bl
push 0
push eax
call fcn.10015700
add esp, 8
cmp eax, 0xffffffff
je 0x1000bb06
push dword [ebp + 0xc]
push ebx
call fcn.1000aa00
add esp, 8
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006638a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.1006638a
mov esp, ebp
pop ebp
ret