Function at 0x1001be8e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006ae0c
call fcn.10055640
mov eax, 0x4104
call fcn.100570c0
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [esi + 0x84]
push str.info:
call fcn.10004249
push 0x3f
push dword [ebp + 8]
call fcn.1005648a
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x1001bf0b
cmp byte [ebp + 0xc], bl
jne 0x1001bf0b
sub eax, dword [ebp + 8]
lea ecx, [ebp - 0xb8]
inc eax
inc eax
sar eax, 1
push eax
push dword [ebp + 8]
call fcn.10005729
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0xa0]
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10004148
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0xb8]
call fcn.1000289a
jmp 0x1001bf1b
push dword [ebp + 8]
lea edi, [esi + 0xa0]
mov ecx, edi
call fcn.10004249
push edi
lea eax, [esi + 0x84]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1000e51f
push eax
xor edi, edi
lea eax, [ebp - 0x8c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.1000583a
add esp, 0x14
push edi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.1000289a
cmp dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x88]
jae 0x1001bf67
lea eax, [ebp - 0x88]
push 0xe6359a60
push dword [ebp - 0x78]
push eax
call fcn.100305ce
add esp, 0xc
lea edi, [esi + 0xdc]
push str.ch6
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.10004249
push dword [ebp + 0xc]
call fcn.100311a6
pop ecx
push eax
mov ecx, edi
call fcn.1000412b
mov dword [ebp - 0x4110], ebx
mov dword [ebp - 0x410c], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x4110]
mov byte [ebp - 4], 4
call fcn.1001ac8d
test al, al
je 0x1001c108
lea ecx, [ebp - 0x70]
call fcn.1001aead
mov eax, 0x1010101
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3e], bl
lea edi, [ebp - 0x3a]
stosd dword es:[edi], eax
lea eax, [ebp - 0x4110]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.1001b5f7
lea ecx, [ebp - 0x70]
call fcn.1001b0e2
lea ecx, [ebp - 0x58]
call fcn.1001b0e2
or byte [ebp - 0x14], 0xff
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0xbc], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x1c], 0x62
mov byte [ebp - 0x1b], 0x99
mov byte [ebp - 0x1a], 0xfa
mov byte [ebp - 0x19], 0xc6
mov byte [ebp - 0x18], 0xfa
mov byte [ebp - 0x17], 0xa8
mov byte [ebp - 0x16], 0xa
mov byte [ebp - 0x15], 0x11
mov byte [ebp - 0x13], 0xeb
mov byte [ebp - 0x12], 0x5f
mov byte [ebp - 0x11], 0x36
mov byte [ebp - 0x10], 0xb1
mov byte [ebp - 0xf], 0x86
mov byte [ebp - 0xe], 0xc1
xor eax, eax
mov cl, byte [ebp + eax - 0x6c]
xor cl, byte [ebp + eax - 0x1c]
inc eax
cmp eax, 8
mov byte [ebp + eax - 0x9d], cl
jl 0x1001c057
push 7
xor eax, eax
pop edi
mov cl, byte [ebp + eax - 0x54]
xor cl, byte [ebp + eax - 0x14]
inc eax
dec edi
mov byte [ebp + eax - 0x95], cl
jne 0x1001c071
push 0xf
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10031319
lea edi, [esi + 0xdc]
push str.freshness_check4
mov ecx, edi
call fcn.1000412b
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005c35
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 6
call fcn.100058c1
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.1000337e
push 1
lea ecx, [ebp - 0xec]
call fcn.1000289a
push 1
lea ecx, [ebp - 0x28]
call fcn.10002e29
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.10001337
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.10001337
lea ecx, [ebp - 0x4110]
call fcn.1001ac40
push 1
lea ecx, [ebp - 0x8c]
call fcn.10002e29
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8