Function at 0x1000cfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100526ed
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10068040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10069449], 0
je 0x1000d322
cmp byte [0x100693ef], 1
jne 0x1000d017
mov byte [0x1006945e], 1
jmp 0x1000d024
cmp byte [0x1006945e], 0
je 0x1000d0d0
mov ecx, 0xb2
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x1005d9d8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000d04d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x1000d030
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.10023bd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x20], 0xdadbd4d5
xor ecx, ecx
mov dword [ebp - 0x1c], 0xdedfd8d9
mov dword [ebp - 0x18], 0xe3dcdd
mov byte [ebp - 0x14], 1
nop dword [eax]
lea eax, [ecx + 0x56]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xb
jb 0x1000d090
push 0
push 0x1005d8a8
lea eax, [ebp - 0x38]
mov byte [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x64
push eax
push 0x10069460
xor edx, edx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x20]
call fcn.1002d8b0
add esp, 0x14
cmp byte [0x1006945c], 0
je 0x1000d182
mov ecx, 0xa
xor edx, edx
mov al, byte [edx + 0x1005d9e8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000d101
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xd
jl 0x1000d0e4
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.10023bd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x20], 0xdadbd4d5
xor ecx, ecx
mov dword [ebp - 0x1c], 0xdedfd8d9
mov dword [ebp - 0x18], 0xe2e3dcdd
mov word [ebp - 0x14], 0x100
lea eax, [ecx + 0x56]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xc
jb 0x1000d142
push 0
push 0x1005d8a8
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x64
push eax
push 0x10069454
xor edx, edx
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x20]
call fcn.1002d8b0
add esp, 0x14
cmp byte [0x1006944a], 0
je 0x1000d1f6
mov ecx, 0xeb
xor edx, edx
mov al, byte [edx + 0x1005d9f8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x1000d1af
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x1000d192
mov byte [ebp - 0x26], 0
push 0
push 0x1005d8a8
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x64
push eax
push 0x1006944c
xor edx, edx
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x34]
call fcn.1002d8b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [0x1006945d], 0
je 0x1000d26a
mov ecx, 0x61
xor edx, edx
mov al, byte [edx + 0x1005da08]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x20], al
and ecx, 0x800000ff
jns 0x1000d223
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x1000d206
mov byte [ebp - 0x14], 0
push 0
push 0x1005d8a8
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x64
push eax
push 0x10069458
xor edx, edx
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x20]
call fcn.1002d8b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [0x1006944b], 0
je 0x1000d322
mov ecx, 0xb8
xor edx, edx
nop
mov al, byte [edx + 0x1005da18]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x1000d29d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x1000d280
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
call fcn.10023bd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x34], 0xdadbd4d5
xor ecx, ecx
mov dword [ebp - 0x30], 0xdedfd8d9
mov dword [ebp - 0x2c], 0xe2e3dcdd
mov word [ebp - 0x28], 0xe1
mov byte [ebp - 0x26], 1
lea eax, [ecx + 0x56]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0xd
jb 0x1000d2e2
push 0
push 0x1005d8a8
lea eax, [ebp - 0x40]
mov byte [ebp - 0x26], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0x64
push eax
push 0x10069450
xor edx, edx
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x34]
call fcn.1002d8b0
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.1004db16
mov esp, ebp
pop ebp
ret