Function at 0x5afe50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9416
mov eax, dword fs:[0]
push eax
sub esp, 0x110
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 eax, dword [edi + 0xb8]
lea ecx, [ebp - 0x104]
mov esi, dword [ebp + 8]
add eax, 0x84
push eax
call fcn.00404120
push 0x7cf384
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 0x5afeca
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 0x5aff9d
mov byte [ebp - 0xc1], 0
jmp 0x5b037c
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.0064aa50
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.00648de0
mov byte [ebp - 4], 0xa
mov eax, 0x20
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xd800cb
mov dword [ebp - 0x50], 0xdb00c4
mov dword [ebp - 0x4c], 0xcb00de
mov dword [ebp - 0x48], 0x9e00dd
mov dword [ebp - 0x44], 0xd700c2
mov dword [ebp - 0x40], 0xc600d2
mov dword [ebp - 0x3c], 0xde00d6
mov dword [ebp - 0x38], 0xdc0099
mov dword [ebp - 0x34], 0xdc00dc
mov dword [ebp - 0x30], 0xc900da
mov dword [ebp - 0x2c], 0xca00d1
mov dword [ebp - 0x28], 0xae00da
mov dword [ebp - 0x24], 0xab00a6
mov dword [ebp - 0x20], 0xa100ad
mov dword [ebp - 0x1c], 0xa700ab
mov dword [ebp - 0x18], 0xad00aa
mov dword [ebp - 0x14], 0xc9
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x5b0062
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 0x5b00a0
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.006498b0
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.00451ae0
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5b018c
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 0x5b0171
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 0x5b0332
mov dword [ebp - 0x50], 0x1d
xor eax, eax
mov dword [ebp - 0x4c], 0xd800cb
mov dword [ebp - 0x48], 0xdb00c4
mov dword [ebp - 0x44], 0xcb00de
mov dword [ebp - 0x40], 0x9e00dd
mov dword [ebp - 0x3c], 0xd700c2
mov dword [ebp - 0x38], 0xc600d2
mov dword [ebp - 0x34], 0xde00d6
mov dword [ebp - 0x30], 0xcb0099
mov dword [ebp - 0x2c], 0xd600dc
mov dword [ebp - 0x28], 0xdf00de
mov dword [ebp - 0x24], 0xdb00c9
mov dword [ebp - 0x20], 0x8500db
mov dword [ebp - 0x1c], 0xa500af
mov dword [ebp - 0x18], 0xaa00aa
mov dword [ebp - 0x14], 0xc600a0
nop
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x4c], cx
inc eax
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jb 0x5b0200
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 0x5b0237
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.006498b0
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.00451ae0
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5b0320
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 0x5b0308
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 0x5b0327
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.0064a6d0
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.0076e8f3
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.0076eb7e
mov esp, ebp
pop ebp
ret 4