Function at 0x100d1ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ca4e1
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
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 eax, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.100507a0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100c51c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x100d1d75
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1d6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1d6b
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 ax, word [0x106503a4]
movq xmm0, qword [0x1065039c]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0x50], ax
test ah, ah
je 0x100d1dd7
xor edx, edx
mov dword [ebp - 0x44], edx
nop word [eax + eax]
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x44]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x58], cl
inc edx
mov dword [ebp - 0x44], edx
cmp edx, 0xa
jl 0x100d1db0
xorps xmm0, xmm0
mov dword [ebp - 0x104], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x100], 0
movups xmmword [ebp - 0x114], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1e00
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.10053700
mov byte [ebp - 4], 4
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x100], 0xf
lea edx, [ebp + 8]
lea ecx, [ebp - 0x160]
cmova eax, dword [ebp - 0x114]
mov dword [ebp - 0x64], eax
call fcn.100c5570
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 5
mov cx, word [0x10650bc0]
mov eax, dword [0x10650bbc]
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x48], cx
test ch, ch
je 0x100d1e8c
xor edx, edx
mov dword [ebp - 0x44], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x44]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x4c], cl
inc edx
mov dword [ebp - 0x44], edx
cmp edx, 6
jl 0x100d1e65
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1eb0
sub ecx, edx
lea eax, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.10053700
mov byte [ebp - 4], 6
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 0xf
mov ecx, dword [str.___7g]
cmova eax, dword [ebp - 0x84]
cmp byte [0x1065125f], 0
mov esi, dword [0x106d5adc]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x10651258]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
je 0x100d2033
xor edx, edx
mov dword [ebp - 0x44], edx
cmp esi, 2
jl 0x100d2002
movaps xmm2, xmmword [0x106544f0]
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
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]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10654620]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x60], 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]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10654620]
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [ebp - 0x5c], xmm1
jmp 0x100d2033
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x44]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x44]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x60], cl
inc edx
mov dword [ebp - 0x44], edx
cmp edx, 8
jl 0x100d2002
xorps xmm0, xmm0
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xe8], 0
movups xmmword [ebp - 0xfc], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2057
sub ecx, edx
lea eax, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.10053700
mov byte [ebp - 4], 7
lea edx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0xcc], xmm0
cmova edx, dword [ebp - 0xfc]
mov ecx, edx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d20b0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.10053700
lea edx, [ebp - 0xcc]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x148]
call fcn.100c5570
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 9
cmp byte [0x10650757], 0
mov ecx, dword [0x10650750]
mov edi, dword [0x10650754]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edi
je 0x100d2234
xor edx, edx
mov dword [ebp - 0x44], edx
cmp esi, 2
jl 0x100d2203
movaps xmm2, xmmword [0x106544f0]
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
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, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x58], 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, edi
xorps xmm1, xmm0
movd dword [ebp - 0x54], xmm1
jmp 0x100d2234
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x44]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x44]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x58], cl
inc edx
mov dword [ebp - 0x44], edx
cmp edx, 8
jl 0x100d2203
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xd0], 0
movups xmmword [ebp - 0xe4], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2258
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.10053700
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xe4]
cmp dword [ebp - 0xd0], 0xf
cmova edx, dword [ebp - 0xe4]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2290
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0x5c]
push edx
push 0
call fcn.10053cb0
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb4]
push dword [ebp - 0x4c]
call fcn.10052200
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x178]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x6c]
call fcn.100f2230
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x64]
call fcn.10052200
mov dword [ebp - 0x8c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x9c]
call fcn.100522d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x100d240c
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2402
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x100d2465
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d245b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x100d24be
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d24b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x100d24fc
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d24f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0xf
jbe 0x100d2555
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d254b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x100d2593
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2589
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0xf
jbe 0x100d25ec
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d25e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xe8]
cmp ecx, 0xf
jbe 0x100d2645
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d263b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x100d2680
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2676
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x100d26ba
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d26b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2705
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x100]
cmp ecx, 0xf
jbe 0x100d2715
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d270b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d270b
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
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.10052460
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 8]
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
call fcn.10052460
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov esi, esp
lea eax, [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10052460
mov ecx, esi
call fcn.100d1830
mov esi, dword [ebp - 0x6c]
add esp, 0x18
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.100c5a90
mov ecx, dword [ebp - 0x2c]
add esp, 0x48
cmp ecx, 0xf
jbe 0x100d27a1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2797
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2809
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100d27d1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d27c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2809
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x100d2819
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d280f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d280f
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, esi
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