Function at 0x1001fca2
Capabilities:
Encode data using xor

Disassembly:
push 8
push 0xc0
mov eax, 0x1003f9cd
call fcn.1003d83f
mov esi, ecx
mov ecx, dword [esi + 0x158]
mov eax, dword [esi + 0x15c]
cmp ecx, eax
je 0x100201cc
sub eax, ecx
and dword [ebp - 0x30], 0
push 0x68
pop edi
cdq
idiv edi
mov dword [ebp - 0x9c], edi
mov edx, eax
test edx, edx
jle 0x1001ff65
mov edi, dword [ebx + 8]
lea eax, [ecx + 0x18]
cmp dword [eax], edi
je 0x1001fcff
inc dword [ebp - 0x30]
add eax, 0x68
cmp dword [ebp - 0x30], edx
jl 0x1001fceb
jmp 0x1001ff65
imul edi, dword [ebp - 0x30], 0x68
mov al, byte [ebx + 0xc]
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x98], edi
mov byte [edi + ecx + 0x65], al
add edi, 0x58
mov eax, dword [ebx + 0x10]
sub eax, edx
mov dword [ebx + 0x10], eax
sub dword [ebp - 0x34], 1
movzx ecx, word [edx + eax]
mov eax, dword [esi + 0x158]
mov word [edi + eax - 8], cx
mov eax, dword [esi + 0x158]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [edi + eax], cx
lea edi, [edi + 2]
mov eax, dword [ebx + 0x10]
jne 0x1001fd25
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x140]
jne 0x1001ff65
or dword [ebp - 0x78], 0xffffffff
lea eax, [esi + 0x84]
and dword [ebp - 0x34], 0
lea edi, [esi + 0xb4]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x48], 4
mov ecx, dword [eax]
call fcn.1000c9ed
test al, al
je 0x1001ff4c
mov eax, dword [esi + 0x158]
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + eax + 0x65], 2
jne 0x1001fe0c
movups xmm0, xmmword [0x1004cf70]
mov dword [ebp - 0x60], 0x31372a3f
xor ecx, ecx
mov word [ebp - 0x5c], 0x330
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x5a], 0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x15
jb 0x1001fdbd
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x5a], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10003d99
and dword [ebp - 4], 0
lea edx, [ebp - 0x94]
mov ecx, dword [esi + 0x7c]
call fcn.1000d114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10003b97
mov dword [ebp - 0x78], 0xff808080
mov edx, 0xff5cb9fe
jmp 0x1001fe74
mov cl, 0x41
mov dword [ebp - 0x44], 0x2f141a41
mov dword [ebp - 0x40], 0x61332425
xor eax, eax
mov dword [ebp - 0x3c], 0x1c382036
mov byte [ebp - 0x38], 0
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xb
jae 0x1001fe38
mov cl, byte [ebp - 0x44]
jmp 0x1001fe29
lea eax, [ebp - 0x43]
mov byte [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10003d99
mov dword [ebp - 4], 1
lea edx, [ebp - 0x94]
mov ecx, dword [esi + 0x7c]
call fcn.1000d114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10003b97
mov edx, 0xffc4fc03
mov ecx, dword [esi + 0x7c]
call fcn.1000d15a
mov edx, dword [ebp - 0x78]
mov ecx, dword [edi - 4]
call fcn.1000d15a
imul edx, dword [ebp - 0x30], 0x34
mov eax, dword [esi + 0x158]
mov dword [ebp - 0x54], 0x4c08496c
mov dword [ebp - 0x50], 0x8494c43
mov byte [ebp - 0x4c], 0
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x74], edx
movzx ecx, word [eax + edx*2 + 0x58]
movzx eax, word [eax + edx*2 + 0x50]
push ecx
push eax
mov cl, 0x6c
xor eax, eax
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 7
jae 0x1001fec8
mov cl, byte [ebp - 0x54]
jmp 0x1001feb9
sub esp, 0x18
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x70]
push eax
call fcn.100039e2
add esp, 0x24
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x1001fef5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x94]
call fcn.10003d99
mov byte [ebp - 4], 3
lea edx, [ebp - 0x94]
mov ecx, dword [edi]
call fcn.1000d114
lea ecx, [ebp - 0x94]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10003b97
mov eax, dword [esi + 0x158]
xorps xmm3, xmm3
mov ecx, dword [ebp - 0x74]
xorps xmm2, xmm2
movzx eax, word [eax + ecx*2 + 0x50]
mov ecx, dword [edi + 4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1000cfb2
mov eax, dword [ebp - 0x7c]
add edi, 0x14
inc dword [ebp - 0x34]
add eax, 4
sub dword [ebp - 0x48], 1
mov dword [ebp - 0x7c], eax
jne 0x1001fd7d
mov eax, dword [esi + 0x144]
shl eax, 2
mov dword [ebp - 0x74], eax
lea edi, [eax - 4]
cmp edi, eax
jge 0x100201cc
imul eax, edi, 0x68
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xc]
mov ecx, dword [esi + 0x158]
add eax, 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x15c]
sub eax, ecx
cdq
idiv dword [ebp - 0x9c]
dec eax
cmp edi, eax
jg 0x100201cc
mov eax, dword [ebp - 0x30]
add eax, ecx
mov dword [ebp - 0x48], 0xffc4fc03
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003928
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 4
mov eax, dword [esi + 0x158]
cmp byte [ecx + eax + 0x65], 2
jne 0x10020026
movups xmm0, xmmword [str.jJ1_]
mov dword [ebp - 0x60], 0x31e0b19
xor ecx, ecx
mov dword [ebp - 0x5c], 0x370405
movups xmmword [ebp - 0x70], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x16
jb 0x1001fff0
lea ecx, [ebp - 0x6f]
mov byte [ebp - 0x59], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020007
sub ecx, edx
lea eax, [ebp - 0x6f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100056aa
mov dword [ebp - 0x48], 0xff5cb9fe
jmp 0x10020074
mov cl, 0x58
mov dword [ebp - 0x44], 0xd037858
mov dword [ebp - 0x40], 0x2a3d3c36
xor eax, eax
mov dword [ebp - 0x3c], 0x21392f78
mov word [ebp - 0x38], 5
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xc
jae 0x10020054
mov cl, byte [ebp - 0x44]
jmp 0x10020045
lea ecx, [ebp - 0x43]
mov byte [ebp - 0x37], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002005e
sub ecx, edx
lea eax, [ebp - 0x43]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100056aa
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10003d99
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 5
mov ecx, dword [ecx]
call fcn.1000d114
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.10003b97
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call fcn.1000d15a
mov eax, dword [esi + 0x158]
mov edx, dword [ebp - 0x30]
movups xmm0, xmmword [str.eWmw___]
movzx ecx, byte [eax + edx + 0x64]
movzx eax, byte [eax + edx + 0x63]
push ecx
push eax
movups xmmword [ebp - 0x58], xmm0
xor ecx, ecx
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0xe
jb 0x100200dd
sub esp, 0x18
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x57]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0xb8]
push eax
call fcn.100039e2
add esp, 0x24
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x10020117
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x94]
call fcn.10003d99
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 7
mov ecx, dword [eax - 4]
call fcn.1000d114
lea ecx, [ebp - 0x94]
call fcn.10003b97
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.10003b97
mov edx, dword [esi + 0x158]
lea ecx, [ebp - 0xd0]
add edx, dword [ebp - 0x30]
mov dx, word [edx + 0x60]
call fcn.1001bd54
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x10020176
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10003d99
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 8]
call fcn.1000d114
lea ecx, [ebp - 0xb8]
call fcn.10003b97
lea ecx, [ebp - 0xd0]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003b97
push 0x68
pop eax
add dword [ebp - 0x30], eax
inc edi
mov eax, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x74]
jl 0x1001ff85
mov ecx, dword [ebp - 0x14]
call fcn.1003d81d
ret 0x10