Function at 0x10007c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b5fd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100a3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100bcbd6], 0
je 0x10007fe2
cmp byte [0x100bcbd4], 1
jne 0x10007cd7
mov byte [0x100bcc43], 1
jmp 0x10007ce4
cmp byte [0x100bcc43], 0
je 0x10007d90
mov ecx, 0xb2
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x1009eb4c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x10007d0d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10007cf0
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.1001ddd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x20], 0xe3dcddde
xor ecx, ecx
mov dword [ebp - 0x1c], 0xe7e0e1e2
mov dword [ebp - 0x18], 0xe4e5e6
mov byte [ebp - 0x14], 1
nop dword [eax]
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xb
jb 0x10007d50
push 0
push 0x1009ea38
lea eax, [ebp - 0x38]
mov byte [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x64
push eax
push 0x100bcc44
xor edx, edx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x20]
call fcn.100276e0
add esp, 0x14
cmp byte [0x100bcc41], 0
je 0x10007e42
mov ecx, 0xa
xor edx, edx
mov al, byte [edx + 0x1009eb5c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x10007dc1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x10007da4
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.1001ddd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x20], 0xe3dcddde
xor ecx, ecx
mov dword [ebp - 0x1c], 0xe7e0e1e2
mov dword [ebp - 0x18], 0xebe4e5e6
mov word [ebp - 0x14], 0x100
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xc
jb 0x10007e02
push 0
push 0x1009ea38
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x64
push eax
push 0x100bcc38
xor edx, edx
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x20]
call fcn.100276e0
add esp, 0x14
cmp byte [0x100bcbd7], 0
je 0x10007eb6
mov ecx, 0xeb
xor edx, edx
mov al, byte [edx + 0x1009eb6c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x10007e6f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x10007e52
mov byte [ebp - 0x26], 0
push 0
push 0x1009ea38
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x64
push eax
push 0x100bcc30
xor edx, edx
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x34]
call fcn.100276e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [0x100bcc42], 0
je 0x10007f2a
mov ecx, 0x61
xor edx, edx
mov al, byte [edx + 0x1009eb7c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x10007ee3
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10007ec6
mov byte [ebp - 0x14], 0
push 0
push 0x1009ea38
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x64
push eax
push 0x100bcc3c
xor edx, edx
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x20]
call fcn.100276e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [0x100bcc40], 0
je 0x10007fe2
mov ecx, 0xb8
xor edx, edx
nop
mov al, byte [edx + 0x1009eb8c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x10007f5d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x10007f40
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
call fcn.1001ddd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x34], 0xe3dcddde
xor ecx, ecx
mov dword [ebp - 0x30], 0xe7e0e1e2
mov dword [ebp - 0x2c], 0xebe4e5e6
mov word [ebp - 0x28], 0xea
mov byte [ebp - 0x26], 1
lea eax, [ecx + 0x5d]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0xd
jb 0x10007fa2
push 0
push 0x1009ea38
lea eax, [ebp - 0x40]
mov byte [ebp - 0x26], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0x64
push eax
push 0x100bcc34
xor edx, edx
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x34]
call fcn.100276e0
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.10049760
mov esp, ebp
pop ebp
ret