Function at 0x101098d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x10213408]
push ebx
push esi
push edi
cmp byte [eax + 0x326d], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
je 0x1010a02a
mov eax, dword [0x10214cf4]
cmp dword [eax], 0
je 0x1010a02a
mov eax, dword [0x10213410]
mov ecx, edx
push 0
push 0x101dc36c
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 0x10]
mov eax, dword [edx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
mov ecx, dword [edi]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
call edx
mov edi, eax
test edi, edi
je 0x1010a02a
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0xf
mov ecx, edi
mov byte [esp + 0x30], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x160]
call eax
mov ecx, dword [edi]
mov esi, eax
mov dword [esp + 0x20], esi
mov edx, dword [ecx + 0x270]
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
mov byte [esp + 0x16], al
mov edx, dword [ecx + 0x24]
lea ecx, [edi + 8]
call edx
mov byte [esp + 0x17], al
test al, al
je 0x101095e9
mov ecx, dword [0x10213404]
mov ecx, dword [ecx + 0xb0]
mov ecx, dword [ecx]
test ecx, ecx
je 0x101095e9
mov eax, dword [edi + 8]
lea esi, [ecx + 0x9d8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x14]
mov ecx, esi
call edx
mov esi, dword [esp + 0x20]
mov byte [esp + 0x16], al
mov eax, dword [str._PNC8]
xor ebx, ebx
mov dword [esp + 0x48], eax
mov al, byte [0x101e285c]
mov byte [esp + 0x4c], al
nop dword [eax]
mov eax, 0x3521cfb3
mov cl, bl
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x48], cl
inc ebx
cmp ebx, 5
jl 0x10109600
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push 0x101c346e
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, 0x3d96e080
mov dword [esp + 0x18], eax
call fcn.100c6820
add eax, edi
mov ecx, edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xf8]
push eax
call fcn.10181f80
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
lea ecx, [esp + 0xf8]
mov dword [esp + 0x94], 0
movups xmmword [esp + 0x80], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10109690
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.10026920
mov eax, dword [0x10214cf4]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
cmp esi, eax
je 0x10109fc0
mov dl, byte [esp + 0x16]
test dl, dl
jne 0x10109731
cmp esi, 1
je case.0x1010973c.1
test esi, esi
je case.0x1010973c.0
mov ecx, dword [esp + 0x44]
mov eax, ecx
mov edi, dword [esp + 0x40]
sub eax, edi
push 7
push str.DEAD
cmp eax, 7
jb 0x1010971e
cmp ecx, 0xf
lea esi, [esp + 0x38]
lea eax, [edi + 7]
cmova esi, dword [esp + 0x38]
mov dword [esp + 0x48], eax
lea eax, [esi + edi]
push eax
call fcn.1018f2d0
mov byte [esi + edi + 7], 0
add esp, 0xc
mov esi, dword [esp + 0x20]
jmp 0x1010972d
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push 7
call fcn.10027530
mov dl, byte [esp + 0x16]
mov bl, dl
cmp esi, 3
ja case.default.0x1010973c
jmp dword [esi*4 + 0x1010a050]
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x40]
mov bl, dl
cmova ecx, dword [esp + 0x30]
mov byte [ecx + eax], 0
jmp case.default.0x1010973c
cmp byte [str._ppenvz:], 0
mov bl, dl
mov eax, dword [0x101e29f8]
mov ecx, dword [0x101e29fc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x101098bd
xor ebx, ebx
cmp dword [0x10214510], 2
jl 0x1010988d
movaps xmm2, xmmword [0x101ea800]
mov bl, dl
movaps xmm3, xmmword [0x101eabd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, 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, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
movd xmm0, eax
lea eax, [esp + 0x20]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
push eax
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
movd xmm0, ecx
lea ecx, [esp + 0x34]
xorps xmm1, xmm0
movd dword [esp + 0x28], xmm1
call fcn.1001fa90
jmp case.default.0x1010973c
mov byte [esp + 0x16], dl
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 8
jl 0x10109891
mov bl, byte [esp + 0x16]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.1001fa90
jmp case.default.0x1010973c
mov eax, dword [0x101e22c0]
xor ebx, ebx
cmp dword [0x10214510], 2
movups xmm0, xmmword [0x101e22b0]
mov dword [esp + 0x60], eax
mov al, byte [0x101e22c4]
movups xmmword [esp + 0x50], xmm0
mov byte [esp + 0x64], al
mov byte [esp + 0x16], dl
jl 0x10109a30
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x16], dl
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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, 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
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x50]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x50], 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
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x54]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x54], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x10109930
cmp ebx, 0x15
jge 0x10109a58
nop dword [eax]
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0x15
jl 0x10109a30
lea eax, [esp + 0x50]
jmp 0x10109bbc
mov eax, dword [0x101e2400]
xor ebx, ebx
cmp dword [0x10214510], 2
movq xmm0, qword [0x101e23f8]
mov dword [esp + 0x28], eax
mov al, byte [0x101e2404]
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], al
mov byte [esp + 0x16], dl
jl 0x10109b90
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm4, xmmword [0x101eabd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.44444444444444447777777777777777]
movaps xmm0, xmm1
mov byte [esp + 0x16], dl
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101e23f8]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x24]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xd
jl 0x10109b90
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.1001fa90
mov bl, byte [esp + 0x16]
cmp byte [esp + 0x17], 0
jne 0x10109c39
test bl, bl
je 0x10109c39
mov esi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov ecx, esi
mov dword [esp + 0xc0], 0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10109c00
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0xb8]
call fcn.10026920
lea eax, [esp + 0xb0]
mov edx, 0x101e1dfc
push eax
lea ecx, [esp + 0xcc]
call fcn.100238e0
mov edi, eax
mov ebx, 3
jmp 0x10109c6e
xorps xmm0, xmm0
mov dword [esp + 0xa8], 0
movups xmmword [esp + 0x98], xmm0
mov dword [esp + 0xac], 0xf
lea edi, [esp + 0x98]
mov byte [esp + 0x98], 0
mov ebx, 4
mov edx, dword [esp + 0x40]
mov eax, 0x7fffffff
mov esi, dword [esp + 0x90]
sub eax, edx
cmp eax, esi
jb 0x1010a03f
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
push esi
cmova ecx, dword [esp + 0x34]
lea eax, [esp + 0x84]
cmp dword [esp + 0x98], 0xf
cmova eax, dword [esp + 0x84]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0xf8]
call fcn.10028b00
push edi
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x5c]
call fcn.10028910
mov edx, dword [esp + 0x64]
mov eax, edx
mov ecx, dword [esp + 0x60]
sub eax, ecx
push 3
push 0x101e1de8
cmp eax, 3
jb 0x10109d18
cmp edx, 0xf
lea esi, [esp + 0x58]
lea eax, [ecx + 3]
cmova esi, dword [esp + 0x58]
add esi, ecx
mov dword [esp + 0x68], eax
push esi
call fcn.1018f2d0
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [esp + 0x50]
jmp 0x10109d27
push dword [esp + 0x20]
lea ecx, [esp + 0x5c]
push 3
call fcn.10027530
push dword [esp + 0x18]
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x7c], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
call fcn.1001fa90
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [esp + 0x20], xmm0
movq qword [esp + 0x48], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10109dd8
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109dc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
movups xmm0, xmmword [esp + 0x28]
add esp, 8
movq xmm1, qword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
movq qword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm0
cmp ecx, 0xf
jbe 0x10109e19
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109e0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xf
mov byte [esp + 0x68], 0
cmp ecx, 0xf
jbe 0x10109e64
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109e5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp ecx, 0xf
jbe 0x10109eb5
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109eab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
add esp, 8
test bl, 4
je 0x10109ef9
mov ecx, dword [esp + 0xac]
and ebx, 0xfffffffb
cmp ecx, 0xf
jbe 0x10109ef9
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109eef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
add esp, 8
test bl, 2
je 0x10109f58
mov ecx, dword [esp + 0xdc]
cmp ecx, 0xf
jbe 0x10109f3a
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109f30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0xf
mov byte [esp + 0xc8], 0
test bl, 1
je 0x10109f99
mov ecx, dword [esp + 0xc4]
cmp ecx, 0xf
jbe 0x10109f99
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109f8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a044
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x10213404]
lea ecx, [esp + 0x30]
cmp dword [esp + 0x44], 0xf
cmova ecx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push ecx
push 0
mov edx, dword [eax + 0x1c]
push edx
mov eax, dword [edx]
mov eax, dword [eax + 0x68]
call eax
add esp, 0xc
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x10109ff8
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10109fee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a049
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1010a02a
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010a020
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010a049
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
call fcn.100032a0
call fcn.10192ed6
call fcn.10192ed6
nop
inc ebx
xchg edi, eax
adc byte [eax], dl
pushal
xchg edi, eax
adc byte [eax], dl
popal
lcall 4112, 0x98d01010