Function at 0x485dc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8250f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
movups xmm0, xmmword [str.OPTYNP_n_._D]
mov ax, word [0x9035f8]
xor esi, esi
mov edi, dword [0x1816094]
mov word [ebp - 0x9c], ax
movups xmmword [ebp - 0xb4], xmm0
lea eax, [esi + 4]
movq xmm0, qword [0x9035f0]
lea ecx, [esi + 0x1f]
movq qword [ebp - 0xa4], xmm0
cmp edi, 2
jl 0x485f40
movaps xmm2, xmmword [0x9036b0]
mov esi, 8
movaps xmm4, xmmword [0x903740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, str.OPTYNP_n_._D
psrad xmm1, xmm5
movd xmm6, ecx
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9036c0]
paddd xmm2, xmmword [0x9036b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x903710]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0xb4], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0xac]
paddw xmm1, xmmword [0x903710]
pxor xmm1, xmm0
movq qword [ebp - 0xac], xmm1
nop word [eax + eax]
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, 0x38
xor word [ebp + esi*2 - 0xb4], cx
inc esi
cmp esi, 0xd
jl 0x485f40
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x48648b
mov ecx, dword [0x9035d8]
xor edx, edx
mov dword [ebp - 0x50], ecx
mov cl, byte [0x9035dc]
mov byte [ebp - 0x4c], cl
mov dword [ebp - 0x24], edx
movups xmm0, xmmword [str.zK_UXTPX]
movups xmmword [ebp - 0x60], xmm0
cmp edi, 2
jl 0x4860e3
movaps xmm0, xmmword [0x903730]
mov eax, 4
movaps xmm4, xmmword [0x9036b0]
movaps xmm3, xmmword [0x903740]
movaps xmm6, xmmword [0x9036f0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0x30]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x60]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x60], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x5c]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x5c], xmm1
add edx, 8
cmp edx, 0x10
jl 0x485fe4
mov dword [ebp - 0x24], edx
cmp edx, 0x15
jge 0x486111
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x60], cl
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 0x15
jl 0x4860e3
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x48647f
movups xmm0, xmmword [0x9035a8]
mov ax, word [0x9035c4]
xor esi, esi
mov ecx, dword [0x9035c0]
mov dword [ebp - 0x80], ecx
mov word [ebp - 0x7c], ax
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [0x9035b8]
movq qword [ebp - 0x88], xmm0
cmp edi, 2
jl 0x486270
movaps xmm2, xmmword [0x9036b0]
mov eax, 4
movaps xmm4, xmmword [0x903740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x9035a8
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9036c0]
paddd xmm2, xmmword [0x9036b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x903710]
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x98], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x903710]
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x90]
pxor xmm1, xmm0
movq qword [ebp - 0x90], xmm1
nop dword [eax + eax]
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, 0x38
xor word [ebp + esi*2 - 0x98], cx
inc esi
cmp esi, 0xf
jl 0x486270
xor eax, eax
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4862b6
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.0040ea60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
cmovae eax, dword [ebp - 0x78]
push eax
call dword [ebp - 0x24]
mov edx, eax
mov dword [ebp - 0x38], 0
mov ecx, edx
mov dword [ebp - 0x34], 7
xor eax, eax
mov word [ebp - 0x48], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486306
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.0040ea60
mov byte [ebp - 4], 1
xor esi, esi
mov eax, dword [0x9035a0]
mov dword [ebp - 0x28], eax
mov ax, word [0x9035a4]
mov word [ebp - 0x24], ax
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, 0x38
xor word [ebp + esi*2 - 0x28], cx
inc esi
cmp esi, 3
jl 0x486337
lea edx, [ebp - 0x28]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x486363
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x48]
sub edx, ecx
sar edx, 1
lea ecx, [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x38]
cmp edi, 8
push eax
cmovae ecx, esi
push ecx
call fcn.0041f1d0
add esp, 0xc
test eax, eax
js 0x486405
movq xmm0, qword [0x903594]
xor esi, esi
mov ax, word [0x90359c]
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x24], ax
nop
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, 0x38
xor word [ebp + esi*2 - 0x2c], cx
inc esi
cmp esi, 5
jl 0x4863b0
lea edx, [ebp - 0x2c]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4863e0
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x2c]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0040ea60
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x48]
cmp edi, 8
jb 0x486435
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x48642b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4864a9
push ecx
push esi
call fcn.005c24d6
add esp, 8
mov edx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x48647f
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486475
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4864ae
push edx
push ecx
call fcn.005c24d6
add esp, 8
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c22ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006d1429
call fcn.006d1429
int3