Function at 0x10006e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c61d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10047014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10047e4e], 0
je 0x10007248
cmp byte [0x10047e4d], 1
jne 0x10006ea7
mov byte [0x10047fcb], 1
jmp 0x10006eb4
cmp byte [0x10047fcb], 0
je 0x10006f66
mov ecx, 0xb2
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x1003fd80]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x10006edd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10006ec0
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.1001bff0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x20], 0xeaebe4e5
xor ecx, ecx
mov dword [ebp - 0x1c], 0xeeefe8e9
mov dword [ebp - 0x18], 0xf3eced
mov byte [ebp - 0x14], 1
nop dword [eax]
lea eax, [ecx + 0x66]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xb
jb 0x10006f20
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x38]
push 0x1003fd00
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x14], 0
push eax
push 0x10047fcc
xor edx, edx
mov dword [ebp - 0x38], 0x22b
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x3c], 0
call fcn.1001e040
add esp, 0x14
cmp byte [0x10047fc9], 0
je 0x10007026
mov ecx, 0xa
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1003fd90]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x10006f9d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x10006f80
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.1001bff0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x20], 0xeaebe4e5
xor ecx, ecx
mov dword [ebp - 0x1c], 0xeeefe8e9
mov dword [ebp - 0x18], 0xf2f3eced
mov word [ebp - 0x14], 0x100
nop
lea eax, [ecx + 0x66]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xc
jb 0x10006fe0
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x3c]
push 0x1003fd00
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 0x13], 0
push eax
push 0x10047fc0
xor edx, edx
mov dword [ebp - 0x3c], 0x12c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], 0
call fcn.1001e040
add esp, 0x14
cmp byte [0x10047e4f], 0
je 0x100070d6
mov ecx, 0xeb
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1003fda0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x1000705d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x10007040
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push eax
call fcn.1001bff0
add esp, 4
mov ecx, 0xc2
xor edx, edx
mov al, byte [edx + 0x1003fdb0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x1000709e
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x10007081
mov byte [ebp - 0x26], 0
push ecx
push 0x12b
push 0x10047028
push 0x10025310
mov edx, 0x10047fb8
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.10025390
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp byte [0x10047fca], 0
je 0x10007186
mov ecx, 0x61
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1003fdc0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000710d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100070f0
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 4
push eax
call fcn.1001bff0
add esp, 4
mov ecx, 0x99
xor edx, edx
mov al, byte [edx + 0x1003fdd0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000714e
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10007131
mov byte [ebp - 0x14], 0
push ecx
push 0xe4
push 0x100474d8
push 0x10025310
mov edx, 0x10047fc4
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10025390
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp byte [0x10047fc8], 0
je 0x10007248
mov ecx, 0xb8
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1003fde0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x100071bd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x100071a0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 6
push eax
call fcn.1001bff0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x34], 0xeaebe4e5
xor ecx, ecx
mov dword [ebp - 0x30], 0xeeefe8e9
mov dword [ebp - 0x2c], 0xf2f3eced
mov word [ebp - 0x28], 0xf1
mov byte [ebp - 0x26], 1
lea eax, [ecx + 0x66]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0xd
jb 0x10007202
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x3c]
push 0x1003fd00
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 0x26], 0
push eax
push 0x10047fbc
xor edx, edx
mov dword [ebp - 0x3c], 0xe6
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], 0
call fcn.1001e040
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a8e0
mov esp, ebp
pop ebp
ret