Function at 0x1000be5e
Capabilities:
Encode data using xor

Disassembly:
push 0x97c
mov eax, 0x1001f897
call fcn.1001b357
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x988], eax
mov dword [ebp - 0x984], ecx
mov dword [ebp - 0x980], edx
cmp eax, ebx
je 0x1000be8a
mov dword [eax], ebx
cmp ecx, ebx
je 0x1000be90
mov byte [ecx], bl
cmp edx, ebx
je 0x1000be96
mov byte [edx], bl
xor eax, eax
push 0x7fe
mov word [ebp - 0x92c], ax
lea eax, [ebp - 0x92a]
push ebx
push eax
call fcn.1000f470
add esp, 0xc
lea edi, [ebp - 0x92c]
call fcn.1000d25a
test eax, eax
je 0x1000bef1
cmp word [ebp - 0x92c], bx
je 0x1000befa
push dword [0x10029420]
mov eax, edi
push 0x100245fc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x92c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp word [ebp - 0x92c], bx
jne 0x1000bf01
xor eax, eax
jmp 0x1000c20b
mov dword [ebp - 0x1c], 0xe6f9d7b4
mov dword [ebp - 0x18], 0xb4f5ddf5
mov dword [ebp - 0x24], 0xf5e6f9d7
mov dword [ebp - 0x20], 0xb1b4f5dd
xor eax, eax
xor byte [ebp + eax - 0x1c], 0x90
inc eax
cmp eax, 8
jb 0x1000bf1f
xor eax, eax
xor byte [ebp + eax - 0x24], 0x90
inc eax
cmp eax, 8
jb 0x1000bf2c
push dword [ebp + 8]
call fcn.1000d2f0
neg eax
sbb eax, eax
neg eax
push eax
lea eax, [ebp - 0x60]
push str.x64_uver_u
push eax
call fcn.1000eb25
mov dword [ebp - 0x96c], eax
lea eax, [ebp - 0x60]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1000bf63
sub eax, ecx
push eax
lea esi, [ebp - 0x60]
push 8
mov ebx, esi
lea edi, [ebp - 0x1c]
call fcn.1000c862
push dword [ebp - 0x96c]
mov eax, esi
push eax
lea eax, [ebp - 0x12c]
call fcn.1000c58c
add esp, 0x10
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x92c]
xor edi, edi
push eax
lea edx, [ebp - 0x968]
lea ecx, [ebp - 0x970]
mov dword [ebp - 0x970], edi
mov dword [ebp - 0x968], edi
call fcn.1000c7b6
pop ecx
mov dword [ebp - 0x96c], eax
cmp eax, edi
je 0x1000c1f0
mov ebx, dword [ebp - 0x970]
cmp ebx, edi
je 0x1000c205
mov esi, dword [ebp - 0x968]
cmp esi, edi
je 0x1000c1f0
lea eax, [esi + 0x40]
push eax
mov dword [ebp - 0x96c], edi
call fcn.1000d662
pop ecx
push esi
push 8
mov esi, eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x974], eax
call fcn.1000c862
mov eax, dword [ebp - 0x968]
pop ecx
xor ebx, ebx
mov edi, esi
mov byte [edi + eax], bl
pop ecx
lea eax, [ebp - 0x964]
push eax
call fcn.10007af5
lea eax, [ebp - 0x964]
mov dword [ebp - 4], ebx
push eax
lea edx, [ebp - 0x97c]
mov dword [ebp - 0x97c], edi
mov dword [ebp - 0x978], edi
call fcn.10008f44
cmp dword [eax + 0x30], ebx
jne 0x1000c1d9
mov eax, dword [ebp - 0x964]
shl eax, 5
add eax, dword [ebp - 0x95c]
mov esi, 0x10024624
mov dword [ebp - 0x968], eax
lea eax, [ebp - 0x964]
push eax
lea ebx, [ebp - 0x978]
call fcn.10008fe0
mov ecx, dword [ebp - 0x968]
cmp dword [eax], ecx
je 0x1000c1d9
mov eax, dword [ebp - 0x964]
shl eax, 5
add eax, dword [ebp - 0x95c]
mov esi, 0x10024628
mov dword [ebp - 0x968], eax
lea eax, [ebp - 0x964]
push eax
lea ebx, [ebp - 0x978]
call fcn.10008fe0
mov ecx, dword [ebp - 0x968]
cmp dword [eax], ecx
je 0x1000c1d9
mov edi, dword [ebp - 0x964]
lea eax, [ebp - 0x964]
shl edi, 5
add edi, dword [ebp - 0x95c]
push eax
mov esi, 0x1002462c
lea ebx, [ebp - 0x978]
call fcn.10008fe0
cmp dword [eax], edi
je 0x1000c1d3
cmp dword [ebp - 0x984], 0
mov dword [ebp - 0x96c], 1
mov ebx, 0x1000
je 0x1000c163
mov edi, 0x10024628
mov edx, edi
lea esi, [ebp - 0x964]
call fcn.100090f4
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x1000c163
mov edx, edi
call fcn.100090f4
test word [eax + 0xe], bx
jne 0x1000c148
mov eax, dword [eax + 8]
test eax, eax
je 0x1000c163
cmp byte [eax], 0
je 0x1000c163
mov edx, dword [ebp - 0x984]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000c159
cmp dword [ebp - 0x980], 0
je 0x1000c1b5
mov edi, 0x1002462c
mov edx, edi
lea esi, [ebp - 0x964]
call fcn.100090f4
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x1000c1b5
mov edx, edi
call fcn.100090f4
test word [eax + 0xe], bx
jne 0x1000c19a
mov eax, dword [eax + 8]
test eax, eax
je 0x1000c1b5
cmp byte [eax], 0
je 0x1000c1b5
mov edx, dword [ebp - 0x980]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000c1ab
mov edi, dword [ebp - 0x988]
test edi, edi
je 0x1000c1d3
mov edx, 0x10024624
lea esi, [ebp - 0x964]
call fcn.100090f4
mov eax, dword [eax]
mov dword [edi], eax
mov edi, dword [ebp - 0x974]
push edi
call fcn.1000d764
or dword [ebp - 4], 0xffffffff
pop ecx
lea eax, [ebp - 0x964]
push eax
call fcn.10007b74
cmp dword [ebp - 0x970], 0
je 0x1000c205
push dword [ebp - 0x970]
call fcn.1000d764
pop ecx
mov eax, dword [ebp - 0x96c]
call fcn.1001b3a1
ret