Function at 0x5be720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aacd4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 0x15
mov dword [ebp - 0x74], 0xc600f5
mov dword [ebp - 0x70], 0xcf00c4
mov dword [ebp - 0x6c], 0xc200cc
mov dword [ebp - 0x68], 0xec00ca
mov dword [ebp - 0x64], 0xc700c3
mov dword [ebp - 0x60], 0xc700ef
mov dword [ebp - 0x5c], 0xd700d0
mov dword [ebp - 0x58], 0xdb00c5
mov dword [ebp - 0x54], 0x9400d1
mov dword [ebp - 0x50], 0xd200d2
mov dword [ebp - 0x4c], 0xbe00d4
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x74], ax
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x5be7f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x74], cx
lea ecx, [ebp - 0x9c]
mov eax, dword [edi + 0xb8]
add eax, 0x6c
push eax
call fcn.00404120
mov dword [ebp - 0x7c], 3
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403b80
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 6
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x41], al
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x6c]
call fcn.00404490
cmp byte [ebp - 0x41], 0
je 0x5be987
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
mov ecx, edi
movq qword [ebp - 0x1c], xmm0
call fcn.005bebf0
mov byte [ebp - 4], 7
mov eax, 0x51eb851f
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
imul ecx
mov ecx, dword [esi + 8]
mov eax, 0x51eb851f
sub ecx, dword [esi]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x5be914
cmp edi, 0x28f5c28
ja 0x5bebdd
push edi
mov ecx, esi
call fcn.005c0940
push dword [ebp - 0x80]
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.005c0b90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5be984
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b7cb0
mov ecx, dword [ebp - 0x14]
mov eax, 0x51eb851f
mov edi, dword [ebp - 0x1c]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, edi
cmp ecx, 0x1000
jb 0x5be97a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5be97a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0076e8f3
add esp, 8
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x64], 0xb
xor ecx, ecx
mov dword [ebp - 0x60], 0xd900f5
mov dword [ebp - 0x5c], 0xcd00ce
mov dword [ebp - 0x58], 0xcd00df
mov dword [ebp - 0x54], 0x9e00c7
mov dword [ebp - 0x50], 0xdc00d8
mov dword [ebp - 0x4c], 0xb400da
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x60], ax
inc ecx
mov eax, dword [ebp - 0x64]
cmp ecx, eax
jb 0x5be9c0
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
mov dword [ebp - 0x7c], 7
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00408060
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x5bea44
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [edi], ax
lea ecx, [ebp - 0xb4]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403b80
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x41], al
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x6c]
call fcn.00404490
cmp byte [ebp - 0x41], 0
je 0x5bebb6
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.005bebf0
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov edi, dword [esi]
mov dword [ebp - 0x48], eax
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [ebp - 0x48]
mov eax, 0x51eb851f
sar edx, 5
sub ecx, edi
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
sar edx, 5
mov eax, edx
add esi, edx
shr eax, 0x1f
add eax, esi
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov eax, 0x51eb851f
mov ecx, dword [esi + 8]
sub ecx, edi
imul ecx
mov ecx, dword [ebp - 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x5beb49
cmp ecx, 0x28f5c28
ja 0x5bebe2
push ecx
mov ecx, esi
call fcn.005c0940
push dword [ebp - 0x80]
mov eax, dword [esi + 4]
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
call fcn.005c0b90
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5bebb6
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b7cb0
mov ecx, dword [ebp - 0x14]
mov eax, 0x51eb851f
mov edi, dword [ebp - 0x1c]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, edi
cmp ecx, 0x1000
jb 0x5bebac
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5bebac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4
call fcn.00404650
call fcn.00404650
int3