Function at 0x1002d8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e108
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10051014]
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 0x1002d8e0
xor cl, cl
jmp 0x1002d8e6
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 0x1002da2c
sub eax, 1
jne 0x1002daef
mov cl, 0x76
mov dword [ebp - 0x3c], 0x2193a76
mov dword [ebp - 0x38], 0xf041302
mov dword [ebp - 0x34], 0x18130033
mov word [ebp - 0x30], 2
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1002d92f
mov cl, byte [ebp - 0x3c]
jmp 0x1002d920
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 0x1002d94f
xor ecx, ecx
jmp 0x1002d95e
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d955
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0x70]
call fcn.100027c0
mov dword [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x10049680]
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 0x1002d994
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 0x1002d9c1
xor ecx, ecx
jmp 0x1002d9d0
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d9c7
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100027c0
sub esp, 8
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x2c]
call fcn.10021690
mov eax, dword [ebp - 0x18]
add esp, 8
cmp eax, 0x10
jb 0x1002da04
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.100026c0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x1002daef
inc eax
push eax
push dword [ebp - 0x70]
jmp 0x1002daea
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.1000b8d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002dadd
cmp eax, 0xff
ja 0x1002dadd
mov cl, 0x64
mov dword [ebp - 0x3c], 0x100b2864
mov dword [ebp - 0x38], 0x1d160110
xor eax, eax
mov dword [ebp - 0x34], 0xa011221
mov word [ebp - 0x30], 0x10
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1002da90
mov cl, byte [ebp - 0x3c]
jmp 0x1002da81
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2f], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.100028c0
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.100028c0
sub esp, 8
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.10021690
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.100022a0
lea ecx, [ebp - 0x54]
call fcn.100022a0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1002daef
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.100026c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10038745
mov esp, ebp
pop ebp
ret 4