Function at 0x5aee40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7c76
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x82f184]
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 eax, dword [edi + 0xb8]
lea ecx, [ebp - 0x104]
mov esi, dword [ebp + 8]
add eax, 0x84
push eax
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x5aeeba
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x80], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x11c]
call fcn.00404490
lea ecx, [ebp - 0x104]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe8]
call fcn.00403b80
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0xc1], al
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00404220
lea ecx, [ebp - 0xe8]
call fcn.00404490
cmp byte [ebp - 0xc1], 0
jne 0x5aef8d
mov byte [ebp - 0xc1], 0
jmp 0x5af36c
xorps xmm0, xmm0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x68], xmm0
call fcn.00404120
mov byte [ebp - 4], 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.00649d20
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.006480b0
mov byte [ebp - 4], 0xa
mov eax, 0x20
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xcb00da
mov dword [ebp - 0x50], 0xcc00d5
mov dword [ebp - 0x4c], 0xd800cf
mov dword [ebp - 0x48], 0x9100cc
mov dword [ebp - 0x44], 0xa400b3
mov dword [ebp - 0x40], 0xb100a3
mov dword [ebp - 0x3c], 0xad00a7
mov dword [ebp - 0x38], 0xa300e8
mov dword [ebp - 0x34], 0xaf00ad
mov dword [ebp - 0x30], 0xbe00ab
mov dword [ebp - 0x2c], 0xb900a0
mov dword [ebp - 0x28], 0xa100ab
mov dword [ebp - 0x24], 0xb800b7
mov dword [ebp - 0x20], 0xb600bc
mov dword [ebp - 0x1c], 0xb400ba
mov dword [ebp - 0x18], 0xb200bb
mov dword [ebp - 0x14], 0xd8
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x5af052
xor ecx, ecx
mov dword [ebp - 0xc8], 7
mov word [ebp + eax*2 - 0x54], cx
xor eax, eax
mov dword [ebp - 0xcc], ecx
lea ecx, [ebp - 0x54]
mov word [ebp - 0xdc], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5af090
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.004044f0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x78]
call fcn.00648b80
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404120
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
call fcn.00404490
call fcn.00451010
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
je 0x5af17c
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0xdc]
cmp esi, eax
je 0x5af161
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0xdc]
xor eax, eax
mov word [ebp - 0xdc], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xcc]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
lea ecx, [ebp - 0xdc]
call fcn.00404490
mov byte [edi + 0xc], 1
mov byte [ebp - 0xc1], 1
jmp 0x5af322
mov dword [ebp - 0x50], 0x1d
xor eax, eax
mov dword [ebp - 0x4c], 0xcb00da
mov dword [ebp - 0x48], 0xcc00d5
mov dword [ebp - 0x44], 0xd800cf
mov dword [ebp - 0x40], 0x9100cc
mov dword [ebp - 0x3c], 0xa400b3
mov dword [ebp - 0x38], 0xb100a3
mov dword [ebp - 0x34], 0xad00a7
mov dword [ebp - 0x30], 0xb400e8
mov dword [ebp - 0x2c], 0xa500ad
mov dword [ebp - 0x28], 0xa800af
mov dword [ebp - 0x24], 0xa800b8
mov dword [ebp - 0x20], 0x8a00aa
mov dword [ebp - 0x1c], 0xb600be
mov dword [ebp - 0x18], 0xbd00bb
mov dword [ebp - 0x14], 0xd500b1
nop
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x4c], cx
inc eax
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jb 0x5af1f0
xor eax, eax
mov dword [ebp - 0xc8], 7
mov word [ebp + ecx*2 - 0x4c], ax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xcc], eax
lea edx, [ecx + 2]
mov word [ebp - 0xdc], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5af227
sub ecx, edx
lea eax, [ebp - 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.004044f0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x78]
call fcn.00648b80
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404120
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x12
call fcn.00404490
call fcn.00451010
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
je 0x5af310
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0xdc]
cmp esi, eax
je 0x5af2f8
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0xdc]
xor eax, eax
mov word [ebp - 0xdc], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xcc]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
lea ecx, [ebp - 0xdc]
call fcn.00404490
mov byte [edi + 0xc], 1
mov byte [ebp - 0xc1], 1
jmp 0x5af317
mov byte [ebp - 0xc1], 0
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0xc0]
call fcn.00404490
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x60]
mov esi, dword [ebp - 0x60]
push dword [esi + 4]
call fcn.006499a0
mov eax, dword [ebp - 0x60]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x60]
mov dword [eax], esi
mov eax, dword [ebp - 0x60]
mov dword [eax + 8], esi
push dword [ebp - 0x60]
mov dword [ebp - 0x5c], 0
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.00404490
lea ecx, [ebp - 0x90]
call fcn.00404490
mov al, byte [ebp - 0xc1]
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.0076d59e
mov esp, ebp
pop ebp
ret 4