Function at 0x10030a6a
Capabilities:
Encode data using xor

Disassembly:
push 0x7c
mov eax, 0x1007a6b5
call fcn.10040a5d
mov esi, ecx
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x54
xor ebx, ebx
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 0x2b], bl
call fcn.10004181
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x58]
mov ecx, dword [esi + 0x1b4]
call fcn.1000ff04
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.10004036
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x12
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x2b], bl
call fcn.10004181
xor edi, edi
lea edx, [ebp - 0x58]
inc edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x1b8]
call fcn.1000ff04
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ebx
push edi
call fcn.10004036
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x2b
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x2b], bl
call fcn.10004181
mov dword [ebp - 4], 2
lea edx, [ebp - 0x58]
mov ecx, dword [esi + 0x1bc]
call fcn.1000fb7f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ebx
push edi
call fcn.10004036
mov ecx, dword [esi + 0x198]
call fcn.1000ad11
mov ebx, eax
test ebx, ebx
je 0x10030d85
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
mov ecx, ebx
mov edx, dword [esi + 0x198]
call fcn.1000ad31
mov edi, eax
test edi, edi
je 0x10030b6d
cmp dword [edi + 0x3c], 0
je 0x10030b6d
push dword [esi + 0x198]
xor edx, edx
push edi
jmp 0x10030b77
push dword [esi + 0x198]
mov edx, ebx
push 0
lea ecx, [ebp - 0x58]
call fcn.1000adf5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10007a5b
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10004036
mov ecx, dword [esi + 0x1bc]
lea edx, [ebp - 0x28]
call fcn.1000fb7f
push edi
mov edx, ebx
lea ecx, [ebp - 0x58]
call fcn.1000b05a
pop ecx
mov byte [ebp - 4], 4
mov edx, eax
mov ecx, dword [esi + 0x1ac]
call fcn.1000ff04
xor ebx, ebx
mov byte [ebp - 4], 3
xor edi, edi
lea ecx, [ebp - 0x58]
push ebx
inc edi
push edi
call fcn.10004036
mov eax, dword [esi + 0x1a4]
cmp eax, edi
jne 0x10030c62
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1000dc46
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x10030bfe
mov eax, dword [eax]
movaps xmm0, xmmword [0x10096030]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x2573
mov byte [ebp - 0x2e], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10030c15
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x58]
push eax
call fcn.10003c4b
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000ff04
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.10004036
lea ecx, [ebp - 0x70]
jmp 0x10030ce6
cmp eax, 2
jne 0x10030cf1
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x58]
call fcn.1000dc46
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x10030c87
mov eax, dword [eax]
movaps xmm0, xmmword [0x10095ff0]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x2177
mov byte [ebp - 0x2e], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x10030c9e
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x70]
push eax
call fcn.10003c4b
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000ff04
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.10004036
lea ecx, [ebp - 0x58]
push ebx
push edi
mov byte [ebp - 4], 3
call fcn.10004036
mov edx, dword [esi + 0x19c]
push ecx
lea ecx, [ebp - 0x88]
call fcn.1000dc46
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x10030d10
mov eax, dword [eax]
movaps xmm0, xmmword [0x10095ab0]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xf595c
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10030d25
sub esp, 0x18
mov byte [ebp - 0x2d], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x70]
push eax
call fcn.10003c4b
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x1b8]
call fcn.1000ff04
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.10004036
push ebx
push edi
lea ecx, [ebp - 0x88]
call fcn.10004036
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push edi
call fcn.10004036
mov ecx, dword [esi + 0x1a8]
mov dl, 1
call fcn.1000f6a4
call fcn.10040a07
ret