Function at 0x10030a94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword fs:[0x2c]
mov edx, dword [0x101bf848]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov eax, dword [0x101c64d0]
mov dword [ebp - 8], ecx
cmp eax, dword [edx + 4]
jg 0x10030a6c
jmp 0x10030a5d
mov al, byte [ecx]
inc ecx
test al, al
je 0x10030ace
jmp 0x10030a30
mov al, byte [ecx]
inc ecx
test al, al
je 0x10030b32
jmp 0x10030a40
mov al, byte [edx]
inc edx
test al, al
je 0x10030b60
jmp 0x10030a50
mov eax, dword [0x101c64cc]
add eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101c64d0
call fcn.100774e5
add esp, 4
cmp dword [0x101c64d0], 0xffffffff
jne 0x10030a5d
movaps xmm0, xmmword [0x101b1370]
xor ecx, ecx
mov ebx, dword [0x101be6b8]
mov dword [ebp - 4], ebx
movups xmmword [ebp - 0x1a], xmm0
mov word [ebp - 0xa], 0x1e
jmp 0x10030aa0
mov al, byte [ebp - 0x1a]
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 0x10
jb 0x10030aa0
lea ecx, [ebp - 0x19]
mov byte [ebp - 9], 0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
jmp 0x10030a30
sub ecx, edx
lea eax, [ebp - 0x19]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000f300
mov cl, 6
mov dword [ebp - 0x17], 0x59524206
mov dword [ebp - 0x13], 0x63756744
xor eax, eax
mov dword [ebp - 0xf], 0x7f676a56
mov word [ebp - 0xb], 0x7463
mov byte [ebp - 9], 0
jmp 0x10030b02
xor byte [ebp + eax - 0x16], cl
inc eax
cmp eax, 0xd
jae 0x10030b11
mov cl, byte [ebp - 0x17]
jmp 0x10030b02
lea ecx, [ebp - 0x16]
mov byte [ebp - 9], 0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
jmp 0x10030a40
sub ecx, edx
lea eax, [ebp - 0x16]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f300
cmp dword [ebp - 0x24], 0
je 0x10030ba4
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x10030ba4
jmp 0x10030b51
mov edi, dword [esi]
mov ebx, dword [edi + 0xc]
mov edx, ebx
lea ecx, [edx + 1]
jmp 0x10030a50
sub edx, ecx
cmp dword [ebp - 0x20], 0x10
push edx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push ebx
call fcn.10010a30
add esp, 8
test al, al
jne 0x10030b8b
mov eax, dword [ebp - 4]
add esi, 4
cmp esi, dword [eax + 0x1c]
jne 0x10030b51
jmp 0x10030ba4
test edi, edi
je 0x10030ba4
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x4c]
push 0
push eax
push edi
call fcn.10143520
test eax, eax
jne 0x10030ba8
jmp 0x10030ba4
xor eax, eax
jmp 0x10030ba8
mov dword [0x101c64cc], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10030be3
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10030bd7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030c0b
jmp 0x10030bd7
push ecx
push edx
call fcn.1007739f
add esp, 8
jmp 0x10030be3
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x10030c1c
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10030c10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030c10
jmp 0x10030c0b
call fcn.10084c47
push edx
push ecx
call fcn.1007739f
add esp, 8
jmp 0x10030c1c
push 0x101c64d0
call fcn.1007749b
add esp, 4
jmp 0x10030a5d