Function at 0x100304a4
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 [0x101c64d8]
mov dword [ebp - 8], ecx
cmp eax, dword [edx + 4]
jg 0x100304dc
jmp 0x100304cd
mov al, byte [ecx]
inc ecx
test al, al
je 0x1003053f
jmp 0x100304a0
mov al, byte [ecx]
inc ecx
test al, al
je 0x100305a3
jmp 0x100304b0
mov al, byte [edx]
inc edx
test al, al
je 0x100305d1
jmp 0x100304c0
mov eax, dword [0x101c64c8]
add eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101c64d8
call fcn.100774e5
add esp, 4
cmp dword [0x101c64d8], 0xffffffff
jne 0x100304cd
movaps xmm0, xmmword [0x101b01d0]
xor ecx, ecx
mov ebx, dword [0x101be6b8]
mov dword [ebp - 4], ebx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x274a21
jmp 0x10030511
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x12
jb 0x10030511
lea ecx, [ebp - 0x1b]
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 0x100304a0
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000f300
mov cl, 0x15
mov dword [ebp - 0x17], 0x4a415115
mov dword [ebp - 0x13], 0x70667457
xor eax, eax
mov dword [ebp - 0xf], 0x6c747945
mov word [ebp - 0xb], 0x6770
mov byte [ebp - 9], 0
jmp 0x10030573
xor byte [ebp + eax - 0x16], cl
inc eax
cmp eax, 0xd
jae 0x10030582
mov cl, byte [ebp - 0x17]
jmp 0x10030573
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 0x100304b0
sub ecx, edx
lea eax, [ebp - 0x16]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f300
cmp dword [ebp - 0x24], 0
je 0x10030615
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x10030615
jmp 0x100305c2
mov edi, dword [esi]
mov ebx, dword [edi + 0xc]
mov edx, ebx
lea ecx, [edx + 1]
jmp 0x100304c0
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 0x100305fc
mov eax, dword [ebp - 4]
add esi, 4
cmp esi, dword [eax + 0x1c]
jne 0x100305c2
jmp 0x10030615
test edi, edi
je 0x10030615
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x4c]
push 0
push eax
push edi
call fcn.10143520
test eax, eax
jne 0x10030619
jmp 0x10030615
xor eax, eax
jmp 0x10030619
mov dword [0x101c64c8], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10030654
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10030648
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003067c
jmp 0x10030648
push ecx
push edx
call fcn.1007739f
add esp, 8
jmp 0x10030654
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1003068d
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10030681
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030681
jmp 0x1003067c
call fcn.10084c47
push edx
push ecx
call fcn.1007739f
add esp, 8
jmp 0x1003068d
push 0x101c64d8
call fcn.1007749b
add esp, 4
jmp 0x100304cd