Function at 0x100020b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1f8
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c4]
push 0x1a0
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, edx
shr ecx, 1
xor ecx, edx
and ecx, 0x55555555
mov edi, ecx
add ecx, ecx
xor edi, edx
xor ecx, edx
mov edx, eax
shr edx, 1
mov dword [ebp - 0x10], edi
xor edx, eax
and edx, 0x55555555
mov edi, edx
add edx, edx
xor edx, eax
xor edi, eax
mov dword [ebp - 0x18], edx
mov edx, dword [esi + 8]
mov ebx, edx
shr ebx, 1
xor ebx, edx
and ebx, 0x55555555
mov eax, ebx
add ebx, ebx
xor eax, edx
xor ebx, edx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
mov esi, edx
shr esi, 1
xor esi, edx
and esi, 0x55555555
mov eax, esi
add esi, esi
xor eax, edx
xor esi, edx
mov edx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
shl edx, 2
xor edx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov edx, ecx
shr edx, 2
xor edx, edi
and edx, 0x33333333
xor edi, edx
shl edx, 2
xor edx, ecx
mov ecx, ebx
mov dword [ebp - 0x24], edi
mov edi, esi
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor edi, ecx
shl ecx, 2
xor ecx, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov esi, ecx
shr esi, 2
xor esi, eax
and esi, 0x33333333
xor eax, esi
shl esi, 2
xor esi, ecx
mov ecx, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor ecx, edx
mov edx, eax
shr edx, 4
xor edx, edi
and edx, 0xf0f0f0f
xor edi, edx
shl edx, 4
xor edx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov ebx, eax
shr ebx, 4
xor ebx, dword [ebp - 0x14]
and ebx, 0xf0f0f0f
mov edi, ebx
xor ebx, dword [ebp - 0x14]
shl edi, 4
xor edi, eax
mov eax, dword [ebp - 0x1c]
shr eax, 4
xor eax, dword [ebp - 0x10]
and eax, 0xf0f0f0f
xor dword [ebp - 0x10], eax
shl eax, 4
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x1f8], edi
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1f0], esi
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1e8], ebx
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov ebx, eax
mov eax, esi
mov edi, ecx
shr eax, 1
shr edi, 1
xor eax, esi
xor edi, ecx
and eax, 0x55555555
and edi, 0x55555555
mov edx, eax
add eax, eax
xor edx, esi
xor eax, esi
mov esi, ebx
mov dword [ebp - 0x10], edx
mov edx, edi
add edi, edi
mov esi, dword [esi + 0x1c]
xor edx, ecx
xor edi, ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x18], edx
mov ebx, ecx
shr ebx, 1
xor ebx, ecx
and ebx, 0x55555555
mov edx, ebx
add ebx, ebx
xor edx, ecx
xor ebx, ecx
mov dword [ebp - 0x20], edx
mov edx, esi
shr edx, 1
xor edx, esi
and edx, 0x55555555
mov ecx, edx
add edx, edx
xor ecx, esi
xor edx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x10]
shr ecx, 2
xor ecx, edi
and ecx, 0x33333333
xor edi, ecx
shl ecx, 2
xor ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov ecx, edx
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
shl ecx, 2
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x1c]
xor ecx, edx
mov edx, ebx
shr edx, 2
xor edx, esi
and edx, 0x33333333
xor esi, edx
shl edx, 2
xor edx, ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov edx, ebx
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
shl edx, 2
xor edx, ebx
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov eax, esi
shr ebx, 4
xor ebx, edx
and ebx, 0xf0f0f0f
xor edx, ebx
shl ebx, 4
xor ebx, ecx
mov ecx, edi
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor eax, ecx
shl ecx, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
xor ecx, edi
mov edi, eax
shr edi, 4
xor edi, dword [ebp - 0x14]
and edi, 0xf0f0f0f
mov esi, edi
xor edi, dword [ebp - 0x14]
shl esi, 4
xor esi, eax
mov eax, dword [ebp - 0x24]
shr eax, 4
xor eax, dword [ebp - 0x10]
and eax, 0xf0f0f0f
xor dword [ebp - 0x10], eax
shl eax, 4
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d8], esi
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], edi
lea edi, [ebp - 0x204]
mov edx, 8
mov ecx, edi
call fcn.10004300
lea ecx, [ebp - 0x1c4]
call fcn.10003e10
movq xmm0, qword [ebp - 0x1c4]
movq xmm1, qword [ebp - 0x1b0]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x10
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x1c4], xmm0
movq qword [ebp - 0x1b0], xmm1
xor byte [ebp - 0x1c3], 0xc0
push 0xe
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x10
call fcn.10004300
lea ecx, [ebp - 0x1a4]
call fcn.10003e10
movq xmm0, qword [ebp - 0x1a4]
movq xmm1, qword [ebp - 0x190]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x18
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x1a4], xmm0
movq qword [ebp - 0x190], xmm1
push 6
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x18
call fcn.10004300
lea ecx, [ebp - 0x184]
call fcn.10003e10
movq xmm0, qword [ebp - 0x184]
movq xmm1, qword [ebp - 0x170]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x20
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x184], xmm0
movq qword [ebp - 0x170], xmm1
xor byte [ebp - 0x17f], 0xc0
push 0xe
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x20
call fcn.10004300
lea ecx, [ebp - 0x164]
call fcn.10003e10
movq xmm0, qword [ebp - 0x164]
movq xmm1, qword [ebp - 0x150]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x28
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x164], xmm0
movq qword [ebp - 0x150], xmm1
push 6
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x28
call fcn.10004300
lea ecx, [ebp - 0x144]
call fcn.10003e10
movq xmm0, qword [ebp - 0x144]
movq xmm1, qword [ebp - 0x130]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x30
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x144], xmm0
movq qword [ebp - 0x130], xmm1
xor byte [ebp - 0x13b], 0xc0
push 0xe
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x30
call fcn.10004300
lea ecx, [ebp - 0x124]
call fcn.10003e10
movq xmm0, qword [ebp - 0x124]
movq xmm1, qword [ebp - 0x110]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x38
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x124], xmm0
movq qword [ebp - 0x110], xmm1
push 6
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x38
call fcn.10004300
lea ecx, [ebp - 0x104]
call fcn.10003e10
movq xmm0, qword [ebp - 0x104]
movq xmm1, qword [ebp - 0xf0]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x40
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x104], xmm0
movq qword [ebp - 0xf0], xmm1
xor byte [ebp - 0xf7], 0xc0
push 0xe
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x40
call fcn.10004300
lea ecx, [ebp - 0xe4]
call fcn.10003e10
movq xmm0, qword [ebp - 0xe4]
movq xmm1, qword [ebp - 0xd0]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x48
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0xe4], xmm0
movq qword [ebp - 0xd0], xmm1
push 6
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x48
call fcn.10004300
lea ecx, [ebp - 0xc4]
call fcn.10003e10
movq xmm0, qword [ebp - 0xc4]
movq xmm1, qword [ebp - 0xb0]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x50
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0xc4], xmm0
movq qword [ebp - 0xb0], xmm1
xor byte [ebp - 0xb3], 0xc0
push 0xe
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x50
call fcn.10004300
lea ecx, [ebp - 0xa4]
call fcn.10003e10
movq xmm0, qword [ebp - 0xa4]
movq xmm1, qword [ebp - 0x90]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x58
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0xa4], xmm0
movq qword [ebp - 0x90], xmm1
push 6
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x58
call fcn.10004300
lea ecx, [ebp - 0x84]
call fcn.10003e10
movq xmm0, qword [ebp - 0x84]
movq xmm1, qword [ebp - 0x70]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x60
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x84], xmm0
movq qword [ebp - 0x70], xmm1
xor byte [ebp - 0x6f], 0xc0
push 0xe
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x60
call fcn.10004300
lea ecx, [ebp - 0x64]
call fcn.10003e10
movq xmm0, qword [ebp - 0x64]
movq xmm1, qword [ebp - 0x50]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x68
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x64], xmm0
movq qword [ebp - 0x50], xmm1
push 6
call fcn.10004050
add esp, 4
mov ecx, edi
mov edx, 0x68
call fcn.10004300
lea ecx, [ebp - 0x44]
call fcn.10003e10
movq xmm0, qword [ebp - 0x44]
movq xmm1, qword [ebp - 0x30]
pcmpeqd xmm2, xmm2
mov ecx, edi
mov edx, 0x70
pxor xmm0, xmm2
pxor xmm1, xmm2
movq qword [ebp - 0x44], xmm0
movq qword [ebp - 0x30], xmm1
xor byte [ebp - 0x2b], 0xc0
push 0xe
call fcn.10004050
add esp, 4
movdqa xmm0, xmmword [0x102bd070]
movdqa xmm1, xmmword [0x102bd080]
movdqa xmm2, xmmword [0x102bd090]
movdqa xmm3, xmmword [0x102bd0a0]
mov eax, 0xfffffe80
nop word cs:[eax + eax]
movdqu xmm6, xmmword [ebp + eax - 0x64]
movdqu xmm4, xmmword [ebp + eax - 0x54]
movdqa xmm7, xmm6
psrld xmm7, 4
pxor xmm7, xmm6
pand xmm7, xmm0
movdqa xmm5, xmm7
pslld xmm5, 4
por xmm5, xmm7
pxor xmm5, xmm6
movdqa xmm6, xmm5
psrld xmm6, 2
pxor xmm6, xmm5
pand xmm6, xmm1
movdqa xmm7, xmm6
pslld xmm7, 2
por xmm7, xmm6
movdqa xmm6, xmm4
psrld xmm6, 4
pxor xmm7, xmm5
pxor xmm6, xmm4
movdqu xmmword [ebp + eax - 0x64], xmm7
pand xmm6, xmm0
movdqa xmm5, xmm6
pslld xmm5, 4
por xmm5, xmm6
pxor xmm5, xmm4
movdqa xmm4, xmm5
psrld xmm4, 2
pxor xmm4, xmm5
pand xmm4, xmm1
movdqa xmm6, xmm4
pslld xmm6, 2
por xmm6, xmm4
pxor xmm6, xmm5
movdqu xmmword [ebp + eax - 0x54], xmm6
movdqu xmm4, xmmword [ebp + eax - 0x44]
movdqa xmm5, xmm4
psrld xmm5, 4
pxor xmm5, xmm4
pand xmm5, xmm2
movdqa xmm6, xmm5
pslld xmm6, 4
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [ebp + eax - 0x44], xmm6
movdqu xmm4, xmmword [ebp + eax - 0x34]
movdqa xmm5, xmm4
psrld xmm5, 4
pxor xmm5, xmm4
pand xmm5, xmm2
movdqa xmm6, xmm5
pslld xmm6, 4
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [ebp + eax - 0x34], xmm6
movdqu xmm5, xmmword [ebp + eax - 0x24]
movdqa xmm6, xmm5
psrld xmm6, 4
pxor xmm6, xmm5
pand xmm6, xmm3
movdqa xmm4, xmm6
pslld xmm4, 4
por xmm4, xmm6
pxor xmm4, xmm5
movdqa xmm5, xmm4
psrld xmm5, 2
pxor xmm5, xmm4
pand xmm5, xmm1
movdqa xmm6, xmm5
pslld xmm6, 2
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [ebp + eax - 0x24], xmm6
movdqu xmm5, xmmword [ebp + eax - 0x14]
movdqa xmm6, xmm5
psrld xmm6, 4
pxor xmm6, xmm5
pand xmm6, xmm3
movdqa xmm4, xmm6
pslld xmm4, 4
por xmm4, xmm6
pxor xmm4, xmm5
movdqa xmm5, xmm4
psrld xmm5, 2
pxor xmm5, xmm4
pand xmm5, xmm1
movdqa xmm6, xmm5
pslld xmm6, 2
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [ebp + eax - 0x14], xmm6
sub eax, 0xffffff80
jne 0x10002830
movq xmm1, qword [ebp - 0x5c]
movdqa xmm0, xmmword [0x102bd0b0]
movdqa xmm3, xmm1
psrld xmm3, 4
pxor xmm3, xmm1
pand xmm3, xmm0
movdqa xmm2, xmm3
pslld xmm2, 4
por xmm2, xmm3
pxor xmm2, xmm1
movdqa xmm1, xmmword [0x102bd0c0]
movdqa xmm3, xmm2
psrld xmm3, 2
pxor xmm3, xmm2
pand xmm3, xmm1
movdqa xmm4, xmm3
pslld xmm4, 2
por xmm4, xmm3
pxor xmm4, xmm2
pcmpeqd xmm2, xmm2
movq qword [ebp - 0x5c], xmm4
mov ecx, dword [ebp - 0x54]
mov edx, ecx
shr edx, 4
xor edx, ecx
and edx, 0x30f0c00
mov eax, edx
shl eax, 4
or eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0x33003300
lea ecx, [ecx + ecx*4]
xor ecx, eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x48]
mov edx, ecx
shr edx, 4
xor edx, ecx
and edx, 0x30f0c00
mov eax, edx
shl eax, 4
or eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0x33003300
lea ecx, [ecx + ecx*4]
xor ecx, eax
mov dword [ebp - 0x48], ecx
movq xmm3, qword [ebp - 0x1e4]
movq xmm4, qword [ebp - 0x1d0]
pxor xmm3, xmm2
pxor xmm4, xmm2
movq qword [ebp - 0x1e4], xmm3
movq qword [ebp - 0x1d0], xmm4
movq xmm3, qword [ebp - 0x1c4]
pxor xmm3, xmm2
movq qword [ebp - 0x1c4], xmm3
movq xmm3, qword [ebp - 0x1b0]
pxor xmm3, xmm2
movq qword [ebp - 0x1b0], xmm3
movq xmm3, qword [ebp - 0x1a4]
pxor xmm3, xmm2
movq qword [ebp - 0x1a4], xmm3
movq xmm3, qword [ebp - 0x190]
pxor xmm3, xmm2
movq qword [ebp - 0x190], xmm3
movq xmm3, qword [ebp - 0x184]
pxor xmm3, xmm2
movq qword [ebp - 0x184], xmm3
movq xmm3, qword [ebp - 0x170]
pxor xmm3, xmm2
movq qword [ebp - 0x170], xmm3
movq xmm3, qword [ebp - 0x164]
pxor xmm3, xmm2
movq qword [ebp - 0x164], xmm3
movq xmm3, qword [ebp - 0x150]
pxor xmm3, xmm2
movq qword [ebp - 0x150], xmm3
movq xmm3, qword [ebp - 0x144]
pxor xmm3, xmm2
movq qword [ebp - 0x144], xmm3
movq xmm3, qword [ebp - 0x130]
pxor xmm3, xmm2
movq qword [ebp - 0x130], xmm3
movq xmm3, qword [ebp - 0x124]
pxor xmm3, xmm2
movq qword [ebp - 0x124], xmm3
movq xmm3, qword [ebp - 0x110]
pxor xmm3, xmm2
movq qword [ebp - 0x110], xmm3
movq xmm3, qword [ebp - 0x104]
pxor xmm3, xmm2
movq qword [ebp - 0x104], xmm3
movq xmm3, qword [ebp - 0xf0]
pxor xmm3, xmm2
movq qword [ebp - 0xf0], xmm3
movq xmm3, qword [ebp - 0xe4]
pxor xmm3, xmm2
movq qword [ebp - 0xe4], xmm3
movq xmm3, qword [ebp - 0xd0]
pxor xmm3, xmm2
movq qword [ebp - 0xd0], xmm3
movq xmm3, qword [ebp - 0xc4]
pxor xmm3, xmm2
movq qword [ebp - 0xc4], xmm3
movq xmm3, qword [ebp - 0xb0]
pxor xmm3, xmm2
movq qword [ebp - 0xb0], xmm3
movq xmm3, qword [ebp - 0xa4]
pxor xmm3, xmm2
movq qword [ebp - 0xa4], xmm3
movq xmm3, qword [ebp - 0x90]
pxor xmm3, xmm2
movq qword [ebp - 0x90], xmm3
movq xmm3, qword [ebp - 0x84]
pxor xmm3, xmm2
movq qword [ebp - 0x84], xmm3
movq xmm3, qword [ebp - 0x70]
pxor xmm3, xmm2
movq qword [ebp - 0x70], xmm3
movq xmm4, qword [ebp - 0x64]
movdqa xmm5, xmm4
psrld xmm5, 4
pxor xmm5, xmm4
pand xmm5, xmm0
movdqa xmm3, xmm5
pslld xmm3, 4
por xmm3, xmm5
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 2
pxor xmm4, xmm3
pxor xmm3, xmm2
pand xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm5, 2
por xmm5, xmm4
pxor xmm3, xmm5
movq qword [ebp - 0x64], xmm3
movq xmm3, qword [ebp - 0x50]
movdqa xmm4, xmm3
psrld xmm4, 4
pxor xmm4, xmm3
pand xmm4, xmm0
movdqa xmm0, xmm4
pslld xmm0, 4
por xmm0, xmm4
pxor xmm0, xmm3
movdqa xmm3, xmm0
psrld xmm3, 2
pxor xmm3, xmm0
pxor xmm0, xmm2
pand xmm3, xmm1
movdqa xmm1, xmm3
pslld xmm1, 2
por xmm1, xmm3
pxor xmm0, xmm1
movq qword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x44]
pxor xmm0, xmm2
movq qword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x30]
pxor xmm0, xmm2
movq qword [ebp - 0x30], xmm0
push 0x1e0
push edi
mov esi, dword [ebp + 8]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
add esp, 0x1f8
pop esi
pop edi
pop ebx
pop ebp
ret