Function at 0x5aae90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7537
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
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 edx, ecx
xor edi, edi
mov dword [ebp - 0x98], 9
mov dword [ebp - 0x94], 0xc900e4
xor ecx, ecx
mov dword [ebp - 0x90], 0xde00c8
mov dword [ebp - 0x8c], 0xce00da
mov dword [ebp - 0x88], 0xd50090
mov dword [ebp - 0x84], 0xc100b3
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x94], ax
inc ecx
mov eax, dword [ebp - 0x98]
cmp ecx, eax
jb 0x5aaf00
xor ecx, ecx
mov word [ebp + eax*2 - 0x94], cx
lea ecx, [ebp - 0xbc]
mov eax, dword [edx + 0xd0]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403b80
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x4d], al
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0xa4]
call fcn.00404490
cmp byte [ebp - 0x4d], 0
jne 0x5aafe5
xor edi, edi
jmp 0x5ab251
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.00404120
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00649d20
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.006480b0
mov byte [ebp - 4], 8
mov eax, 0x14
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x7c], 0xcb00da
mov dword [ebp - 0x78], 0xcc00d5
mov dword [ebp - 0x74], 0xd800cf
mov dword [ebp - 0x70], 0x9100cc
mov dword [ebp - 0x6c], 0xb500b3
mov dword [ebp - 0x68], 0xb100a3
mov dword [ebp - 0x64], 0xb000b0
mov dword [ebp - 0x60], 0xe900b6
mov dword [ebp - 0x5c], 0xa800b8
mov dword [ebp - 0x58], 0xae00ad
mov dword [ebp - 0x54], 0xcc
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x5ab080
xor ecx, ecx
mov dword [ebp - 0x84], 7
mov word [ebp + eax*2 - 0x7c], cx
xor eax, eax
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x98], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ab0c0
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004044f0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00649830
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x98]
cmp eax, dword [ebp - 0x1c]
sete byte [ebp - 0x4d]
call fcn.00404490
cmp byte [ebp - 0x4d], 0
je 0x5ab11e
mov edi, 2
jmp 0x5ab212
mov ecx, 0x14
mov dword [ebp - 0x7c], 0xcb00da
mov dword [ebp - 0x80], ecx
xor eax, eax
mov dword [ebp - 0x78], 0xcc00d5
mov dword [ebp - 0x74], 0xd800cf
mov dword [ebp - 0x70], 0x9100cc
mov dword [ebp - 0x6c], 0xb500b3
mov dword [ebp - 0x68], 0xb100a3
mov dword [ebp - 0x64], 0xb000b0
mov dword [ebp - 0x60], 0xe900b6
mov dword [ebp - 0x5c], 0xa800b8
mov dword [ebp - 0x58], 0xae00ad
mov dword [ebp - 0x54], 0xcc
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x7c], cx
inc eax
mov ecx, dword [ebp - 0x80]
cmp eax, ecx
jb 0x5ab180
xor eax, eax
mov dword [ebp - 0x84], 7
mov word [ebp + ecx*2 - 0x7c], ax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x88], eax
lea edx, [ecx + 2]
mov word [ebp - 0x98], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ab1b7
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004044f0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x34]
call fcn.00648ce0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov esi, edx
call fcn.00404490
mov eax, dword [ebp - 0x14]
mov ecx, eax
or ecx, esi
jne 0x5ab207
lea edi, [ecx + 1]
jmp 0x5ab212
cmp eax, 3
jne 0x5ab212
test esi, esi
jne 0x5ab212
mov edi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.006499a0
mov eax, dword [ebp - 0x1c]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404490
mov eax, edi
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