Function at 0x64fd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b7acd
mov eax, dword fs:[0]
push eax
sub esp, 0x134
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 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 0x6504f5
push 3
push 0x7da4cc
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x6504f5
mov eax, 4
mov dword [ebp - 0x1c], 0xdc0096
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xde00c2
mov dword [ebp - 0x14], 0xbc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x64ff70
xor ecx, ecx
mov word [ebp + eax*2 - 0x1c], cx
lea eax, [ebp - 0x84]
push 0x7cd374
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], 0xd100db
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 0xd400c8
mov dword [ebp - 0x18], 0xd800d1
mov dword [ebp - 0x14], 0xbe
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x650060
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 0x650080
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 0x6503ac
push edx
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x6503ac
mov eax, 4
mov dword [ebp - 0x1c], 0xdc0096
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xde00c2
mov dword [ebp - 0x14], 0xbc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x6500e0
xor ecx, ecx
mov dword [ebp - 0xa8], 0xd
mov word [ebp + eax*2 - 0x1c], cx
mov dword [ebp - 0xa4], 0xf800e4
mov dword [ebp - 0xa0], 0xcb00ca
mov dword [ebp - 0x9c], 0xd400d0
mov dword [ebp - 0x98], 0xde00dd
mov dword [ebp - 0x94], 0xa800b4
mov dword [ebp - 0x90], 0xad00ad
mov dword [ebp - 0x8c], 0xc50098
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x650150
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 0x6501ee
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 0x6503a6
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0xdc0096
mov dword [ebp - 0x18], 0xde00c2
mov dword [ebp - 0x14], 0xbc
call fcn.00403e20
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x14
mov esi, eax
mov dword [ebp - 0xb4], 0xfa00e4
mov dword [ebp - 0xb0], 0xc900d2
mov dword [ebp - 0xac], 0xd000d3
mov dword [ebp - 0xa8], 0xe300db
mov dword [ebp - 0xa4], 0xb10081
mov dword [ebp - 0xa0], 0xaf00b2
mov dword [ebp - 0x9c], 0xa600ad
mov dword [ebp - 0x98], 0xb300a7
mov dword [ebp - 0x94], 0xa600a1
mov dword [ebp - 0x90], 0x9700a4
mov dword [ebp - 0x8c], 0xcc
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.00451090
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.00463910
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x18], 0
je 0x6504ac
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 0x650476
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x65046e
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 0x6504b3
mov byte [ebp - 4], 0x22
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x6504a2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x6504a2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x6504a2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00404490
jmp 0x650505
push edi
push esi
call fcn.00650890
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0x21
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x6504e5
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x6504e5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x6504e5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00404490
mov esi, dword [ebp - 0xbc]
jmp 0x650507
push edi
push dword [ebp - 0x14]
push esi
call fcn.00651250
mov esi, eax
test esi, esi
jne 0x650507
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.0076d59e
mov esp, ebp
pop ebp
ret 0xc