Function at 0x650ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b91fd
mov eax, dword fs:[0]
push eax
sub esp, 0x134
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
push esi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00403b80
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xac]
call fcn.00403720
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.00404120
lea ecx, [ebp - 0xe0]
call fcn.00404220
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x94]
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
push esi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
call fcn.00403b80
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xac]
call fcn.00403540
lea ecx, [ebp - 0x94]
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
push esi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xc
call fcn.00403b80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00403460
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xf
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x5c], 3
jne 0x651235
push 3
push 0x7dc514
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x651235
mov eax, 4
mov dword [ebp - 0x1c], 0xcf0087
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xc900d3
mov dword [ebp - 0x14], 0xad
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x650cb0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1c], cx
lea eax, [ebp - 0x84]
push 0x7cf384
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
push dword [ebp - 0x44]
cmovae ecx, dword [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0xc4], 0
xor ecx, ecx
mov dword [ebp - 0xc0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xd4]
call fcn.00404490
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x14
call fcn.00404490
mov eax, 6
mov dword [ebp - 0x20], 0xc200ca
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 0xc300d9
mov dword [ebp - 0x18], 0xcb00c0
mov dword [ebp - 0x14], 0xaf
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x650da0
xor ecx, ecx
mov word [ebp + eax*2 - 0x20], cx
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x650dc0
sub ecx, edx
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x44]
sar ecx, 1
cmp dword [ebp - 0x40], 8
cmovae eax, dword [ebp - 0x54]
cmp edx, ecx
jne 0x6510ec
push edx
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x6510ec
mov eax, 4
mov dword [ebp - 0x1c], 0xcf0087
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xc900d3
mov dword [ebp - 0x14], 0xad
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x650e20
xor ecx, ecx
mov dword [ebp - 0xa8], 0xd
mov word [ebp + eax*2 - 0x1c], cx
mov dword [ebp - 0xa4], 0xeb00f5
mov dword [ebp - 0xa0], 0xdc00db
mov dword [ebp - 0x9c], 0xc700c1
mov dword [ebp - 0x98], 0xd100cc
mov dword [ebp - 0x94], 0xdb00c5
mov dword [ebp - 0x90], 0xda00dc
mov dword [ebp - 0x8c], 0xb600e9
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x650e90
xor ecx, ecx
mov word [ebp + eax*2 - 0xa4], cx
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00421b40
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
push ecx
mov edx, eax
lea ecx, [ebp - 0x128]
call fcn.00413520
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00408060
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x3c]
cmp eax, esi
je 0x650f2e
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x2c], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x110]
call fcn.00404490
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0xec]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0xac]
call fcn.00403b80
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x19
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x14
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
cmp byte [ebp - 0x85], 0
jne 0x6510e6
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0xcf0087
mov dword [ebp - 0x18], 0xc900d3
mov dword [ebp - 0x14], 0xad
call fcn.00403e20
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x14
mov esi, eax
mov dword [ebp - 0xb4], 0xe900f5
mov dword [ebp - 0xb0], 0xde00c3
mov dword [ebp - 0xac], 0xc300c2
mov dword [ebp - 0xa8], 0xec00ca
mov dword [ebp - 0xa4], 0xc200f0
mov dword [ebp - 0xa0], 0xd800c3
mov dword [ebp - 0x9c], 0xd500dc
mov dword [ebp - 0x98], 0xcc00d6
mov dword [ebp - 0x94], 0xd500d0
mov dword [ebp - 0x90], 0xe000d5
mov dword [ebp - 0x8c], 0xbd
call fcn.00403e20
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00421b40
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
push ecx
mov edx, eax
lea ecx, [ebp - 0x128]
call fcn.00413520
push esi
push eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00408060
add esp, 0x1c
lea ecx, [ebp - 0x3c]
push eax
call fcn.00404030
lea ecx, [ebp - 0xec]
call fcn.00404490
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x14
call fcn.00404490
mov esi, dword [ebp - 0xbc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.00451b60
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00464620
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x18], 0
je 0x6511ec
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0xac]
call fcn.00403b80
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1c
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
cmp byte [ebp - 0x85], 0
je 0x6511b6
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x6511ae
cmp dword [ebp - 0x28], 8
mov ecx, edi
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.004044f0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
jmp 0x6511f3
mov byte [ebp - 4], 0x22
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x6511e2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x6511e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x6511e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00404490
jmp 0x651245
push edi
push esi
call fcn.006515d0
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0x21
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x651225
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x651225
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x651225
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00404490
mov esi, dword [ebp - 0xbc]
jmp 0x651247
push edi
push dword [ebp - 0x14]
push esi
call fcn.00651f90
mov esi, eax
test esi, esi
jne 0x651247
xor esi, esi
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x84]
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 0xc