Function at 0x10003fbb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 6
pop edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x20
call fcn.10052460
and al, 0xfe
or al, 6
xor esi, esi
mov byte [ebp - 0xc], al
inc esi
dec edi
call fcn.10052460
mov byte [ebp + esi - 0xc], al
inc esi
test edi, edi
jne 0x10003fec
and dword [ebx], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov edi, eax
sub edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], edi
cmp esi, 8
jge 0x1000402f
call fcn.10052460
mov byte [ebp + esi - 0xc], al
inc esi
inc dword [ebp - 0x20]
cmp esi, 8
jne 0x10004082
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor esi, esi
sub ecx, eax
lea eax, [ebp + esi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc esi
cmp esi, 8
jl 0x1000403b
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.10003e8c
mov eax, dword [ebp - 0x18]
pop ecx
push 8
pop esi
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x1000405c
mov ecx, dword [ebp - 0x18]
add dword [ebx], 8
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
sub dword [ebp - 0x1c], 8
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 2
jle 0x1000401a
lea eax, [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp esi, 8
jge 0x100040a9
mov eax, dword [ebp + 8]
mov al, byte [eax]
inc esi
inc dword [ebp + 8]
dec dword [ebp - 0x24]
mov byte [ebp + esi - 0xd], al
cmp esi, 8
jne 0x100040fc
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor esi, esi
sub edi, eax
lea eax, [ebp + esi - 0xc]
mov cl, byte [edi + eax]
xor byte [eax], cl
inc esi
cmp esi, 8
jl 0x100040b5
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.10003e8c
mov eax, dword [ebp - 0x18]
pop ecx
push 8
pop esi
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x100040d6
mov ecx, dword [ebp - 0x18]
add dword [ebx], 8
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
sub dword [ebp - 0x1c], 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], 0
jne 0x10004091
lea edi, [ebp - 0x14]
sub edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], edi
cmp esi, 8
jge 0x10004123
mov byte [ebp + esi - 0xc], 0
inc esi
inc dword [ebp - 0x20]
cmp esi, 8
jne 0x10004176
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor esi, esi
sub ecx, eax
lea eax, [ebp + esi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc esi
cmp esi, 8
jl 0x1000412f
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.10003e8c
mov eax, dword [ebp - 0x18]
pop ecx
push 8
pop esi
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x10004150
mov ecx, dword [ebp - 0x18]
add dword [ebx], 8
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
sub dword [ebp - 0x24], 8
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 7
jle 0x10004112
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10051861
leave
ret