Function at 0x10001ca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x48
mov eax, dword [0x1004461c]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x78]
push 0x88b4
push 1
mov dword [esp + 0x20], ecx
mov dword [eax], 0x88b4
call fcn.100061af
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x10002101
push 0x88b4
push 0x1001a020
push eax
call fcn.10002d70
mov eax, dword [esi]
add esp, 0xc
xor ecx, ecx
lea edx, [eax + 0x88b3]
cmp eax, esi
ja 0x10001d22
cmp edx, esi
jae 0x10001d85
movaps xmm2, xmmword [str.XXXXXXXXXXXXXXXX]
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [eax + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmm0, xmmword [eax + ecx + 0x20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x20], xmm1
movups xmm0, xmmword [eax + ecx + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, 0x8880
jb 0x10001d30
cmp ecx, 0x88b4
jae 0x10001d94
mov eax, dword [esi]
xor byte [ecx + eax], 0x58
inc ecx
cmp ecx, 0x88b4
jb 0x10001d85
push 0x88b4
push dword [esi]
call fcn.10001b60
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10002101
mov ecx, dword [esp + 0x10]
push 0xabde
push 1
mov dword [ecx], 0xabde
call fcn.100061af
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x10002101
push 0xabde
push 0x100228d8
push eax
call fcn.10002d70
mov eax, dword [edi]
add esp, 0xc
xor ecx, ecx
lea edx, [eax + 0xabdd]
cmp eax, edi
ja 0x10001df7
cmp edx, edi
jae 0x10001e55
movaps xmm2, xmmword [str.XXXXXXXXXXXXXXXX]
nop
movups xmm0, xmmword [eax + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [eax + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmm0, xmmword [eax + ecx + 0x20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x20], xmm1
movups xmm0, xmmword [eax + ecx + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, 0xabc0
jb 0x10001e00
cmp ecx, 0xabde
jae 0x10001e64
mov eax, dword [edi]
xor byte [eax + ecx], 0x58
inc ecx
cmp ecx, 0xabde
jb 0x10001e55
push 0xabde
push dword [edi]
call fcn.10001b60
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x10002101
mov eax, dword [esp + 0x14]
push 0xd9a7
push 1
mov dword [eax], 0xd9a7
call fcn.100061af
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x10002101
push 0xd9a7
push 0x10036c40
push eax
call fcn.10002d70
mov eax, dword [ebx]
add esp, 0xc
xor ecx, ecx
lea edx, [eax + 0xd9a6]
cmp eax, ebx
ja 0x10001ec7
cmp edx, ebx
jae 0x10001f25
movaps xmm2, xmmword [str.XXXXXXXXXXXXXXXX]
nop
movups xmm0, xmmword [eax + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [eax + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmm0, xmmword [eax + ecx + 0x20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x20], xmm1
movups xmm0, xmmword [eax + ecx + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, 0xd980
jb 0x10001ed0
cmp ecx, 0xd9a7
jae 0x10001f34
mov eax, dword [ebx]
xor byte [eax + ecx], 0x58
inc ecx
cmp ecx, 0xd9a7
jb 0x10001f25
push 0xd9a7
push dword [ebx]
call fcn.10001b60
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x10002101
mov eax, dword [esp + 0x18]
push 0x9788
push 1
mov dword [eax], 0x9788
call fcn.100061af
add esp, 8
mov dword [ebp], eax
test eax, eax
je 0x10002101
push 0x9788
push 0x1002d4b8
push eax
call fcn.10002d70
mov eax, dword [ebp]
add esp, 0xc
xor ecx, ecx
lea edx, [eax + 0x9787]
cmp eax, ebp
ja 0x10001f99
cmp edx, ebp
jae 0x10001ff5
movaps xmm2, xmmword [str.XXXXXXXXXXXXXXXX]
movups xmm0, xmmword [eax + ecx]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx], xmm1
movups xmm0, xmmword [eax + ecx + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmm0, xmmword [eax + ecx + 0x20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x20], xmm1
movups xmm0, xmmword [eax + ecx + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + ecx + 0x30], xmm1
add ecx, 0x40
cmp ecx, 0x9780
jb 0x10001fa0
cmp ecx, 0x9788
jae 0x10002005
mov eax, dword [ebp]
xor byte [eax + ecx], 0x58
inc ecx
cmp ecx, 0x9788
jb 0x10001ff5
push 0x9788
push dword [ebp]
call fcn.10001b60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10002101
push 0x10
push 0x100445e8
lea eax, [esp + 0x4c]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x50], xmm0
call fcn.10065548
movsx eax, byte [0x100228d4]
lea edi, [esp + 0x20]
mov byte [esp + 0x40], 0
xor esi, esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [esp + 0x44]
pxor xmm1, xmm0
xorps xmm0, xmm0
movups xmmword [0x100445e8], xmm1
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
nop dword [eax + eax]
movzx eax, byte [esp + esi + 0x44]
push eax
push str._02X
push edi
call fcn.10002120
inc esi
add esp, 0xc
add edi, eax
cmp esi, 0x10
jl 0x10002080
movups xmm0, xmmword [esp + 0x20]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x24]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 4]
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x24]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 8]
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x24]
movups xmmword [eax + 0x10], xmm0
xor eax, eax
movups xmm0, xmmword [esp + 0x14]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esp + 0x24]
movups xmmword [ebx + 0x10], xmm0
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10002162
add esp, 0x48
ret
mov ecx, dword [esp + 0x54]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10002162
add esp, 0x48
ret