Function at 0x10010bc0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movups xmm0, xmmword [str.ZWAZPZ]
mov ax, word [0x100aa598]
push ebx
push esi
xor esi, esi
mov word [ebp - 0x18], ax
cmp dword [0x100ddd64], 2
mov ebx, ecx
movups xmmword [ebp - 0x30], xmm0
push edi
movq xmm0, qword [0x100aa590]
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
lea edx, [esi + 0x1f]
movq qword [ebp - 0x20], xmm0
jl 0x10010cf0
movaps xmm2, xmmword [0x100aca30]
mov eax, str.ZWAZPZ
movaps xmm3, xmmword [0x100acab0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, ecx
psrad xmm1, xmm4
movd xmm5, edx
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x100aca50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x100aca40]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x100aca60]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x30], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x100aca50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x28]
paddw xmm1, xmmword [0x100aca60]
pxor xmm1, xmm0
movq qword [ebp - 0x28], xmm1
nop word [eax + eax]
mov eax, 0x5397829d
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x31
add eax, esi
xor word [ebp + esi*2 - 0x30], ax
inc esi
cmp esi, 0xd
jl 0x10010cf0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
cmp dword [esi + 0x18], 0
je 0x10010d45
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push dword [esi + 0x30]
lea eax, [ebp - 0x30]
push eax
call edi
test eax, eax
je 0x10010d58
mov esi, dword [esi]
cmp dword [esi + 0x18], 0
jne 0x10010d30
mov dword [ebx + 0x58], 0
mov eax, 0x54f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x18]
mov dword [ebx + 0x58], esi
test esi, esi
je 0x10010d4c
mov eax, dword [0x100aa578]
xor ebx, ebx
movq xmm0, qword [0x100aa570]
mov edi, dword [0x100ddd64]
mov dword [ebp - 0xc], eax
mov ax, word [0x100aa57c]
mov word [ebp - 8], ax
mov al, byte [0x100aa57e]
movq qword [ebp - 0x14], xmm0
mov byte [ebp - 6], al
cmp edi, 2
jl 0x10010ea0
movaps xmm2, xmmword [0x100aca30]
mov eax, 4
movaps xmm3, xmmword [0x100acab0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x100aca50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x100aca40]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x100aca70]
movd xmm0, dword [0x100aa570]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x100aca80]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x14], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x100aca50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x100aca70]
movd xmm0, dword [ebp - 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x100aca80]
pxor xmm1, xmm0
movd dword [ebp - 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x5397829d
imul ebx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
movsx eax, al
imul eax, eax, 0x31
add al, bl
xor byte [ebp + ebx - 0x14], al
inc ebx
cmp ebx, 0xf
jl 0x10010ea0
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.10010b40
mov esi, eax
test esi, esi
jne 0x10010ee4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [str.R_boCXSWNIgODMK__qq]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x100aa540]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x100aa550]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x100aa560]
movups xmmword [ebp - 0x40], xmm0
cmp edi, 2
jl 0x10011030
movaps xmm4, xmmword [0x100aca30]
mov eax, 4
movaps xmm3, xmmword [0x100acab0]
movaps xmm6, xmmword [0x100aca50]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, ecx
lea eax, [ecx + 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, 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
movq xmm0, qword [0x100aca60]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x70]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x70], 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
movq xmm0, qword [0x100aca60]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x68]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x68], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10010f42
jmp 0x10011051
mov eax, 0x5397829d
mul ecx
mov eax, 1
shr edx, 4
sub eax, edx
imul eax, eax, 0x31
add eax, ecx
xor word [ebp + ecx*2 - 0x70], ax
inc ecx
cmp ecx, 0x20
jl 0x10011030
mov ecx, dword [ebp - 4]
lea eax, [ecx + 0x44]
push eax
push ecx
push 0
push 0
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
je 0x10010d4c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret