Function at 0x646210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b6830
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
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
mov dword [ebp - 0x1a8], edi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], esi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00403b80
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00404220
lea ecx, [ebp - 0x70]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0
movups xmmword [ebp - 0xa0], xmm0
movq qword [ebp - 0x90], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 6
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x18c]
call fcn.00773690
push 1
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00774de0
test al, al
jne 0x646366
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x646b9f
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0xd0d9d8da
mov eax, 0xa
movq qword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x19c], eax
xor ecx, ecx
mov dword [ebp - 0x194], 0xcad1cfdb
mov dword [ebp - 0x190], 0xc2a5ae
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x198], al
inc ecx
mov eax, dword [ebp - 0x19c]
cmp ecx, eax
jb 0x6463a3
mov byte [ebp + eax - 0x198], 0
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x198]
push eax
call fcn.00771500
push eax
lea ecx, [ebp - 0xb8]
call fcn.00770aa0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.00772ad0
test al, al
je 0x64660d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xd2c8dacb
mov dword [ebp - 0x14], 0xbfcdc9cc
call fcn.004131e0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00772a60
lea ecx, [ebp - 0x1c]
test al, al
je 0x646548
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 7
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x18], 0xd2c8dacb
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x14], 0xbfcdc9cc
call fcn.004131e0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00771500
push eax
lea ecx, [ebp - 0x64]
call fcn.00770aa0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.007728f0
test al, al
je 0x646537
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
xor esi, esi
call fcn.00773590
test eax, eax
je 0x6464f0
nop
push esi
lea ecx, [ebp - 0x64]
call fcn.007713b0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.007721f0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00406920
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.00404490
lea ecx, [ebp - 0x64]
inc esi
call fcn.00773590
cmp esi, eax
jb 0x6464b0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x64652f
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00646f20
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048f0c0
lea ecx, [ebp - 0x7c]
call fcn.00404220
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call fcn.00639b10
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.007711e0
jmp 0x64660d
xor eax, eax
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0xdeddd8c8
mov byte [ebp - 0x14], 0xbc
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00772a60
test al, al
je 0x64660d
xor eax, eax
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0xdeddd8c8
mov byte [ebp - 0x14], 0xbc
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00771500
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.007721f0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov ecx, edi
push eax
movq qword [ebp - 0x7c], xmm0
call fcn.00646bf0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
cmp eax, ecx
je 0x6465f9
push dword [ebp - 0x1a4]
push ecx
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
call fcn.00639b10
lea ecx, [ebp - 0x7c]
call fcn.00404220
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00404490
xorps xmm0, xmm0
mov eax, 0xe
movups xmmword [ebp - 0x100], xmm0
xor ecx, ecx
mov dword [ebp - 0x24], eax
movq qword [ebp - 0xf0], xmm0
movaps xmm0, xmmword [0x7e35f0]
movups xmmword [ebp - 0x20], xmm0
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x20], al
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x646634
mov byte [ebp + eax - 0x20], 0
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x20]
push eax
call fcn.00771500
push eax
lea ecx, [ebp - 0x100]
call fcn.00770aa0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xe
call fcn.00772ad0
test al, al
je 0x646769
movaps xmm0, xmmword [0x7e3480]
mov eax, 0xd
mov dword [ebp - 0x1a0], eax
xor ecx, ecx
movups xmmword [ebp - 0x19c], xmm0
nop word [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x19c], al
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x6466a0
mov byte [ebp + eax - 0x19c], 0
lea ecx, [ebp - 0x100]
lea eax, [ebp - 0x19c]
push eax
call fcn.00772a60
test al, al
je 0x646769
movaps xmm0, xmmword [0x7e3480]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], 0xd
movups xmmword [ebp - 0x19c], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x100]
call fcn.00771500
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.007721f0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov ecx, edi
push eax
movq qword [ebp - 0x7c], xmm0
call fcn.00646bf0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
cmp eax, ecx
je 0x646755
push dword [ebp - 0x1a4]
push ecx
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
call fcn.00639b10
lea ecx, [ebp - 0x7c]
call fcn.00404220
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0xf
movups xmmword [ebp - 0xe8], xmm0
xor ecx, ecx
movq qword [ebp - 0xd8], xmm0
movaps xmm0, xmmword [0x7e3eb0]
movups xmmword [ebp - 0x19c], xmm0
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x19c], al
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x646795
mov byte [ebp + eax - 0x19c], 0
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x19c]
push eax
call fcn.00771500
push eax
lea ecx, [ebp - 0xe8]
call fcn.00770aa0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x11
call fcn.007728f0
test al, al
je 0x64698e
lea ecx, [ebp - 0xe8]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x646988
nop dword [eax]
xorps xmm0, xmm0
lea ecx, [ebp - 0xe8]
push edi
movups xmmword [ebp - 0x64], xmm0
movq qword [ebp - 0x54], xmm0
call fcn.007713b0
push 0x7da3e8
mov ecx, eax
call fcn.00771500
push eax
lea ecx, [ebp - 0x64]
call fcn.00770aa0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.007728f0
test al, al
je 0x646968
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
xor esi, esi
call fcn.00773590
test eax, eax
je 0x6468f1
push esi
lea ecx, [ebp - 0x64]
call fcn.007713b0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], ecx
je 0x6468ce
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x3c], 0x18
jmp 0x6468d8
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.004081e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00404490
lea ecx, [ebp - 0x64]
inc esi
call fcn.00773590
cmp esi, eax
jb 0x646877
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x646960
mov ecx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00646f20
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x646941
mov ecx, eax
call fcn.00404220
mov ecx, dword [esi]
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x7c]
call fcn.00404220
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x30]
call fcn.00639b10
lea ecx, [ebp - 0x40]
call fcn.00404220
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.007711e0
lea ecx, [ebp - 0xe8]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x646800
mov edi, dword [ebp - 0x1a8]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0xbea5baad
movups xmmword [ebp - 0xd0], xmm0
xor ecx, ecx
mov eax, 0x18
movq qword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x7e3ca0]
mov dword [ebp - 0x6c], eax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0xbcabaebe
mov byte [ebp - 0x50], 0xd0
mov word [ebp - 0x4f], cx
mov byte [ebp - 0x4d], cl
nop
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x68], al
inc ecx
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jb 0x6469d0
mov byte [ebp + eax - 0x68], 0
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x68]
push eax
call fcn.00771500
push eax
lea ecx, [ebp - 0xd0]
call fcn.00770aa0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x15
call fcn.007728f0
test al, al
je 0x646b47
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x16
xor esi, esi
call fcn.00773590
test eax, eax
je 0x646ad4
push esi
lea ecx, [ebp - 0xd0]
call fcn.007713b0
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x44], ecx
je 0x646aae
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x48], 0x18
jmp 0x646ab8
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004081e0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x16
call fcn.00404490
lea ecx, [ebp - 0xd0]
inc esi
call fcn.00773590
cmp esi, eax
jb 0x646a54
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
je 0x646b3f
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00646f20
mov esi, eax
lea eax, [ebp - 0x4c]
cmp eax, esi
je 0x646b20
mov ecx, eax
call fcn.00404220
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x44], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x7c]
call fcn.00404220
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x30]
call fcn.00639b10
lea ecx, [ebp - 0x4c]
call fcn.00404220
mov esi, dword [ebp - 0x1ac]
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.007711e0
lea ecx, [ebp - 0xe8]
call fcn.007711e0
lea ecx, [ebp - 0x100]
call fcn.007711e0
lea ecx, [ebp - 0xb8]
call fcn.007711e0
lea ecx, [ebp - 0x18c]
call fcn.00430850
lea ecx, [ebp - 0xa0]
call fcn.007711e0
lea ecx, [ebp - 0x118]
call fcn.00407a10
lea ecx, [ebp - 0x34]
call fcn.00404220
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 8