Function at 0x5ad380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7991
mov eax, dword fs:[0]
push eax
sub esp, 0x100
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 + 0xd0]
lea ecx, [ebp - 0xf4]
mov esi, dword [ebp + 8]
add eax, 0x84
push eax
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x5ad3f9
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x70], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x10c]
call fcn.00404490
lea ecx, [ebp - 0xf4]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xd8]
call fcn.00403b80
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x99], al
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00404220
lea ecx, [ebp - 0xd8]
call fcn.00404490
cmp byte [ebp - 0x99], 0
jne 0x5ad57b
mov dword [ebp - 0xb0], 7
xor ecx, ecx
mov dword [ebp - 0xac], 0xca00cd
mov dword [ebp - 0xa8], 0xc900df
mov dword [ebp - 0xa4], 0xd70092
mov dword [ebp - 0xa0], 0xbf00cd
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xac], ax
inc ecx
mov eax, dword [ebp - 0xb0]
cmp ecx, eax
jb 0x5ad500
xor ecx, ecx
mov word [ebp + eax*2 - 0xac], cx
lea ecx, [ebp - 0xac]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ad530
mov eax, dword [esi + 0x10]
sub ecx, edx
sar ecx, 1
cmp dword [esi + 0x14], 8
jb 0x5ad54a
mov esi, dword [esi]
cmp eax, ecx
jne 0x5ad56f
push eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5ad56f
mov byte [ebp - 0x99], 1
jmp 0x5ad9bc
mov byte [ebp - 0x99], 0
jmp 0x5ad9bc
xorps xmm0, xmm0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
call fcn.00404120
mov byte [ebp - 4], 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.00649d20
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.006480b0
mov byte [ebp - 4], 0xa
call fcn.00451010
lea esi, [edi + 0xb8]
mov ecx, eax
push esi
call fcn.0058a560
test al, al
je 0x5ad5e1
push 0
push 0x7cd378
mov ecx, esi
call fcn.004044f0
mov eax, 0x18
mov dword [ebp - 0x44], 0xcb00da
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0xcc00d5
mov dword [ebp - 0x3c], 0xd800cf
mov dword [ebp - 0x38], 0x9100cc
mov dword [ebp - 0x34], 0xb500b3
mov dword [ebp - 0x30], 0xb100a3
mov dword [ebp - 0x2c], 0xb000b0
mov dword [ebp - 0x28], 0xe900b6
mov dword [ebp - 0x24], 0xa600a0
mov dword [ebp - 0x20], 0xae00a7
mov dword [ebp - 0x1c], 0xac00bc
mov dword [ebp - 0x18], 0xaa00a9
mov dword [ebp - 0x14], 0xd0
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x44], ax
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x5ad650
xor ecx, ecx
mov dword [ebp - 0xa0], 7
mov word [ebp + eax*2 - 0x44], cx
xor eax, eax
mov dword [ebp - 0xa4], ecx
lea ecx, [ebp - 0x44]
mov word [ebp - 0xb4], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ad690
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb4]
call fcn.004044f0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x68]
call fcn.00648b80
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x98]
call fcn.00404120
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xe
call fcn.00404490
call fcn.00451010
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
je 0x5ad96b
xor eax, eax
mov dword [ebp - 0xbc], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
call fcn.004044f0
mov byte [ebp - 4], 0xf
mov eax, 0x18
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x44], 0xcb00da
mov dword [ebp - 0x40], 0xcc00d5
mov dword [ebp - 0x3c], 0xd800cf
mov dword [ebp - 0x38], 0x9100cc
mov dword [ebp - 0x34], 0xb500b3
mov dword [ebp - 0x30], 0xb100a3
mov dword [ebp - 0x2c], 0xb000b0
mov dword [ebp - 0x28], 0xe900b6
mov dword [ebp - 0x24], 0xa600a0
mov dword [ebp - 0x20], 0xae00a7
mov dword [ebp - 0x1c], 0xac00bc
mov dword [ebp - 0x18], 0xaa00a9
mov dword [ebp - 0x14], 0xd0
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x44], ax
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x5ad7a2
xor ecx, ecx
mov word [ebp + eax*2 - 0x44], cx
xor eax, eax
mov dword [ebp - 0xa4], ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xa0], 7
lea edx, [ecx + 2]
mov word [ebp - 0xb4], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ad7e0
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb4]
call fcn.004044f0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x68]
call fcn.00648f40
lea ecx, [ebp - 0xb4]
call fcn.00404490
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xe
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xa4], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.004044f0
mov byte [ebp - 4], 0x11
mov eax, 0x12
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov dword [ebp - 0x38], 0xcb00da
mov dword [ebp - 0x34], 0xcc00d5
mov dword [ebp - 0x30], 0xd800cf
mov dword [ebp - 0x2c], 0x9100cc
mov dword [ebp - 0x28], 0xa400ae
mov dword [ebp - 0x24], 0xb700b5
mov dword [ebp - 0x20], 0xa700a5
mov dword [ebp - 0x1c], 0xb200e8
mov dword [ebp - 0x18], 0xa500ba
mov dword [ebp - 0x14], 0xca
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x5ad8c0
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
xor eax, eax
mov dword [ebp - 0xbc], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0xb8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xcc], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ad900
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.004044f0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x68]
call fcn.00648f40
lea ecx, [ebp - 0xcc]
call fcn.00404490
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xe
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.006496b0
lea ecx, [ebp - 0x68]
call fcn.00649030
mov byte [ebp - 0x99], al
jmp 0x5ad972
mov byte [ebp - 0x99], 1
lea ecx, [ebp - 0x98]
call fcn.00404490
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x50]
mov esi, dword [ebp - 0x50]
push dword [esi + 4]
call fcn.006499a0
mov eax, dword [ebp - 0x50]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x50]
mov dword [eax], esi
mov eax, dword [ebp - 0x50]
mov dword [eax + 8], esi
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], 0
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.00404490
lea ecx, [ebp - 0x80]
call fcn.00404490
mov al, byte [ebp - 0x99]
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