Function at 0x64c860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b72b7
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.00451090
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x64c8b7
mov ecx, dword [eax]
cmp dword [ecx + 8], 2
je 0x64c8b3
add eax, 8
cmp eax, edx
jne 0x64c8a4
cmp eax, edx
jne 0x64c8bd
xor edx, edx
xor esi, esi
jmp 0x64c8cd
mov esi, dword [eax + 4]
test esi, esi
je 0x64c8cb
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x64cbda
mov dword [ebp - 0x98], 9
xor ecx, ecx
mov dword [ebp - 0x94], 0xc900e4
mov dword [ebp - 0x90], 0xde00c8
mov dword [ebp - 0x8c], 0xce00da
mov dword [ebp - 0x88], 0xd50090
mov dword [ebp - 0x84], 0xc100b3
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x94], ax
inc ecx
mov eax, dword [ebp - 0x98]
cmp ecx, eax
jb 0x64c920
xor ecx, ecx
mov word [ebp + eax*2 - 0x94], cx
lea eax, [edx + 0x84]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00404120
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x6c]
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 - 0x50]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403b80
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x51], al
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.00404220
lea ecx, [ebp - 0xa4]
call fcn.00404490
cmp byte [ebp - 0x51], 0
je 0x64cbd2
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.00404120
mov byte [ebp - 4], 9
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00649d20
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.006480b0
mov byte [ebp - 4], 0xb
mov eax, 0x12
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x7c], 0xc900d9
mov dword [ebp - 0x78], 0x9500ca
mov dword [ebp - 0x74], 0xcd00c9
mov dword [ebp - 0x70], 0xde00da
mov dword [ebp - 0x6c], 0xa400b4
mov dword [ebp - 0x68], 0xa600ec
mov dword [ebp - 0x64], 0xa400aa
mov dword [ebp - 0x60], 0xab00a4
mov dword [ebp - 0x5c], 0xad00ad
mov dword [ebp - 0x58], 0xca
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x64ca82
xor ecx, ecx
mov word [ebp + eax*2 - 0x7c], cx
xor eax, eax
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x84], 7
lea edx, [ecx + 2]
mov word [ebp - 0x98], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64cac0
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004044f0
push ecx
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x38]
call fcn.00648e60
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.00404490
mov dword [ebp - 0x78], 0xf
xor ecx, ecx
mov dword [ebp - 0x74], 0xc900d9
mov dword [ebp - 0x70], 0x9500ca
mov dword [ebp - 0x6c], 0xcd00c9
mov dword [ebp - 0x68], 0xde00da
mov dword [ebp - 0x64], 0xa400b4
mov dword [ebp - 0x60], 0xa200ec
mov dword [ebp - 0x5c], 0xb100b1
mov dword [ebp - 0x58], 0xc700a9
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x74], ax
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x64cb43
xor ecx, ecx
mov word [ebp + eax*2 - 0x74], cx
xor eax, eax
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x84], 7
lea edx, [ecx + 2]
mov word [ebp - 0x98], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64cb80
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004044f0
push ecx
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x38]
call fcn.00648e60
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.00404490
lea ecx, [ebp - 0x38]
call fcn.00649030
lea ecx, [ebp - 0x38]
call fcn.00648030
lea ecx, [ebp - 0x50]
call fcn.00404490
mov dword [ebp - 4], 0xe
test esi, esi
je 0x64cc06
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x64cc06
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x64cc06
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