Function at 0x1002d5e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100779e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1009d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [esi + 1]
cmp eax, ecx
jbe 0x1002d620
xor cl, cl
jmp 0x1002d626
mov eax, dword [edx + 0x10]
mov cl, byte [esi + eax]
lea eax, [esi + 1]
mov dword [edx + 8], eax
movzx eax, cl
sub eax, 0
je 0x1002d772
sub eax, 1
jne 0x1002d838
mov cl, 0x51
mov dword [ebp - 0x3c], 0x253e1d51
mov dword [ebp - 0x38], 0x28233425
mov dword [ebp - 0x34], 0x3f342714
mov word [ebp - 0x30], 0x25
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1002d66f
mov cl, byte [ebp - 0x3c]
jmp 0x1002d660
cmp byte [ebp - 0x3b], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jne 0x1002d68f
xor ecx, ecx
jmp 0x1002d69e
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d695
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0x70]
call fcn.100028b0
mov dword [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x10092640]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x28716464
mov dword [ebp - 0x44], 0x66616762
mov dword [ebp - 0x40], 0x266c6d
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x1a
jb 0x1002d6d4
cmp byte [ebp - 0x57], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x1002d701
xor ecx, ecx
jmp 0x1002d710
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d707
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100028b0
sub esp, 8
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x2c]
call fcn.10021220
mov eax, dword [ebp - 0x18]
add esp, 8
cmp eax, 0x10
jb 0x1002d747
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002790
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x1002d838
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
jmp 0x1002d833
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, edx
call fcn.1000f160
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002d823
cmp eax, 0xff
ja 0x1002d823
mov cl, 0x6f
mov dword [ebp - 0x3c], 0x1b00236f
mov dword [ebp - 0x38], 0x161d0a1b
xor eax, eax
mov dword [ebp - 0x34], 0x10a192a
mov word [ebp - 0x30], 0x1b
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1002d7d6
mov cl, byte [ebp - 0x3c]
jmp 0x1002d7c7
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2f], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.100029b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.100029b0
sub esp, 8
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.10021220
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.10002360
lea ecx, [ebp - 0x54]
call fcn.10002360
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1002d838
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003a2a5
mov esp, ebp
pop ebp
ret 4