Function at 0x100d2e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ca5b5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
xor edx, edx
movq xmm0, qword [0x10650488]
mov al, byte [0x10650490]
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x14], al
mov dword [ebp - 0x28], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x28]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 9
jl 0x100d2e73
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2eb5
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10053700
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp + 8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.100f0670
push eax
lea ecx, [esi + 0x60]
call fcn.100f5590
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100d2f24
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2f1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3803
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ax, word [0x1065113c]
xor edx, edx
mov word [ebp - 0x28], ax
mov al, byte [0x1065113e]
mov byte [ebp - 0x26], al
mov dword [ebp - 0x2c], edx
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x2c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, 3
jl 0x100d2f40
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2f82
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10053700
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp + 8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.100f0670
push eax
lea ecx, [esi + 0x78]
call fcn.100f5590
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100d2ff1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2fe7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3803
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov eax, dword [str.XF_W4]
xor edx, edx
mov dword [ebp - 0x28], eax
mov al, byte [0x10650588]
mov byte [ebp - 0x24], al
mov dword [ebp - 0x2c], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x2c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, 5
jl 0x100d3006
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d3048
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10053700
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp + 8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.100f0670
push eax
lea ecx, [esi + 0x90]
call fcn.100f5590
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100d30ba
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d30b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3803
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov eax, dword [0x10650594]
movq xmm0, qword [str.CDP_WG_GLPUUO]
mov edi, dword [0x106d5adc]
mov dword [ebp - 0x18], eax
mov ax, word [0x10650598]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x100d3221
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x100d31f0
movaps xmm2, xmmword [0x106544f0]
mov edx, 8
movaps xmm3, xmmword [0x10654a40]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov dword [ebp - 0x28], edx
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10654500]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
movd xmm0, dword [str.CDP_WG_GLPUUO]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10654620]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
movd xmm0, dword [ebp - 0x1c]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10654620]
xorps xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
nop
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xe
jl 0x100d31f0
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d3240
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10053700
mov byte [ebp - 4], 4
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp + 8]
jbe 0x100d326b
push dword [ebp - 0x78]
jmp 0x100d326c
push eax
call fcn.100f0670
push ecx
mov ecx, eax
call fcn.100ee130
mov dword [ebp - 0x28], eax
xor edx, edx
mov eax, dword [0x106501b0]
mov dword [ebp - 0x1c], eax
mov ax, word [0x106501b4]
mov word [ebp - 0x18], ax
mov al, byte [0x106501b6]
mov byte [ebp - 0x16], al
mov dword [ebp - 0x2c], edx
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x2c]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, 7
jl 0x100d32a0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d32e2
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10053700
mov byte [ebp - 4], 5
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
mov ecx, dword [ebp - 0x28]
cmova eax, dword [ebp - 0x60]
push eax
call fcn.100f0670
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.100f0900
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push 0xa
cmova eax, dword [ebp - 0x44]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
cdq
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
cmp ecx, 0xf
jbe 0x100d3375
mov esi, dword [ebp - 0x44]
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x100d3365
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3427
push ecx
push esi
call fcn.102c1b57
mov esi, dword [ebp - 0x48]
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
movups xmm0, xmmword [ebp - 0x9c]
mov eax, dword [ebp - 0x7c]
add esp, 8
movups xmmword [esi + 0xa8], xmm0
movups xmm0, xmmword [ebp - 0x8c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
movups xmmword [esi + 0xb8], xmm0
mov dword [esi + 0xc8], eax
cmp ecx, 0xf
jbe 0x100d33fd
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d33f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3427
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x100d3437
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d342d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d342d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov eax, dword [0x10650594]
movq xmm0, qword [str.CDP_WG_GLPUUO]
mov dword [ebp - 0x18], eax
mov ax, word [0x10650598]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x100d35a1
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x100d3570
movaps xmm2, xmmword [0x106544f0]
mov edx, 8
movaps xmm4, xmmword [0x10654a40]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [0x10654620]
psrad xmm1, 5
mov dword [ebp - 0x28], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10654500]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.CDP_WG_GLPUUO]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1c]
xorps xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xe
jl 0x100d3570
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d35c0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10053700
mov byte [ebp - 4], 6
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
lea ecx, [ebp + 8]
jbe 0x100d35eb
push dword [ebp - 0x60]
jmp 0x100d35ec
push eax
call fcn.100f0670
push ecx
mov ecx, eax
call fcn.100ee130
movq xmm0, qword [str.CDP_WG_GLPUU_]
mov esi, eax
mov eax, dword [0x10650e5c]
xor edx, edx
mov dword [ebp - 0x18], eax
mov al, byte [0x10650e60]
mov byte [ebp - 0x14], al
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x100d3725
movaps xmm2, xmmword [0x106544f0]
mov edx, 8
movaps xmm4, xmmword [0x10654a40]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [0x10654620]
psrad xmm1, 5
mov dword [ebp - 0x28], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10654500]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.CDP_WG_GLPUU_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1c]
xorps xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x28]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xd
jl 0x100d3725
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d3771
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10053700
mov byte [ebp - 4], 7
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0xf
mov ecx, esi
cmova eax, dword [ebp - 0x78]
push eax
call fcn.100f0670
mov ecx, dword [ebp - 0x48]
push eax
add ecx, 0xcc
call fcn.100f5590
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x100d37dd
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d37d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3803
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100d3813
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d3809
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3809
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
lea ecx, [ebp + 8]
call fcn.100ee240
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.102c15f2
mov esp, ebp
pop ebp
ret 0x10