Function at 0x10079b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc286
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x6c], edx
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
jbe 0x1007a34d
test eax, eax
je 0x1007a34d
xor cl, cl
lea eax, [edx + 0x110]
mov esi, 6
cmp dword [eax - 4], 0
je 0x10079be2
cmp dword [eax], 0
jne 0x10079be4
inc cl
add eax, 0x18
sub esi, 1
jne 0x10079bd7
test cl, cl
jne 0x10079d42
movaps xmm0, xmmword [0x100e8ac0]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0xe
jb 0x10079c01
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x4b]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079c38
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10003370
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100e9350]
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xe8], 0
movaps xmm0, xmmword [0x100e8c10]
movups xmmword [ebp - 0xf8], xmm0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x107]
xor al, byte [ebp - 0x108]
mov byte [ebp + ecx - 0x107], al
inc ecx
cmp ecx, 0x1f
jb 0x10079c80
xorps xmm0, xmm0
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0x107]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079cd0
sub ecx, edx
lea eax, [ebp - 0x107]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10003370
push 0
push 0
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.1002afd0
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.10002f50
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x88], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], 0
jmp 0x1007a342
mov eax, dword [ebp + 0x14]
xor cl, cl
cmp eax, 1
jne 0x10079ed7
movzx eax, cl
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x118], 2
jne 0x10079eec
movaps xmm0, xmmword [0x100e88b0]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0xe
jb 0x10079d71
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x4b]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079db0
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10003370
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x100e9220]
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0x94], 0x454a10
movaps xmm0, xmmword [0x100e9230]
movups xmmword [ebp - 0xd4], xmm0
movaps xmm0, xmmword [0x100e8bd0]
movups xmmword [ebp - 0xc4], xmm0
movaps xmm0, xmmword [0x100e8b80]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x100e8d30]
movups xmmword [ebp - 0xa4], xmm0
mov al, byte [ebp + ecx - 0xe3]
xor al, byte [ebp - 0xe4]
mov byte [ebp + ecx - 0xe3], al
inc ecx
cmp ecx, 0x52
jb 0x10079e22
xorps xmm0, xmm0
mov byte [ebp - 0x91], 0
lea ecx, [ebp - 0xe3]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079e68
sub ecx, edx
lea eax, [ebp - 0xe3]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10003370
mov byte [ebp - 4], 3
push 0
push 0
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x68]
call fcn.1002afd0
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.10002f50
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x88], 0
jmp 0x1007a342
cmp eax, 2
jne 0x10079eef
movzx eax, cl
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x118], 1
je 0x10079f38
mov eax, dword [ebp + 0x14]
inc cl
cmp cl, 6
jb 0x10079d47
xor cl, cl
nop dword [eax]
movzx eax, cl
mov dword [ebp - 0x8c], eax
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x10c], 0
lea edi, [edx + eax*8]
mov dword [ebp - 0x90], edi
ja 0x10079f2c
cmp dword [edi + 0x110], 0
jbe 0x1007a068
inc cl
cmp cl, 6
jb 0x10079f00
jmp 0x1007a34d
movaps xmm0, xmmword [0x100e88a0]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0xe
jb 0x10079f45
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x4b]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079f82
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10003370
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x100e9730]
movups xmmword [ebp - 0xe4], xmm0
mov word [ebp - 0x94], 0x626d
movaps xmm0, xmmword [0x100e8fa0]
movups xmmword [ebp - 0xd4], xmm0
mov byte [ebp - 0x92], 0
movaps xmm0, xmmword [0x100e9740]
movups xmmword [ebp - 0xc4], xmm0
movaps xmm0, xmmword [0x100e9070]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x100e9090]
movups xmmword [ebp - 0xa4], xmm0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xe3]
xor al, byte [ebp - 0xe4]
mov byte [ebp + ecx - 0xe3], al
inc ecx
cmp ecx, 0x51
jb 0x1007a000
xorps xmm0, xmm0
mov byte [ebp - 0x92], 0
lea ecx, [ebp - 0xe3]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a046
sub ecx, edx
lea eax, [ebp - 0xe3]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10003370
mov byte [ebp - 4], 5
jmp 0x10079e85
mov esi, dword [0x100e6d00]
mov eax, 0x10624dd3
mul dword [ebp - 0x38]
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x30], eax
imul eax, eax, 0x3e8
push eax
call fcn.1001e350
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1007a34d
mov dword [ebp - 4], 6
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10089110
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 7
mov eax, 0x12e0be83
mov cl, byte [esi + 4]
mov esi, dword [ebp - 0x38]
mul esi
mov dword [ebp - 0x18], 0
sub esi, edx
mov byte [ebp - 0x28], 0
shr esi, 1
add esi, edx
mov byte [ebp - 0x31], cl
shr esi, 0x1d
cmp esi, 4
jae 0x1007a1ad
cmp cl, 0x2d
jae 0x1007a1ad
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a1ad
sub esi, dword [ebp - 0x30]
movzx ecx, byte [ebp - 0x31]
mov edx, dword [0x100e6d04]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, dword [ebp - 0x38]
push eax
call edx
mov dword [ebp - 0x30], eax
mov esi, eax
test eax, eax
je 0x1007a1af
cmp dword [eax + 0x48], 0
je 0x1007a1af
push dword [ebp - 0x38]
xor edx, edx
lea ecx, [ebp - 0x68]
push eax
call fcn.1000f930
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1007a18e
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x2c]
call fcn.100082f0
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100891b0
mov esi, dword [ebp - 0x30]
jmp 0x1007a1f6
xor esi, esi
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x68]
push 0
call fcn.1000f930
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
add esp, 8
cmp ecx, eax
je 0x1007a1dc
call fcn.10002f50
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.100082f0
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100891b0
mov eax, dword [ebp - 0x8c]
add esp, 8
mov ecx, dword [ebp - 0x6c]
lea eax, [eax + eax*2]
lea eax, [eax + 0x21]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x1007a30c
add ecx, 4
lea edx, [ebp - 0x2c]
call fcn.10018220
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [eax + 0x50], ecx
mov eax, dword [edx]
mov dword [eax + 0x54], esi
mov eax, dword [edx]
mov dword [eax + 0x58], 1
test esi, esi
je 0x1007a24f
mov eax, dword [ebp - 0x3c]
movsx ecx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x1007a253
movsx ecx, word [ecx + 0x66]
mov eax, dword [edx]
mov dword [eax + 0x5c], ecx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1007a30c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a2ea
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a286
sub ecx, edx
mov dword [ebp - 0x3c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
push esi
mov edi, eax
push 0
push edi
call fcn.1008c200
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x3c]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008bc80
mov eax, dword [ebp - 0x3c]
add esp, 0x1c
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100e6d88]
push edi
call fcn.100891b0
mov edi, dword [ebp - 0x90]
add esp, 4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov esi, dword [eax]
test esi, esi
je 0x1007a30c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a30c
push 1
mov ecx, esi
call dword [0x100e6d54]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x114], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x118], eax
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push 8
push eax
call fcn.100891b0
add esp, 8
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.10089100
mov esp, ebp
pop ebp
ret 0x10