Function at 0x1001fb2b
Capabilities:
Encode data using xor

Disassembly:
push 8
push 0xc0
mov eax, 0x1003f620
call fcn.1003d45f
mov esi, ecx
mov ecx, dword [esi + 0x158]
mov eax, dword [esi + 0x15c]
cmp ecx, eax
je 0x10020057
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 0x1001fdf0
mov edi, dword [ebx + 8]
lea eax, [ecx + 0x18]
cmp dword [eax], edi
je 0x1001fb88
inc dword [ebp - 0x30]
add eax, 0x68
cmp dword [ebp - 0x30], edx
jl 0x1001fb74
jmp 0x1001fdf0
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
mov ecx, dword [esi + 0x158]
mov ax, word [edx + eax]
mov word [edi + ecx - 8], ax
mov ecx, dword [esi + 0x158]
mov ax, word [edx]
lea edx, [edx + 2]
mov word [edi + ecx], ax
lea edi, [edi + 2]
mov eax, dword [ebx + 0x10]
jne 0x1001fbae
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x140]
jne 0x1001fdf0
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.1000c9c0
test al, al
je 0x1001fdd7
mov eax, dword [esi + 0x158]
mov ecx, dword [ebp - 0x98]
cmp byte [eax + ecx + 0x65], 2
jne 0x1001fc95
movups xmm0, xmmword [0x1004c7b0]
mov dword [ebp - 0x60], 0x70766b7e
xor ecx, ecx
mov word [ebp - 0x5c], 0x4271
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 0x1001fc46
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x5a], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10003da0
and dword [ebp - 4], 0
lea edx, [ebp - 0x94]
mov ecx, dword [esi + 0x7c]
call fcn.1000d0e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10003b9e
mov dword [ebp - 0x78], 0xff808080
mov edx, 0xff5cb9fe
jmp 0x1001fcff
push 0x68
pop eax
mov byte [ebp - 0x40], al
mov cl, 0xc
mov dword [ebp - 0x44], 0x6259570c
xor eax, eax
mov dword [ebp - 0x3f], 0x7b2c7e69
mov dword [ebp - 0x3b], 0x51756d
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xb
jae 0x1001fcc3
mov cl, byte [ebp - 0x44]
jmp 0x1001fcb4
lea eax, [ebp - 0x43]
mov byte [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10003da0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x94]
mov ecx, dword [esi + 0x7c]
call fcn.1000d0e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10003b9e
mov edx, 0xffc4fc03
mov ecx, dword [esi + 0x7c]
call fcn.1000d126
mov edx, dword [ebp - 0x78]
mov ecx, dword [edi - 4]
call fcn.1000d126
imul edx, dword [ebp - 0x30], 0x34
mov ecx, dword [esi + 0x158]
mov dword [ebp - 0x54], 0x3a7e3f1a
mov dword [ebp - 0x50], 0x7e3f3a35
mov byte [ebp - 0x4c], 0
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x74], edx
movzx eax, word [ecx + edx*2 + 0x58]
push eax
movzx eax, word [ecx + edx*2 + 0x50]
mov cl, 0x1a
push eax
xor eax, eax
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 7
jae 0x1001fd53
mov cl, byte [ebp - 0x54]
jmp 0x1001fd44
sub esp, 0x18
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x70]
push eax
call fcn.100039e5
add esp, 0x24
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x1001fd80
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x94]
call fcn.10003da0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x94]
mov ecx, dword [edi]
call fcn.1000d0e0
lea ecx, [ebp - 0x94]
call fcn.10003b9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10003b9e
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.1000cf7e
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 0x1001fc06
mov eax, dword [esi + 0x144]
shl eax, 2
mov dword [ebp - 0x74], eax
lea edi, [eax - 4]
cmp edi, eax
jge 0x10020057
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 0x10020057
mov eax, dword [ebp - 0x30]
add eax, ecx
mov dword [ebp - 0x48], 0xffc4fc03
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003926
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 4
mov eax, dword [esi + 0x158]
cmp byte [ecx + eax + 0x65], 2
jne 0x1001feb1
movups xmm0, xmmword [0x1004c430]
mov dword [ebp - 0x60], 0x564b5e4c
xor ecx, ecx
mov dword [ebp - 0x5c], 0x625150
movups xmmword [ebp - 0x70], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x16
jb 0x1001fe7b
lea ecx, [ebp - 0x6f]
mov byte [ebp - 0x59], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fe92
sub ecx, edx
lea eax, [ebp - 0x6f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100056bb
mov dword [ebp - 0x48], 0xff5cb9fe
jmp 0x1001feff
mov cl, 0x3c
mov dword [ebp - 0x44], 0x69671c3c
mov dword [ebp - 0x40], 0x4e595852
xor eax, eax
mov dword [ebp - 0x3c], 0x455d4b1c
mov word [ebp - 0x38], 0x61
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xc
jae 0x1001fedf
mov cl, byte [ebp - 0x44]
jmp 0x1001fed0
lea ecx, [ebp - 0x43]
mov byte [ebp - 0x37], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fee9
sub ecx, edx
lea eax, [ebp - 0x43]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100056bb
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10003da0
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 5
mov ecx, dword [ecx]
call fcn.1000d0e0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.10003b9e
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call fcn.1000d126
mov ecx, dword [esi + 0x158]
mov edx, dword [ebp - 0x30]
movups xmm0, xmmword [0x1004ba70]
movzx eax, byte [ecx + edx + 0x64]
push eax
movzx eax, byte [ecx + edx + 0x63]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0xe
jb 0x1001ff68
sub esp, 0x18
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x57]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0xb8]
push eax
call fcn.100039e5
add esp, 0x24
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x1001ffa2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x94]
call fcn.10003da0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 7
mov ecx, dword [eax - 4]
call fcn.1000d0e0
lea ecx, [ebp - 0x94]
call fcn.10003b9e
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.10003b9e
mov edx, dword [esi + 0x158]
lea ecx, [ebp - 0xd0]
add edx, dword [ebp - 0x30]
mov dx, word [edx + 0x60]
call fcn.1001bc3a
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x10020001
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10003da0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 8]
call fcn.1000d0e0
lea ecx, [ebp - 0xb8]
call fcn.10003b9e
lea ecx, [ebp - 0xd0]
call fcn.10003b9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003b9e
push 0x68
pop eax
add dword [ebp - 0x30], eax
inc edi
mov eax, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x74]
jl 0x1001fe10
mov ecx, dword [ebp - 0x14]
call fcn.1003d43d
ret 0x10