Function at 0x64c4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b7226
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
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
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
call fcn.00451090
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x64c519
mov ecx, dword [eax]
cmp dword [ecx + 8], 2
je 0x64c515
add eax, 8
cmp eax, edx
jne 0x64c506
cmp eax, edx
jne 0x64c51f
xor edx, edx
xor esi, esi
jmp 0x64c52f
mov esi, dword [eax + 4]
test esi, esi
je 0x64c52d
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x64c814
mov dword [ebp - 0x70], 9
xor ecx, ecx
mov dword [ebp - 0x6c], 0xc900e4
mov dword [ebp - 0x68], 0xde00c8
mov dword [ebp - 0x64], 0xce00da
mov dword [ebp - 0x60], 0xd50090
mov dword [ebp - 0x5c], 0xc100b3
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x64c570
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
lea eax, [edx + 0x84]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00404120
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403b80
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x55], al
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00404220
lea ecx, [ebp - 0x7c]
call fcn.00404490
cmp byte [ebp - 0x55], 0
je 0x64c80c
xorps xmm0, xmm0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00404120
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00649d20
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.006480b0
mov byte [ebp - 4], 0xb
mov eax, 0x12
mov dword [ebp - 0xb0], eax
xor ecx, ecx
mov dword [ebp - 0xac], 0xc900d9
mov dword [ebp - 0xa8], 0x9500ca
mov dword [ebp - 0xa4], 0xcd00c9
mov dword [ebp - 0xa0], 0xde00da
mov dword [ebp - 0x9c], 0xa400b4
mov dword [ebp - 0x98], 0xa600ec
mov dword [ebp - 0x94], 0xa400aa
mov dword [ebp - 0x90], 0xab00a4
mov dword [ebp - 0x8c], 0xad00ad
mov dword [ebp - 0x88], 0xca
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xac], ax
inc ecx
mov eax, dword [ebp - 0xb0]
cmp ecx, eax
jb 0x64c6e0
xor ecx, ecx
mov dword [ebp - 0x5c], 7
mov word [ebp + eax*2 - 0xac], cx
xor eax, eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0xac]
mov word [ebp - 0x70], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64c720
sub ecx, edx
lea eax, [ebp - 0xac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00649830
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
cmp eax, dword [ebp - 0x24]
setne byte [ebp - 0x55]
call fcn.00404490
cmp byte [ebp - 0x55], 0
je 0x64c804
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0x12
mov dword [ebp - 0x80], 0xc900d9
mov dword [ebp - 0x7c], 0x9500ca
mov dword [ebp - 0x78], 0xcd00c9
mov dword [ebp - 0x74], 0xde00da
mov dword [ebp - 0x70], 0xa400b4
mov dword [ebp - 0x6c], 0xa600ec
mov dword [ebp - 0x68], 0xa400aa
mov dword [ebp - 0x64], 0xab00a4
mov dword [ebp - 0x60], 0xad00ad
mov dword [ebp - 0x5c], 0xca
call fcn.00403e20
push eax
lea ecx, [ebp - 0x9c]
call fcn.004040b0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x3c]
call fcn.00648e10
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x55], al
call fcn.00404490
cmp byte [ebp - 0x55], 0
jne 0x64c804
mov byte [edi + 0xc], 1
lea ecx, [ebp - 0x3c]
call fcn.00648030
lea ecx, [ebp - 0x54]
call fcn.00404490
mov dword [ebp - 4], 0xd
test esi, esi
je 0x64c840
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x64c840
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x64c840
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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