Function at 0x100619e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ade98
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edi
jbe 0x10061dfc
test edi, edi
je 0x10061dfc
call fcn.10061950
test al, al
jne 0x10061adf
movaps xmm0, xmmword [0x100c8200]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x10061a42
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002940
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100c8c60]
movups xmmword [ebp - 0xec], xmm0
mov byte [ebp - 0xcc], 0
movaps xmm0, xmmword [0x100c82a0]
movups xmmword [ebp - 0xdc], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x1f
jb 0x10061a90
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xcc], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002940
push 0
push 0
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.1002c170
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.100022f0
lea ecx, [ebp - 0x5c]
jmp 0x10061df7
mov ebx, dword [ebp + 0x14]
mov ecx, esi
push ebx
call fcn.10061980
test al, al
je 0x10061c8f
cmp ebx, 1
jne 0x10061bcc
movaps xmm0, xmmword [0x100c81f0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x10061b08
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002940
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x100c9510]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0x78], 0x7e712b
movaps xmm0, xmmword [0x100c9500]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x100c89a0]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x100c8b30]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x100c88a0]
movups xmmword [ebp - 0x88], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xc8]
xor byte [ebp + ecx - 0xc7], al
inc ecx
cmp ecx, 0x52
jb 0x10061b80
lea eax, [ebp - 0xc7]
mov byte [ebp - 0x75], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002940
mov byte [ebp - 4], 3
push 0
push 0
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.1002c170
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.100022f0
lea ecx, [ebp - 0x74]
jmp 0x10061df7
cmp ebx, 2
jne 0x10061dfc
movaps xmm0, xmmword [0x100c7fe0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x10061be2
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002940
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x100c8a80]
movups xmmword [ebp - 0xc8], xmm0
mov word [ebp - 0x78], 0x3738
movaps xmm0, xmmword [0x100c9110]
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0x76], 0
movaps xmm0, xmmword [0x100c8a70]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x100c9080]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x100c9070]
movups xmmword [ebp - 0x88], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xc8]
xor byte [ebp + ecx - 0xc7], al
inc ecx
cmp ecx, 0x51
jb 0x10061c60
lea eax, [ebp - 0xc7]
mov byte [ebp - 0x76], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002940
mov byte [ebp - 4], 5
jmp 0x10061baa
xor bl, bl
movzx eax, bl
lea eax, [eax + eax*2]
cmp dword [esi + eax*8 + 0x100], 0
ja 0x10061cab
cmp dword [esi + eax*8 + 0x104], 0
jbe 0x10061cb7
inc bl
cmp bl, 6
jb 0x10061c91
jmp 0x10061dfc
mov ecx, edi
call fcn.10012910
mov edi, eax
mov dword [ebp - 0x40], edi
test edi, edi
je 0x10061dfc
mov dword [ebp - 0x14], 0xf
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
mov cl, byte [edi + 4]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10012940
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10061d1b
cmp dword [eax + 0x48], 0
je 0x10061d1b
push dword [ebp - 0x2c]
xor edx, edx
lea ecx, [ebp - 0x5c]
push eax
call fcn.10012be0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007a40
lea ecx, [ebp - 0x5c]
jmp 0x10061d3f
push dword [ebp - 0x2c]
mov edx, edi
lea ecx, [ebp - 0x104]
push 0
call fcn.10012be0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007a40
lea ecx, [ebp - 0x104]
call fcn.100022f0
movzx ebx, bl
lea eax, [ebx + ebx*2]
mov ecx, dword [esi + eax*8 + 0xfc]
lea edi, [esi + eax*8]
test ecx, ecx
je 0x10061dcc
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.100189b0
mov eax, dword [edi + 0xfc]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x50], ecx
mov eax, dword [edi + 0xfc]
mov dword [eax + 0x54], edx
mov eax, dword [edi + 0xfc]
mov dword [eax + 0x58], 1
test edx, edx
je 0x10061d9c
movsx edx, word [edx + 0x56]
movsx eax, word [ecx + 0x66]
add edx, eax
jmp 0x10061da0
movsx edx, word [ecx + 0x66]
mov eax, dword [edi + 0xfc]
mov dword [eax + 0x5c], edx
mov eax, dword [edi + 0xfc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10061dcc
lea edx, [ebp - 0x28]
call fcn.1001bee0
mov ecx, dword [edi + 0xfc]
mov dl, 1
mov ecx, dword [ecx]
call fcn.1001ba50
mov eax, dword [ebp + 8]
lea ecx, [ebx + ebx*2]
mov dword [edi + 0x100], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + ecx*8 + 0x108], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x10c], eax
call fcn.100022f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e175
mov esp, ebp
pop ebp
ret 0x10