Function at 0x101be7e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.10123c70
mov eax, dword [0x102ec100]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xf8]
push ebp
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x100]
push esi
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x108]
shr esi, 3
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 2
cmp esi, 0x14
je 0x101be8a2
cmp esi, 0x1c
je 0x101be8a2
cmp esi, 0x20
je 0x101be8a2
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10123194
add esp, 0xd8
ret
test ebp, ebp
jne 0x101be8d1
cmp esi, 0x14
jne 0x101be8b6
call fcn.101a1b20
mov dword [esp + 0x14], eax
jmp 0x101be8dc
cmp esi, 0x1c
jne 0x101be8c6
call fcn.101a1b30
mov dword [esp + 0x14], eax
jmp 0x101be8dc
call fcn.101a1b40
mov dword [esp + 0x14], eax
jmp 0x101be8dc
push ebp
call fcn.1017d770
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x24]
push edi
mov edi, 0x200
cmp ebx, edi
cmovae edi, ebx
add edi, 0x3f
and edi, 0xffffffc0
test ecx, ecx
je 0x101be931
mov eax, dword [esp + 0x100]
cmp eax, esi
jae 0x101be91c
push 0x55
push 0x102a0cec
push 0x6e
push 0x7d
push 0xa
call fcn.1017c970
add esp, 0x14
xor eax, eax
jmp 0x101befd4
cmova eax, esi
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
call fcn.1014a620
add esp, 0xc
call fcn.101a88b0
mov dword [esp + 0x34], eax
test eax, eax
je 0x101befb4
call fcn.1018be30
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x101befb4
push ebx
call fcn.1018bf20
push ebx
call fcn.1018bce0
push ebx
mov ebp, eax
call fcn.1018bce0
push ebx
mov dword [esp + 0x40], eax
call fcn.1018bce0
push ebx
mov dword [esp + 0x50], eax
call fcn.1018bce0
push ebx
mov dword [esp + 0x3c], eax
call fcn.1018bce0
push ebx
mov dword [esp + 0x48], eax
call fcn.1018bce0
push ebx
mov dword [esp + 0x70], eax
call fcn.1018bce0
push ebx
mov dword [esp + 0x38], eax
call fcn.1018bce0
mov ebx, eax
add esp, 0x24
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x101befb4
lea eax, [edi - 1]
push eax
mov dword [esp + 0x50], eax
call fcn.10186180
push eax
push ebx
call fcn.1019e580
add esp, 0xc
test eax, eax
je 0x101befb4
mov edi, dword [esp + 0x3c]
nop dword [eax]
push dword [esp + 0x38]
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
push 0
push dword [esp + 0x24]
sete bl
call fcn.101a9290
inc dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x101befb4
cmp dword [esp + 0x28], 0
jne 0x101bea29
lea eax, [esp + 0xc4]
push esi
push eax
call fcn.1018aeb0
add esp, 8
test eax, eax
jle 0x101befb4
jmp 0x101bea31
mov dword [esp + 0x28], 0
push esi
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.1014a620
push esi
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.1014a620
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
js 0x101bea7f
nop word [eax + eax]
add byte [esp + eax + 0xa4], 1
jne 0x101bea7f
sub eax, 1
jns 0x101bea70
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0xd4]
push esi
push eax
call fcn.10196c80
add esp, 0x18
test eax, eax
je 0x101befb4
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x8c]
push 0
push eax
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.10196c80
add esp, 0x18
test eax, eax
je 0x101befb4
xor ecx, ecx
test esi, esi
jle 0x101bebb4
cmp esi, 8
jb 0x101beba4
cmp esi, 0x40
jb 0x101beb6f
mov eax, esi
and eax, 0x8000003f
jns 0x101beaf8
dec eax
or eax, 0xffffffc0
inc eax
mov edx, esi
sub edx, eax
nop dword [eax]
movups xmm0, xmmword [esp + ecx + 0x64]
movups xmm1, xmmword [esp + ecx + 0x84]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x64], xmm1
movups xmm0, xmmword [esp + ecx + 0x74]
movups xmm1, xmmword [esp + ecx + 0x94]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x74], xmm1
movups xmm0, xmmword [esp + ecx + 0x84]
movups xmm1, xmmword [esp + ecx + 0xa4]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x84], xmm1
movups xmm0, xmmword [esp + ecx + 0x94]
movups xmm1, xmmword [esp + ecx + 0xb4]
xorps xmm1, xmm0
movups xmmword [esp + ecx + 0x94], xmm1
add ecx, 0x40
cmp ecx, edx
jl 0x101beb00
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x101beba0
mov eax, esi
and eax, 0x80000007
jns 0x101beb7d
dec eax
or eax, 0xfffffff8
inc eax
mov edx, esi
sub edx, eax
movq xmm0, qword [esp + ecx + 0x64]
movq xmm1, qword [esp + ecx + 0x84]
xorps xmm1, xmm0
movq qword [esp + ecx + 0x64], xmm1
add ecx, 8
cmp ecx, edx
jl 0x101beb81
cmp ecx, esi
jge 0x101bebb4
mov al, byte [esp + ecx + 0x84]
xor byte [esp + ecx + 0x64], al
inc ecx
cmp ecx, esi
jl 0x101beba4
push dword [esp + 0x24]
or byte [esp + 0x68], 0x80
lea eax, [esp + 0x68]
or byte [esp + esi + 0x67], 1
push esi
push eax
call fcn.10185740
add esp, 0xc
test eax, eax
je 0x101befb4
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push 0x40
push dword [esp + 0x34]
call fcn.101a9860
add esp, 0x14
test eax, eax
jg 0x101bebfe
je 0x101be9e0
jmp 0x101befb4
mov ebx, dword [esp + 0x1c]
push 0
push 2
push ebx
call fcn.101a9290
add esp, 0xc
test eax, eax
je 0x101befb4
push 0
push 3
push ebx
call fcn.101a9290
add esp, 0xc
test eax, eax
je 0x101befb4
mov eax, 0xcccccccd
xor ecx, ecx
mul dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
mov ebx, edx
shr ebx, 7
test ecx, ecx
je 0x101bec5b
push ecx
push 0
push dword [esp + 0x24]
call fcn.101a9290
add esp, 0xc
test eax, eax
je 0x101befb4
push 0
push edi
call fcn.101860d0
add esp, 8
xor edi, edi
test ebx, ebx
js 0x101bed09
lea eax, [esi - 1]
test eax, eax
js 0x101bec8f
nop word [eax + eax]
add byte [esp + eax + 0xa4], 1
jne 0x101bec8f
sub eax, 1
jns 0x101bec80
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push 0
push eax
lea eax, [esp + 0xb4]
push esi
push eax
call fcn.10196c80
add esp, 0x18
test eax, eax
je 0x101befb4
push ebp
lea eax, [esp + 0x68]
push esi
push eax
call fcn.10185740
add esp, 0xc
test eax, eax
je 0x101befb4
lea eax, [esi*8]
imul eax, edi
push eax
push ebp
push ebp
call fcn.1019e580
add esp, 0xc
test eax, eax
je 0x101befb4
mov eax, dword [esp + 0x3c]
push ebp
push eax
push eax
call fcn.1018c010
add esp, 0xc
test eax, eax
je 0x101befb4
inc edi
cmp edi, ebx
jle 0x101bec70
push dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
push edi
call fcn.10185d90
add esp, 8
test eax, eax
je 0x101befb4
push edi
push dword [esp + 0x30]
call fcn.10185b30
add esp, 8
test eax, eax
je 0x101befb4
push dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push eax
push eax
call fcn.1018c010
add esp, 0xc
test eax, eax
je 0x101befb4
push dword [esp + 0x24]
push ebp
call fcn.1019e6f0
add esp, 8
test eax, eax
je 0x101befb4
push dword [esp + 0x20]
push ebp
push dword [esp + 0x34]
push dword [esp + 0x5c]
push 0
call fcn.101a9e60
add esp, 0x14
test eax, eax
je 0x101befb4
call fcn.10186180
push eax
push dword [esp + 0x54]
push ebp
call fcn.1018c0a0
add esp, 0xc
test eax, eax
je 0x101befb4
push ebp
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.1018c0a0
add esp, 0xc
test eax, eax
je 0x101befb4
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.10185960
add esp, 8
test eax, eax
js 0x101bedef
push dword [esp + 0x1c]
push 1
push dword [esp + 0x28]
push 0x40
push dword [esp + 0x24]
call fcn.101a9860
add esp, 0x14
test eax, eax
jg 0x101bee09
jne 0x101befb4
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, 0x1000
jl 0x101bec40
jmp 0x101be9e0
mov ebx, dword [esp + 0x1c]
push 1
push 2
push ebx
call fcn.101a9290
add esp, 0xc
test eax, eax
je 0x101befb4
call fcn.10186180
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.1018c0a0
add esp, 0xc
test eax, eax
je 0x101befb4
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x28]
push dword [esp + 0x18]
push 0
push ebp
call fcn.101a9e60
add esp, 0x14
test eax, eax
je 0x101befb4
push 2
push dword [esp + 0x14]
call fcn.101860d0
add esp, 8
test eax, eax
je 0x101befb4
push edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.101a8930
add esp, 0xc
test eax, eax
je 0x101befb4
push dword [esp + 0x34]
push edi
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x44]
call fcn.101b3300
add esp, 0x18
test eax, eax
je 0x101befb4
push dword [esp + 0x30]
call fcn.10185d30
add esp, 4
test eax, eax
je 0x101bef04
call fcn.10186180
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
call fcn.1018c010
add esp, 0xc
test eax, eax
je 0x101befb4
push dword [esp + 0x34]
inc dword [esp + 0x48]
push edi
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x44]
call fcn.101b3300
add esp, 0x18
test eax, eax
jne 0x101beeb1
jmp 0x101befb4
push 1
push 3
push ebx
call fcn.101a9290
add esp, 0xc
test eax, eax
je 0x101befb4
mov dword [esp + 0x48], 1
mov ebx, dword [esp + 0x54]
push dword [ebx + 8]
call fcn.10185c40
push dword [ebx + 0xc]
call fcn.10185c40
push dword [ebx + 0x10]
call fcn.10185c40
push dword [esp + 0x20]
call fcn.10185b90
push dword [esp + 0x34]
mov dword [ebx + 8], eax
call fcn.10185b90
push dword [esp + 0x44]
mov dword [ebx + 0xc], eax
call fcn.10185b90
add esp, 0x18
mov dword [ebx + 0x10], eax
cmp dword [ebx + 8], 0
je 0x101befac
cmp dword [ebx + 0xc], 0
je 0x101befac
test eax, eax
je 0x101befac
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x101bef82
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x101bef90
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x101befb4
push esi
lea ecx, [esp + 0xc8]
push ecx
push eax
call fcn.1014a620
add esp, 0xc
jmp 0x101befb4
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x20]
push esi
call fcn.1018bbe0
push esi
call fcn.1018bc50
push dword [esp + 0x3c]
call fcn.101a8860
mov eax, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10123194
add esp, 0xd8
ret