Function at 0x64d5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b89e7
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.00451b60
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x64d5f7
mov ecx, dword [eax]
cmp dword [ecx + 8], 2
je 0x64d5f3
add eax, 8
cmp eax, edx
jne 0x64d5e4
cmp eax, edx
jne 0x64d5fd
xor edx, edx
xor esi, esi
jmp 0x64d60d
mov esi, dword [eax + 4]
test esi, esi
je 0x64d60b
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 0x64d91a
mov dword [ebp - 0x98], 9
xor ecx, ecx
mov dword [ebp - 0x94], 0xda00f5
mov dword [ebp - 0x90], 0xc900d9
mov dword [ebp - 0x8c], 0xdd00cb
mov dword [ebp - 0x88], 0xda0081
mov dword [ebp - 0x84], 0xb200c2
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x94], ax
inc ecx
mov eax, dword [ebp - 0x98]
cmp ecx, eax
jb 0x64d660
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 0x64d912
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.0064aa50
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00648de0
mov byte [ebp - 4], 0xb
mov eax, 0x12
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x7c], 0xda00c8
mov dword [ebp - 0x78], 0x8200db
mov dword [ebp - 0x74], 0xde00d8
mov dword [ebp - 0x70], 0xd100cb
mov dword [ebp - 0x6c], 0xd700c5
mov dword [ebp - 0x68], 0xd1009d
mov dword [ebp - 0x64], 0xd700db
mov dword [ebp - 0x60], 0xd400d5
mov dword [ebp - 0x5c], 0xde00dc
mov dword [ebp - 0x58], 0xbb
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x64d7c2
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 0x64d800
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.00649b90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.00404490
mov dword [ebp - 0x78], 0xf
xor ecx, ecx
mov dword [ebp - 0x74], 0xda00c8
mov dword [ebp - 0x70], 0x8200db
mov dword [ebp - 0x6c], 0xde00d8
mov dword [ebp - 0x68], 0xd100cb
mov dword [ebp - 0x64], 0xd700c5
mov dword [ebp - 0x60], 0xd5009d
mov dword [ebp - 0x5c], 0xc200c0
mov dword [ebp - 0x58], 0xb800d8
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x74], ax
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x64d883
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 0x64d8c0
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.00649b90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.00404490
lea ecx, [ebp - 0x38]
call fcn.00649d60
lea ecx, [ebp - 0x38]
call fcn.00648d60
lea ecx, [ebp - 0x50]
call fcn.00404490
mov dword [ebp - 4], 0xe
test esi, esi
je 0x64d946
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x64d946
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x64d946
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.0076eb7e
mov esp, ebp
pop ebp
ret